/* 
    Pomoly - Premium Design System
    Color Palette: Indigo/Purple to Blue Gradients
*/

:root {
    /* Color Tokens - Light Mode */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #3b82f6;
    --accent: #f43f5e;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(226, 232, 240, 0.8);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tabs System */
.timer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    background: var(--background);
    padding: 0.3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nav-tab {
    padding: 0.5rem 0.75rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-muted);
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
}

.nav-tab.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Statistics Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Settings Components */
.settings-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.setting-row span {
    font-weight: 600;
    color: var(--text-main);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background: var(--gradient);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

[data-theme="dark"] {
    --primary: #818cf8;
    --primary-dark: #6366f1;
    --secondary: #60a5fa;
    --accent: #fb7185;
    --background: #0f172a;
    --surface: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(51, 65, 85, 0.8);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

[data-theme="forest"] {
    --primary: #059669;
    --primary-dark: #047857;
    --secondary: #10b981;
    --accent: #d97706;
    --background: #ecfdf5;
    --surface: #ffffff;
    --text-main: #064e3b;
    --text-muted: #374151;
    --gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --font-main: 'Playfair Display', serif;
}

[data-theme="ocean"] {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --background: #ecfeff;
    --surface: #ffffff;
    --text-main: #164e63;
    --text-muted: #4b5563;
    --gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --font-main: 'Inter', sans-serif;
}

[data-theme="cyber"] {
    --primary: #d946ef;
    --primary-dark: #c026d3;
    --secondary: #8b5cf6;
    --accent: #22d3ee;
    --background: #020617;
    --surface: #0f172a;
    --text-main: #f5f3ff;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    --border: #1e293b;
    --font-main: 'JetBrains Mono', monospace;
}

[data-theme="zen"] {
    --primary: #71717a;
    --primary-dark: #52525b;
    --secondary: #a1a1aa;
    --accent: #d4d4d8;
    --background: #fafafa;
    --surface: #ffffff;
    --text-main: #18181b;
    --text-muted: #71717a;
    --gradient: linear-gradient(135deg, #71717a 0%, #a1a1aa 100%);
    --font-main: 'Inter', sans-serif;
}

[data-theme="sunset"] {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #fbbf24;
    --accent: #ef4444;
    --background: #fffbeb;
    --surface: #ffffff;
    --text-main: #78350f;
    --text-muted: #92400e;
    --gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

[data-theme="lavender"] {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary: #a78bfa;
    --accent: #ec4899;
    --background: #f5f3ff;
    --surface: #ffffff;
    --text-main: #4c1d95;
    --text-muted: #6d28d9;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

[data-theme="coffee"] {
    --primary: #92400e;
    --primary-dark: #78350f;
    --secondary: #b45309;
    --accent: #d97706;
    --background: #fff7ed;
    --surface: #fffcf9;
    --text-main: #451a03;
    --text-muted: #92400e;
    --gradient: linear-gradient(135deg, #92400e 0%, #b45309 100%);
    --font-main: 'Lora', serif;
}

[data-theme="nebula"] {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f43f5e;
    --background: #09090b;
    --surface: #18181b;
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --font-main: 'Outfit', sans-serif;
}

[data-theme="gold"] {
    --primary: #b45309;
    --primary-dark: #92400e;
    --secondary: #fbbf24;
    --accent: #1e293b;
    --background: #fffdf5;
    --surface: #ffffff;
    --text-main: #451a03;
    --text-muted: #78350f;
    --gradient: linear-gradient(135deg, #b45309 0%, #fbbf24 100%);
    --font-main: 'Playfair Display', serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main, 'Outfit'), sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-main, 'Outfit'), sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--background);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.lang-selector:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lang-selector select {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    padding-right: 0.5rem;
    outline: none;
    z-index: 2;
}

.lang-selector i {
    font-size: 0.9rem;
    color: var(--primary);
    pointer-events: none;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

#theme-toggle:hover {
    background: var(--border);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Timer Section */
.hero-timer {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05), transparent);
}

.timer-card {
    background: var(--surface);
    border-radius: 32px;
    padding: 2.5rem 1.5rem;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.timer-modes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mode-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    border: none;
    background: var(--border);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
    white-space: nowrap;
}

.mode-btn.active {
    background: var(--primary);
    color: white;
}

.timer-display {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
}

.timer-progress-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.timer-svg {
    transform: rotate(-90deg);
}

.timer-circle-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.timer-circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#session-counter {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.timer-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

#reset-btn {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

#reset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(-45deg);
}

.timer-settings {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 20px;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.setting-group input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-main);
    text-align: center;
    font-weight: 600;
}

/* Sections Styling */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background: radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.03), transparent);
    padding-bottom: 8rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question span {
    flex: 1;
    padding-right: 2rem;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.8;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-answer p {
    overflow: hidden;
}

.faq-item.active {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 2rem 2rem;
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

/* Themes Tab */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.theme-card {
    background: var(--background);
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.theme-card.active {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.theme-preview {
    height: 60px;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.theme-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Footer */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--border);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition);
    margin: 0 !important;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}

.social-link i {
    font-size: 1.1rem;
    line-height: 1;
    display: block;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        color: var(--text-main);
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-btns .btn-primary {
        display: none;
    }

    .timer-card {
        padding: 1.5rem 1rem;
        margin: 1rem auto;
        border-radius: 24px;
        width: 95%;
        max-width: 420px;
        box-sizing: border-box;
    }

    .timer-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.1rem;
        padding: 0.2rem;
        margin-bottom: 2rem;
        width: 100%;
        background: var(--background);
        border-radius: 12px;
    }

    .nav-tab {
        padding: 0.5rem 0.2rem;
        font-size: 0.7rem;
        gap: 0.2rem;
        flex: 1;
        min-width: 0;
        justify-content: center;
        white-space: nowrap;
    }

    .nav-tab i {
        font-size: 0.8rem;
    }

    .timer-modes {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .mode-btn {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
        min-width: 0;
        flex: 1;
        white-space: nowrap;
        text-align: center;
    }

    .timer-display {
        font-size: 4rem;
        margin: 0;
    }
    
    .timer-progress-container {
        width: 260px;
        max-width: 80vw;
        height: 260px;
        max-height: 80vw;
        margin: 0 auto;
    }
    
    .timer-svg {
        width: 100%;
        height: 100%;
    }
    
    .timer-circle-bg, .timer-circle-progress {
        r: 110;
        cx: 130;
        cy: 130;
    }

    .timer-controls {
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .timer-controls .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        flex: 1;
        max-width: 200px;
    }

    #reset-btn {
        width: 54px;
        height: 54px;
        flex-shrink: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* Scroll Top Button */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .article-container {
        padding: 2rem !important;
        border-radius: 24px !important;
    }
    
    .article-container h2 {
        font-size: 2rem !important;
    }
    
    .article-container h3 {
        font-size: 1.5rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .timer-modes {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timer-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-tab {
        width: 100%;
        justify-content: center;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }
}



