/* 🇺🇸 AMERICAN NAMES GENERATOR - ULTIMATE DESIGN 🇺🇸 */

/* ========== IMPORTS & RESET ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0f1c;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* ========== VARIABLES ========== */
:root {
    /* Правильная американская палитра */
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #3182ce;
    --blue-light: #63b3ed;
    --blue-lighter: #90cdf4;
    
    /* Красные акценты */
    --red: #dc143c;
    --red-light: #ff6b88;
    
    /* Нейтральные */
    --dark: #0a0f1c;
    --darker: #050911;
    --gray: #718096;
    --gray-light: #a0aec0;
    --white: #ffffff;
    
    /* Статусные цвета */
    --success: #38a169;
    --warning: #ed8936;
    --error: #e53e3e;
    
    /* Градиенты */
    --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2c5282 25%, #3182ce 50%, #63b3ed 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 54, 93, 0.15), rgba(49, 130, 206, 0.1));
    --gradient-button: linear-gradient(135deg, #3182ce, #2c5282);
    --gradient-accent: linear-gradient(135deg, #63b3ed, #3182ce);
    
    /* Тени */
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(49, 130, 206, 0.4);
    
    /* Переходы */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Радиусы */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* ========== PARTICLES BACKGROUND ========== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a365d 25%, #2c5282 50%, #1a365d 75%, #0a0f1c 100%);
    background-size: 400% 400%;
    animation: gradientMove 25s ease infinite;
}

.particles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(49, 130, 206, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(26, 54, 93, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(99, 179, 237, 0.08) 0%, transparent 50%);
    animation: particleFloat 20s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(20px, -20px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-15px, 15px) rotate(240deg) scale(0.9); }
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease infinite;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 2rem;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: loadingProgress 2s ease infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ========== NAVIGATION ========== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.main-nav.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.brand-icon {
    font-size: 2rem;
    animation: pulse 3s ease infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.nav-link:hover {
    color: var(--blue-light);
    background: rgba(49, 130, 206, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 28, 0.8) 0%,
        rgba(26, 54, 93, 0.4) 50%,
        rgba(10, 15, 28, 0.8) 100%
    );
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-light);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ========== GENERATOR CARD ========== */
.generator-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin: 0 auto 3rem;
    max-width: 700px;
    box-shadow: var(--shadow-strong);
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
}

.generator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
}

.generator-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.generator-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.generator-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.selector-group {
    margin-bottom: 2rem;
}

.selector-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: left;
}

.selector-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.style-btn, .gender-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.style-btn:hover, .gender-btn:hover {
    background: rgba(49, 130, 206, 0.1);
    border-color: var(--accent);
    color: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.style-btn.active, .gender-btn.active {
    background: var(--gradient-button);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.generator-actions {
    text-align: center;
    margin-top: 2.5rem;
}

.generate-btn {
    background: var(--gradient-button);
    border: none;
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.generate-btn:active {
    transform: translateY(-1px);
}

.generator-stats {
    margin-top: 1.5rem;
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* ========== QUICK STATS ========== */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========== RESULTS SECTION ========== */
.results-section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    pointer-events: none;
}

.results-section.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.results-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.name-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.name-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent);
}

.name-card:hover::before {
    transform: scaleX(1);
}

.name-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.name-meaning {
    color: var(--blue-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.name-origin {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.name-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.name-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 100px;
}

.name-action:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    min-width: 140px;
}

.action-btn.primary {
    background: var(--gradient-button);
    color: var(--white);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.danger {
    background: rgba(220, 20, 60, 0.2);
    color: var(--red-light);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ========== SECTIONS STYLING ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== POPULAR SECTION ========== */
.popular-section {
    padding: 6rem 0;
}

.popular-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.tab-btn:hover {
    background: rgba(49, 130, 206, 0.1);
    border-color: var(--accent);
    color: var(--blue-light);
}

.tab-btn.active {
    background: var(--gradient-button);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.popular-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.popular-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.popular-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.popular-meaning {
    color: var(--blue-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.popular-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 30px;
}

/* ========== STYLES SECTION ========== */
.styles-section {
    padding: 6rem 0;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.style-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.style-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.style-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent);
}

.style-card:hover::before {
    transform: scaleX(1);
}

.style-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.style-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.style-card p {
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.style-examples {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.style-examples span {
    background: var(--gradient-button);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== HISTORY SECTION ========== */
.history-section {
    padding: 6rem 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--gradient-button);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-btn {
    background: var(--gradient-button);
    border: none;
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-button);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .generator-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem;
    }
    
    .selector-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .names-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .styles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .generator-card {
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .popular-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
}
