/* 홈 화면 전용 스타일 */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-emoji {
    font-size: 72px;
    margin-bottom: 20px;
    display: block;
}

.hero-icon {
    width: 200px;
    height: 100px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* Search Section */
.search-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.search-box input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.search-box button {
    padding: 16px 32px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #5568d3;
}

/* Type Section */
.type-section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.type-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.type-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.type-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.type-button.LINEAR {
    border-color: #1976d2;
}

.type-button.LINEAR:hover {
    background: #e3f2fd;
    border-color: #1565c0;
}

.type-button.TACTILE {
    border-color: #7b1fa2;
}

.type-button.TACTILE:hover {
    background: #f3e5f5;
    border-color: #6a1b9a;
}

.type-button.CLICKY {
    border-color: #f57c00;
}

.type-button.CLICKY:hover {
    background: #fff3e0;
    border-color: #ef6c00;
}

.type-button.SILENT {
    border-color: #388e3c;
}

.type-button.SILENT:hover {
    background: #e8f5e9;
    border-color: #2e7d32;
}

.type-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.type-count {
    font-size: 14px;
    color: #666;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
}

.stats-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* View All Button */
.view-all-section {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 반응형 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-emoji {
        font-size: 48px;
    }

    .search-box {
        flex-direction: column;
    }

    .type-buttons {
        grid-template-columns: 1fr;
    }
}
