/* --- 1. HỆ THỐNG MÀU & BIẾN (THEME SYSTEM) --- */
:root {
    /* Light Theme Defaults */
    --bg-body: #ffffff;
    --text-main: #1d1d1d;
    --text-sub: #666666;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-bg: #f5f5f7;
    --card-hover: #ffffff;
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    --btn-bg: #1d1d1d;
    --btn-text: #ffffff;
    --accent-gradient: linear-gradient(90deg, #8E2DE2, #4A00E0);
    --hero-overlay: rgba(255, 255, 255, 0.6);
    --motion-duration: 0.8s;
    --motion-ease: cubic-bezier(0.2, 0.65, 0.2, 1);
    --section-padding: clamp(3rem, 6vw, 6rem);
    --section-padding-compact: clamp(2.5rem, 5vw, 4rem);
    --content-max: 1200px;
}

[data-theme="dark"] {
    /* Dark Theme Overrides */
    --bg-body: #0a0a0a;
    --text-main: #f5f5f7;
    --text-sub: #a1a1aa;
    --glass-bg: rgba(20, 20, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #1c1c1e;
    --card-hover: #2c2c2e;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-strong: rgba(0, 0, 0, 0.7);
    --btn-bg: #ffffff;
    --btn-text: #000000;
    --hero-overlay: rgba(0, 0, 0, 0.7);
}

/* --- 2. GLOBAL RESET & LAYOUT --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-size: clamp(0.95rem, 0.35vw + 0.85rem, 1.05rem);
    transition: background 0.4s ease, color 0.4s ease, opacity 0.2s ease;
    scroll-behavior: smooth;
}

/* --- 3. HEADER GLASSMORPHISM --- */
header {
    padding: 1rem clamp(1rem, 4vw, 3.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    box-shadow: 0 4px 30px var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    gap: 1.5rem;
}

.logo {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item--secondary {
    display: inline-flex;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-sub);
}

/* Theme Switch Button Styling */
.theme-switch {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    transition: all 0.3s ease;
}
.theme-switch:hover {
    background: var(--card-bg);
    transform: rotate(15deg);
}

/* Language Switch Button Text */
.lang-switch {
    width: auto;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    gap: 6px;
    font-weight: 600;
}
.lang-switch .lang-label-en,
.lang-switch .lang-label-vi {
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}
.lang-switch:hover {
    transform: translateY(-1px);
}

body.lang-transition {
    opacity: 0.7;
}

/* --- 4. HERO SECTION --- */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem) clamp(5.5rem, 12vw, 9rem);
    text-align: center;
    color: #1d1d1d;
    position: relative;
    background-image: url('public/bg1.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hero-overlay);
    backdrop-filter: blur(2px);
    z-index: 1;
    transition: background 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: clamp(0.85rem, 0.5vw + 0.6rem, 1rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-sub);
    margin-bottom: 1rem;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.hero-name {
    font-size: clamp(2.2rem, 4.5vw + 1rem, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.hero-tagline {
    font-size: clamp(1rem, 1.2vw + 0.65rem, 1.25rem);
    margin-bottom: 2rem;
    color: var(--text-sub);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: clamp(0.8rem, 0.4vw + 0.6rem, 0.95rem);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.badge.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.ghost-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: clamp(0.95rem, 0.5vw + 0.7rem, 1.05rem);
    transition: all 0.3s ease;
}

.ghost-button:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-strong);
}


[data-theme="dark"] .hero-name,
[data-theme="dark"] .hero-tagline {
    color: #ffffff;
}

.hero-name {
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}

.hero-tagline {
    max-width: 680px;
    margin-left: auto; margin-right: auto;
}

[data-theme="dark"] .hero-tagline { color: #cccccc; }

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--btn-bg);
    border: none;
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: clamp(0.95rem, 0.5vw + 0.7rem, 1.05rem);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-strong);
    opacity: 0.9;
}

/* --- 5. PORTFOLIO SECTION --- */
.portfolio {
    padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
    background: var(--bg-body);
    transition: background 0.3s ease;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.section-title {
    text-align: center;
    color: var(--text-main);
    font-size: clamp(1.9rem, 3vw + 0.9rem, 2.8rem);
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.section-lead {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: var(--text-sub);
    font-size: clamp(0.95rem, 0.7vw + 0.7rem, 1.1rem);
    line-height: 1.8;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.section-note {
    text-align: center;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 0.4vw + 0.6rem, 0.9rem);
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: min(var(--content-max), 100%);
    margin: 0 auto;
}

.portfolio-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(142, 45, 226, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover {
    background: var(--card-hover);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card-content { position: relative; z-index: 2; }
.portfolio-card h3 { color: var(--text-main); font-size: clamp(1.15rem, 0.9vw + 0.8rem, 1.35rem); margin-bottom: 0.8rem; font-weight: 600; }
.portfolio-card p { color: var(--text-sub); line-height: 1.7; font-size: clamp(0.9rem, 0.45vw + 0.7rem, 1rem); margin-bottom: 1.2rem; }

.project-card h3 {
    font-size: clamp(1.2rem, 1vw + 0.9rem, 1.4rem);
}

.project-subtitle {
    color: var(--text-main);
    font-weight: 600;
}

.project-meta {
    color: var(--text-sub);
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
    margin-bottom: 0.9rem;
}

.project-list {
    margin: 0 0 1.2rem;
    padding-left: 1.2rem;
    color: var(--text-sub);
    line-height: 1.7;
    font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
}

.project-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-link:hover {
    color: var(--text-sub);
    transform: translateY(-2px);
}

/* --- 6. PARALLAX DIVIDER --- */
.parallax-divider {
    background-image: url('public/bg2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center; justify-content: center;
    position: relative;
}

.parallax-divider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.parallax-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

/* --- 7. SKILLS SECTION --- */
.skills {
    padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
    background: var(--card-bg);
    transition: background 0.3s ease;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: min(1100px, 100%);
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.skill-card {
    background: var(--bg-body);
    border-radius: 14px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border: 1px solid var(--glass-border);
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
    min-width: 0;
}

.skill-card:hover {
    border-color: #d5d5d7;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.skill-name {
    color: var(--text-main);
    font-size: clamp(0.95rem, 0.6vw + 0.6rem, 1.05rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.arsenal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-sub);
    font-size: 0.95rem;
}

.arsenal-list li {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact {
    padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
    position: relative; /* Để neo giữ lớp giả ::before */
    overflow: hidden; /* Cắt bỏ phần dư của ảnh nền */
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

/* Nền GIF */
.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    
    /* GIF URL */
    background-image: url('public/bg3.gif');
    
    /* Parallax Effect */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* Blur & Darken Effect */
    filter: blur(4.4px) brightness(0.6); 
    transform: scale(1.01);
    z-index: 0; /* Nằm dưới cùng */
    pointer-events: none;
}

.contact-container {
    max-width: min(520px, 100%);
    margin: 0 auto;
    text-align: center;
    
    /* Glass Effect (Giữ nguyên để nổi bật trên nền GIF) */
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px 0 var(--shadow-strong);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);

    position: relative; /* Đẩy lên trên lớp nền */
    z-index: 1; 
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.contact-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: var(--bg-body);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-strong);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    font-weight: 600;
    letter-spacing: 0.01em;
}


/* --- 9. FOOTER --- */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--glass-border);
    padding: var(--section-padding-compact) clamp(1rem, 5vw, 4rem);
    text-align: center;
    color: var(--text-sub);
    transition: background 0.3s ease;
    position: relative; z-index: 1; /* Đảm bảo footer đè lên nền nếu có lỗi */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--bg-body);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px; height: 22px;
    fill: currentColor;
}

.social-link:hover {
    background: var(--text-main);
    color: var(--bg-body);
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

footer p { font-size: clamp(0.85rem, 0.4vw + 0.7rem, 1rem); }

.about,
.experience,
.education {
    padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.timeline {
    max-width: min(900px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--shadow);
}

.timeline-period {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-list {
    padding-left: 1.2rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: min(1000px, 100%);
    margin: 0 auto;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp var(--motion-duration) var(--motion-ease);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--shadow);
}

.education-period {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin: 0.4rem 0 1rem;
}

.education-focus {
    color: var(--text-sub);
}

.education-list {
    padding-left: 1.2rem;
    color: var(--text-sub);
    line-height: 1.7;
}

/* --- ANIMATIONS & MEDIA QUERIES --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 3%;
        justify-content: flex-end;
    }
    .logo { display: none; }
    nav { width: 100%; }
    nav ul {
        gap: 0.6rem;
        justify-content: flex-end;
    }
    nav ul li { display: none; }
    nav ul li.nav-item--toggle { display: flex; }
    nav a { font-size: 0.85rem; }
    .hero { padding: 4rem 3% 5rem; }
    .hero-content h1 { font-size: 2.2rem; margin-bottom: 1rem; }
    .portfolio, .skills, .contact { padding: 3rem 3%; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .skills-grid { grid-template-columns: 1fr; gap: 1rem; }
    footer { padding: 2rem 3%; }
    .hero-name { font-size: 2.6rem; }
    .hero { background-attachment: scroll; }
    .parallax-divider { background-attachment: scroll; }
    .contact::before { background-attachment: scroll; }
}
@media (max-width: 480px) {
    nav ul { gap: 0.8rem; flex-wrap: wrap; justify-content: center;}
    .hero-content h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.6rem; }
    .contact-container { padding: 2rem 1.5rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .lang-switch { padding: 0 10px; }
    .hero-actions { gap: 0.7rem; }
    .logo { font-size: 1.2rem; }
    .skill-card { padding: 1.5rem; }
}

@media (max-width: 600px) {
    .music-widget {
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        padding: 10px 14px;
        gap: 10px;
    }

    .music-info {
        margin-right: 6px;
    }

    .song-title {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 900px) {
    header {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    nav {
        width: 100%;
    }

    nav ul {
        gap: 0.75rem 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item--secondary {
        display: none;
    }
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* --- MUSIC WIDGET FIX --- */
.music-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease 1s forwards;
    opacity: 0;
    transform: translateX(-50px);
    pointer-events: auto; 
    cursor: default;
}

[data-theme="dark"] .music-widget {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-disc {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1d1d1d, #444);
    position: relative;
    border: 2px solid var(--text-main);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.music-center {
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
}

.music-disc.playing { animation: spin 3s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }

.music-info { display: flex; flex-direction: column; margin-right: 10px; }
.song-title { font-size: 0.85rem; font-weight: 700; color: var(--text-main); white-space: nowrap; }
.artist-name { font-size: 0.7rem; color: var(--text-sub); }

.control-btn {
    background: transparent; border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10000;
    touch-action: manipulation;
}
.control-btn:hover { background: rgba(0,0,0,0.1); transform: scale(1.1); }
[data-theme="dark"] .control-btn:hover { background: rgba(255,255,255,0.1); }
