﻿:root {
    /* === BACKGROUNDS === */
    --bg-dark: #111827;
    --bg-card: rgba(30, 41, 59, 0.92);
    --bg-elevated: rgba(40, 52, 75, 0.95);
    --glass: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.20);
    --glass-hover: rgba(255, 255, 255, 0.15);

    /* === GOLD === */
    --gold: #ffd700;
    --gold-dim: #c9950e;
    --gold-glow: rgba(255, 215, 0, 0.18);
    --gold-bright: #ffe566;

    /* === ACCENT COLORS (slightly brighter) === */
    --purple: #a78bfa;
    --blue: #60a5fa;
    --teal: #2dd4bf;
    --emerald: #34d399;
    --rose: #fb7185;

    /* === TEXT (improved contrast) === */
    --text: #e2e8f0;
    --text-dim: #b4c5d9;
    --text-muted: #7890a8;

    /* Aliases for JS-generated HTML compatibility */
    --bg-secondary: var(--bg-card);
    --bg-primary: var(--bg-dark);
    --text-primary: var(--text);
    --text-secondary: var(--text-dim);
    --accent-gold: var(--gold);
    --accent-green: var(--emerald);
    --accent-red: var(--rose);
    --accent-blue: var(--blue);
    --highlight-word: rgba(52, 211, 153, 0.25);
}

/* LIGHT THEME */
[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.95);
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-hover: rgba(0, 0, 0, 0.06);

    --gold: #b8860b;
    --gold-dim: #8b6914;
    --gold-glow: rgba(184, 134, 11, 0.2);
    --gold-bright: #d4a017;

    --text: #1e293b;
    --text-dim: #475569;
    --text-muted: #64748b;

    --bg-secondary: #ffffff;
    --bg-primary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --accent-blue: #1d72e8;
    --highlight-word: rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .bg-cosmic {
    background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%) !important;
}

[data-theme="light"] .glow-orb {
    opacity: 0.15 !important;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .secondary-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(180deg, #1e293b 0%, #475569 100%) !important;
    -webkit-background-clip: text !important;
}

[data-theme="light"] .info-panel {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .param-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] footer {
    background: rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] code {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

/* ═══════════════════════════════════════════
   TEMA: EL YAZMASI (Açık Parşömen — İslami Hat Sanatı)
   Parşömen zemin · Klasik serif · EB Garamond + Noto Naskh
═══════════════════════════════════════════ */
[data-theme="el-yazmasi"] {
    --bg-dark: #f5edd6;
    --bg-card: #fdf6e3;
    --bg-elevated: #f0e4c4;
    --glass: rgba(140, 90, 30, 0.06);
    --glass-border: rgba(140, 90, 30, 0.25);
    --glass-hover: rgba(140, 90, 30, 0.1);

    --gold: #8b4513;
    --gold-dim: #5c2d0a;
    --gold-glow: rgba(139, 69, 19, 0.2);
    --gold-bright: #c87941;

    --purple: #7b241c;
    --blue: #1a5276;
    --teal: #145a32;
    --emerald: #196f3d;
    --rose: #922b21;

    --text: #2c1a0e;
    --text-dim: #5c3d1e;
    --text-muted: #8c6020;

    --bg-secondary: #f0e4c4;
    --bg-primary: #f5edd6;
    --text-primary: #2c1a0e;
    --text-secondary: #5c3d1e;
    --accent-gold: #8b4513;
    --accent-green: #196f3d;
    --accent-red: #922b21;
    --accent-blue: #1a5276;
    --highlight-word: rgba(25, 111, 61, 0.2);
}

[data-theme="el-yazmasi"] body {
    font-family: 'EB Garamond', 'Georgia', serif !important;
    font-size: 18px !important;
    background: #f5edd6 !important;
    color: #2c1a0e !important;
}


[data-theme="el-yazmasi"] .bg-cosmic {
    background: linear-gradient(180deg, #f5edd6 0%, #ede0b8 100%) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E") !important;
}

[data-theme="el-yazmasi"] .stars {
    opacity: 0 !important;
}

[data-theme="el-yazmasi"] .glow-orb {
    opacity: 0 !important;
}

[data-theme="el-yazmasi"] .navbar {
    background: #2c1a0e !important;
    border-bottom: 3px solid #8b4513 !important;
    box-shadow: 0 4px 20px rgba(44, 26, 14, 0.4) !important;
}

[data-theme="el-yazmasi"] .logo-icon {
    background: linear-gradient(135deg, #8b4513, #5c2d0a) !important;
    border-radius: 50% !important;
    border: 2px solid #c87941 !important;
    box-shadow: none !important;
    font-family: 'Amiri', serif !important;
}

[data-theme="el-yazmasi"] .logo-text {
    font-family: 'Lora', 'Georgia', serif !important;
    color: #f5edd6 !important;
    -webkit-text-fill-color: #f5edd6 !important;
    background: none !important;
    font-style: italic;
    letter-spacing: 0.03em;
}

[data-theme="el-yazmasi"] .nav-link {
    font-family: 'EB Garamond', serif !important;
    font-size: 1.2rem !important;
    color: #d4b896 !important;
    letter-spacing: 0.03em;
}

[data-theme="el-yazmasi"] .nav-link:hover,
[data-theme="el-yazmasi"] .nav-link.active {
    color: #f5edd6 !important;
}

[data-theme="el-yazmasi"] .nav-link::after {
    background: #c87941 !important;
}

[data-theme="el-yazmasi"] .secondary-nav {
    background: #f0e4c4 !important;
    border-bottom: 1px solid #8b4513 !important;
    border-top: 1px solid rgba(139, 69, 19, 0.3) !important;
}

[data-theme="el-yazmasi"] .category-tab {
    font-family: 'EB Garamond', serif !important;
    font-size: 1.05rem !important;
    border-radius: 2px !important;
    color: #5c3d1e !important;
}

[data-theme="el-yazmasi"] .category-tab.active {
    background: rgba(139, 69, 19, 0.12) !important;
    border-color: rgba(139, 69, 19, 0.4) !important;
    color: #5c2d0a !important;
    box-shadow: none !important;
}

[data-theme="el-yazmasi"] .hero {
    position: relative;
}

[data-theme="el-yazmasi"] .hero::before {
    content: '\FDFD';
    display: block;
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    font-size: 2.8rem;
    color: #8b4513;
    margin-bottom: 16px;
    text-align: center;
}

[data-theme="el-yazmasi"] .hero h1 {
    font-family: 'Lora', serif !important;
    font-style: italic !important;
    background: none !important;
    -webkit-text-fill-color: #2c1a0e !important;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
    font-size: clamp(2rem, 5vw, 4rem) !important;
}

[data-theme="el-yazmasi"] .hero h1 span {
    background: none !important;
    -webkit-text-fill-color: #8b4513 !important;
    filter: none !important;
}

[data-theme="el-yazmasi"] .hero p {
    font-family: 'EB Garamond', serif !important;
    font-size: 1.35rem !important;
    color: #5c3d1e !important;
}

[data-theme="el-yazmasi"] .hero-badge {
    background: rgba(139, 69, 19, 0.1) !important;
    border: 1px solid rgba(139, 69, 19, 0.35) !important;
    border-radius: 2px !important;
    animation: none !important;
    color: #5c2d0a !important;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    letter-spacing: 0.05em;
}

[data-theme="el-yazmasi"] .info-panel {
    background: #fdf6e3 !important;
    border: 1px solid rgba(139, 69, 19, 0.3) !important;
    border-radius: 4px !important;
    box-shadow: 2px 2px 12px rgba(44, 26, 14, 0.1), inset 0 0 0 6px rgba(139, 69, 19, 0.04) !important;
    position: relative;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .info-panel::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

[data-theme="el-yazmasi"] .info-panel h3 {
    font-family: 'Lora', serif !important;
    font-style: italic !important;
    font-size: 1.3rem !important;
    color: #5c2d0a !important;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
    padding-bottom: 12px;
}

[data-theme="el-yazmasi"] .param-card {
    background: rgba(240, 228, 196, 0.7) !important;
    border: 1px solid rgba(139, 69, 19, 0.2) !important;
    border-radius: 4px !important;
    box-shadow: 1px 1px 4px rgba(44, 26, 14, 0.08) !important;
}

[data-theme="el-yazmasi"] .param-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 2px 4px 12px rgba(44, 26, 14, 0.15) !important;
    border-color: rgba(139, 69, 19, 0.4) !important;
}

[data-theme="el-yazmasi"] .param-card-title {
    color: #2c1a0e !important;
    font-size: 1rem !important;
}

[data-theme="el-yazmasi"] .param-card-value {
    background: none !important;
    -webkit-text-fill-color: #8b4513 !important;
    font-size: 2.2rem !important;
    font-family: 'EB Garamond', serif !important;
    font-weight: 700;
}

[data-theme="el-yazmasi"] .param-card-formula {
    color: #8c6020 !important;
}

[data-theme="el-yazmasi"] .btn {
    border: 1px solid rgba(139, 69, 19, 0.35) !important;
    border-radius: 3px !important;
    background: rgba(240, 228, 196, 0.6) !important;
    color: #2c1a0e !important;
    font-family: 'EB Garamond', serif !important;
    font-size: 1.15rem !important;
}

[data-theme="el-yazmasi"] .btn:hover {
    background: rgba(139, 69, 19, 0.1) !important;
    border-color: #8b4513 !important;
}

[data-theme="el-yazmasi"] .btn-primary {
    background: #8b4513 !important;
    color: #fdf6e3 !important;
    border-color: #5c2d0a !important;
}

[data-theme="el-yazmasi"] .btn-primary:hover {
    background: #5c2d0a !important;
    box-shadow: 2px 2px 8px rgba(44, 26, 14, 0.3) !important;
    transform: none !important;
}

[data-theme="el-yazmasi"] .quran-box {
    background: #f5edd6 !important;
    border: 2px solid rgba(139, 69, 19, 0.25) !important;
    box-shadow: inset 0 0 0 6px rgba(139, 69, 19, 0.06) !important;
    color: #2c1a0e !important;
    border-radius: 4px !important;
    font-family: 'Noto Naskh Arabic', 'Amiri', serif !important;
}

[data-theme="el-yazmasi"] .stat-card {
    background: rgba(240, 228, 196, 0.7) !important;
    border: 1px solid rgba(139, 69, 19, 0.2) !important;
    border-radius: 4px !important;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .message-card {
    border: 1px solid rgba(139, 69, 19, 0.15) !important;
    background: rgba(240, 228, 196, 0.4) !important;
    border-radius: 4px !important;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .resource-card {
    border: 1px solid rgba(139, 69, 19, 0.2) !important;
    background: rgba(240, 228, 196, 0.5) !important;
    border-radius: 4px !important;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .resource-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 2px 4px 16px rgba(44, 26, 14, 0.15) !important;
}

[data-theme="el-yazmasi"] footer {
    background: #2c1a0e !important;
    border-top: 3px solid #8b4513 !important;
    color: #d4b896 !important;
}

[data-theme="el-yazmasi"] footer a {
    color: #c87941 !important;
}

[data-theme="el-yazmasi"] code {
    background: rgba(139, 69, 19, 0.1) !important;
    color: #5c2d0a !important;
}

/* ═══════════════════════════════════════════
   TEMA: DERİN OKYANUS (Bioluminescent Deep Sea)
   Koyu lacivert · Cyan biyolüminesans glow
═══════════════════════════════════════════ */
[data-theme="derin-okyanus"] {
    --bg-dark: #010e1a;
    --bg-card: rgba(0, 30, 50, 0.85);
    --bg-elevated: rgba(0, 20, 38, 0.95);
    --glass: rgba(0, 200, 180, 0.06);
    --glass-border: rgba(0, 220, 200, 0.2);
    --glass-hover: rgba(0, 220, 200, 0.1);

    --gold: #00e5cc;
    --gold-dim: #00b09c;
    --gold-glow: rgba(0, 229, 204, 0.2);
    --gold-bright: #66f0e0;

    --purple: #4488ff;
    --blue: #0088ff;
    --teal: #00cc88;
    --emerald: #00ff99;
    --rose: #ff4488;

    --text: #c8f0ec;
    --text-dim: #80c8c0;
    --text-muted: #408888;

    --bg-secondary: rgba(0, 25, 42, 0.9);
    --bg-primary: #010e1a;
    --text-primary: #c8f0ec;
    --text-secondary: #80c8c0;
    --accent-gold: #00e5cc;
    --accent-green: #00ff99;
    --accent-red: #ff4488;
    --accent-blue: #0088ff;
    --highlight-word: rgba(0, 255, 150, 0.2);
}

[data-theme="derin-okyanus"] body {
    background: #010e1a !important;
}

[data-theme="derin-okyanus"] .bg-cosmic {
    background:
        radial-gradient(ellipse 30% 20% at 10% 85%, rgba(0, 200, 180, 0.14), transparent),
        radial-gradient(ellipse 20% 15% at 90% 60%, rgba(0, 150, 255, 0.1), transparent),
        radial-gradient(ellipse 25% 18% at 50% 95%, rgba(0, 255, 150, 0.08), transparent),
        linear-gradient(180deg, #010e1a 0%, #021828 60%, #011420 100%) !important;
    animation: oceanPulse 8s ease-in-out infinite alternate;
}

@keyframes oceanPulse {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

[data-theme="derin-okyanus"] .glow-orb-1 {
    background: radial-gradient(circle, rgba(0, 229, 204, 0.2) 0%, transparent 70%) !important;
}

[data-theme="derin-okyanus"] .glow-orb-2 {
    background: radial-gradient(circle, rgba(0, 100, 220, 0.15) 0%, transparent 70%) !important;
}

[data-theme="derin-okyanus"] .glow-orb-3 {
    background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, transparent 70%) !important;
}

[data-theme="derin-okyanus"] .navbar {
    background: rgba(0, 12, 24, 0.92) !important;
    border-bottom: 1px solid rgba(0, 229, 204, 0.2) !important;
    box-shadow: 0 4px 30px rgba(0, 229, 204, 0.06) !important;
}

[data-theme="derin-okyanus"] .logo-icon {
    background: linear-gradient(135deg, rgba(0, 180, 160, 0.5), rgba(0, 100, 200, 0.4)) !important;
    border: 1px solid rgba(0, 229, 204, 0.5) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.5), 0 0 40px rgba(0, 229, 204, 0.15) !important;
}

[data-theme="derin-okyanus"] .logo-text {
    font-family: 'Cinzel Decorative', serif !important;
    font-size: 0.9rem !important;
    background: linear-gradient(135deg, #00e5cc, #66f0e0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 6px rgba(0, 229, 204, 0.5));
}

[data-theme="derin-okyanus"] .nav-link:hover,
[data-theme="derin-okyanus"] .nav-link.active {
    color: #00e5cc !important;
    text-shadow: 0 0 8px rgba(0, 229, 204, 0.5);
}

[data-theme="derin-okyanus"] .secondary-nav {
    background: rgba(0, 10, 22, 0.95) !important;
    border-bottom: 1px solid rgba(0, 229, 204, 0.12) !important;
}

[data-theme="derin-okyanus"] .hero h1 {
    background: linear-gradient(135deg, #c8f0ec, #66f0e0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="derin-okyanus"] .hero h1 span {
    background: linear-gradient(135deg, #00e5cc, #0088ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 15px rgba(0, 229, 204, 0.6)) !important;
}

[data-theme="derin-okyanus"] .hero-badge {
    border: 1px solid rgba(0, 229, 204, 0.4) !important;
    background: rgba(0, 229, 204, 0.08) !important;
    color: #00e5cc !important;
    box-shadow: 0 0 12px rgba(0, 229, 204, 0.2) !important;
    animation: none !important;
}

[data-theme="derin-okyanus"] .info-panel {
    background: rgba(0, 25, 45, 0.8) !important;
    border: 1px solid rgba(0, 229, 204, 0.2) !important;
    box-shadow: 0 0 30px rgba(0, 229, 204, 0.05), inset 0 0 60px rgba(0, 100, 180, 0.03) !important;
}

[data-theme="derin-okyanus"] .info-panel h3 {
    color: #00e5cc !important;
    text-shadow: 0 0 8px rgba(0, 229, 204, 0.4);
}

[data-theme="derin-okyanus"] .param-card {
    background: rgba(0, 28, 52, 0.75) !important;
    border: 1px solid rgba(0, 229, 204, 0.15) !important;
}

[data-theme="derin-okyanus"] .param-card.active {
    background: rgba(0, 40, 70, 0.85) !important;
    border-color: rgba(0, 229, 204, 0.4) !important;
    box-shadow: 0 0 25px rgba(0, 229, 204, 0.2) !important;
}

[data-theme="derin-okyanus"] .param-card-value {
    background: linear-gradient(135deg, #66f0e0, #00e5cc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 5px rgba(0, 229, 204, 0.4));
}

[data-theme="derin-okyanus"] .category-tab.active {
    background: linear-gradient(135deg, rgba(0, 229, 204, 0.15), transparent) !important;
    border-color: rgba(0, 229, 204, 0.4) !important;
    color: #00e5cc !important;
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.2) !important;
}

[data-theme="derin-okyanus"] footer {
    background: rgba(0, 6, 14, 0.98) !important;
    border-top: 1px solid rgba(0, 229, 204, 0.2) !important;
}

/* ═══════════════════════════════════════════
   TEMA: STEAMPUNK / VİKTORYA  
   Koyu kahve · Bakır & Pirinç · Mekanik
═══════════════════════════════════════════ */
[data-theme="steampunk"] {
    --bg-dark: #1a100a;
    --bg-card: rgba(42, 28, 18, 0.92);
    --bg-elevated: rgba(52, 36, 22, 0.95);
    --glass: rgba(184, 115, 51, 0.08);
    --glass-border: rgba(184, 115, 51, 0.3);
    --glass-hover: rgba(184, 115, 51, 0.15);

    --gold: #d4af37;
    --gold-dim: #b87333;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --gold-bright: #e8c84a;

    --purple: #8b7355;
    --blue: #5c7a9b;
    --teal: #6b9080;
    --emerald: #6b8c5a;
    --rose: #8b2500;

    --text: #e8d5b0;
    --text-dim: #c0a878;
    --text-muted: #806040;

    --bg-secondary: rgba(42, 28, 18, 0.92);
    --bg-primary: #1a100a;
    --text-primary: #e8d5b0;
    --text-secondary: #c0a878;
    --accent-gold: #d4af37;
    --accent-green: #6b8c5a;
    --accent-red: #8b2500;
    --accent-blue: #5c7a9b;
    --highlight-word: rgba(107, 140, 90, 0.3);
}

[data-theme="steampunk"] body {
    font-family: 'Lora', 'Georgia', serif !important;
    background: #1a100a !important;
}

[data-theme="steampunk"] .bg-cosmic {
    background:
        radial-gradient(ellipse 50% 40% at 30% 30%, rgba(184, 115, 51, 0.15), transparent),
        radial-gradient(ellipse 40% 50% at 80% 70%, rgba(212, 175, 55, 0.1), transparent),
        linear-gradient(180deg, #1a100a 0%, #150d06 100%) !important;
    /* Subtle gear pattern */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='36' fill='none' stroke='rgba(184,115,51,0.04)' stroke-width='1.5'/%3E%3Ccircle cx='40' cy='40' r='24' fill='none' stroke='rgba(184,115,51,0.03)' stroke-width='1'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #1a100a 0%, #150d06 100%) !important;
    background-size: 80px 80px, 100% 100% !important;
}

[data-theme="steampunk"] .stars {
    opacity: 0 !important;
}

[data-theme="steampunk"] .glow-orb-1 {
    background: radial-gradient(circle, rgba(184, 115, 51, 0.15) 0%, transparent 70%) !important;
}

[data-theme="steampunk"] .glow-orb-2 {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%) !important;
}

[data-theme="steampunk"] .glow-orb-3 {
    background: radial-gradient(circle, rgba(184, 115, 51, 0.08) 0%, transparent 70%) !important;
}

[data-theme="steampunk"] .navbar {
    background: #0e0805 !important;
    border-bottom: 2px solid rgba(184, 115, 51, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 0 rgba(212, 175, 55, 0.15) !important;
}

[data-theme="steampunk"] .logo-icon {
    background: radial-gradient(circle, #c17f24, #8b5420) !important;
    border: 2px solid #d4af37 !important;
    border-radius: 6px !important;
    font-family: 'Amiri', serif !important;
    box-shadow: 0 0 12px rgba(184, 115, 51, 0.5), inset 0 1px 0 rgba(255, 220, 100, 0.25) !important;
}

[data-theme="steampunk"] .logo-text {
    font-family: 'Playfair Display', 'Georgia', serif !important;
    font-style: italic !important;
    background: linear-gradient(135deg, #d4af37, #b87333, #d4956a) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: 0.04em;
}

[data-theme="steampunk"] .nav-link {
    font-family: 'Lora', serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.04em;
}

[data-theme="steampunk"] .nav-link:hover,
[data-theme="steampunk"] .nav-link.active {
    color: #d4af37 !important;
}

[data-theme="steampunk"] .nav-link::after {
    background: #b87333 !important;
}

[data-theme="steampunk"] .secondary-nav {
    background: #1a100a !important;
    border-bottom: 2px solid rgba(184, 115, 51, 0.3) !important;
}

[data-theme="steampunk"] .hero h1 {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    background: linear-gradient(135deg, #e8d5b0, #d4af37) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="steampunk"] .hero h1 span {
    background: linear-gradient(135deg, #d4af37, #b87333) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}

[data-theme="steampunk"] .hero p {
    font-family: 'Lora', serif !important;
}

[data-theme="steampunk"] .hero-badge {
    background: rgba(184, 115, 51, 0.1) !important;
    border: 1px solid rgba(184, 115, 51, 0.4) !important;
    color: #d4af37 !important;
    border-radius: 4px !important;
    animation: none !important;
    font-family: 'Lora', serif;
    font-style: italic;
}

[data-theme="steampunk"] .info-panel {
    background: #251810 !important;
    border: 1px solid rgba(184, 115, 51, 0.35) !important;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 220, 100, 0.04) !important;
}

[data-theme="steampunk"] .info-panel h3 {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    color: #d4af37 !important;
    border-bottom: 1px solid rgba(184, 115, 51, 0.25);
    padding-bottom: 8px;
}

[data-theme="steampunk"] .param-card {
    background: #201408 !important;
    border: 1px solid rgba(184, 115, 51, 0.22) !important;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="steampunk"] .param-card.active {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.12), rgba(139, 84, 32, 0.08)) !important;
    border-color: rgba(184, 115, 51, 0.5) !important;
    box-shadow: 0 0 20px rgba(184, 115, 51, 0.15) !important;
}

[data-theme="steampunk"] .param-card-value {
    background: linear-gradient(135deg, #d4af37, #b87333) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="steampunk"] .category-tab.active {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.2), transparent) !important;
    border-color: rgba(184, 115, 51, 0.4) !important;
    color: #d4af37 !important;
    box-shadow: inset 0 1px 0 rgba(255, 220, 100, 0.1) !important;
}

[data-theme="steampunk"] footer {
    background: #0e0805 !important;
    border-top: 2px solid rgba(184, 115, 51, 0.4) !important;
}

/* ═══════════════════════════════════════════
   TEMA SEÇİCİ PANEL — Floating Button & Dropdown
═══════════════════════════════════════════ */
#theme-switcher-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    line-height: 1;
}

#theme-switcher-btn:hover {
    background: var(--glass-hover);
    border-color: var(--gold);
    color: var(--gold);
}

#theme-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-elevated, rgba(20, 20, 35, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    z-index: 2000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

#theme-dropdown.open {
    display: flex;
}

.theme-option-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 0.88rem;
    text-align: left;
    width: 100%;
    transition: all 0.2s;
    font-family: inherit;
}

.theme-option-btn:hover {
    background: var(--glass);
    border-color: var(--glass-border);
}

.theme-option-btn.active-theme {
    background: var(--glass);
    border-color: var(--gold);
    color: var(--gold);
}

.theme-option-btn .theme-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-option-label {
    flex: 1;
    font-weight: 500;
}

.theme-option-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

#theme-switcher-wrapper {
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ═══════════════════════════════════════════
           ANIMATED COSMIC BACKGROUND
        ═══════════════════════════════════════════ */
.bg-cosmic {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(167, 139, 250, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(96, 165, 250, 0.18), transparent),
        radial-gradient(ellipse 40% 60% at 0% 80%, rgba(45, 212, 191, 0.15), transparent),
        linear-gradient(180deg, #111827 0%, #1a2235 50%, #111827 100%);
}

.stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 215, 0, 0.6), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 160px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 370px 50px, white, transparent),
        radial-gradient(2px 2px at 450px 200px, rgba(255, 215, 0, 0.5), transparent);
    background-repeat: repeat;
    background-size: 500px 300px;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
    top: 40%;
    right: -50px;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

/* ═══════════════════════════════════════════
           BODY OFFSET FOR FIXED NAVBAR
        ═══════════════════════════════════════════ */
body {
    padding-top: 70px;
}

/* ═══════════════════════════════════════════
           NAVIGATION
        ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 30px var(--gold-glow);
}

.logo-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dim));
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ═══════════════════════════════════════════
           HERO SECTION
        ═══════════════════════════════════════════ */
.hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px 60px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-glow);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 24px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--gold-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--gold-glow), 0 0 60px rgba(255, 215, 0, 0.1);
    }
}

.hero h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    display: inline;
    vertical-align: baseline;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--gold-glow));
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-glow);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
           MAIN LAYOUT
        ═══════════════════════════════════════════ */
.main-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ═══════════════════════════════════════════
           SECONDARY NAVIGATION (Category Tabs)
        ═══════════════════════════════════════════ */
.secondary-nav {
    background: rgba(22, 30, 48, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 40px;
    position: sticky;
    top: 70px;
    z-index: 99;
}

.secondary-nav-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}

.secondary-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--glass);
    border: 1px solid transparent;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-tab:hover {
    background: var(--glass-hover);
    color: var(--text);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

@media (max-width: 1024px) {
    .main-container {
        padding: 0 20px 40px;
    }

    .secondary-nav {
        padding: 0 15px;
    }

    .hero-stats {
        gap: 30px;
    }
}

/* ═══════════════════════════════════════════
           SIDEBAR (HIDDEN - replaced by secondary nav)
        ═══════════════════════════════════════════ */
.sidebar {
    display: none;
}

#parameters-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
}

#parameters-list::-webkit-scrollbar {
    width: 4px;
}

#parameters-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

/* ═══════════════════════════════════════════
           PARAMETERS GRID LAYOUT
        ═══════════════════════════════════════════ */
.params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* ═══════════════════════════════════════════
           PARAMETER CARDS - PREMIUM DESIGN
        ═══════════════════════════════════════════ */
.param-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.param-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.param-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dim));
    transform: scaleY(0);
    transition: transform 0.3s;
}

.param-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.param-card:hover::before {
    opacity: 1;
}

.param-card.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), var(--glass));
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px var(--gold-glow);
}

.param-card.active::after {
    transform: scaleY(1);
}

.param-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.param-card-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.param-card-badge {
    font-size: 0.7rem;
    color: var(--emerald);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ═══════════════════════════════════════════
           CONTENT AREA - GLASS PANEL
        ═══════════════════════════════════════════ */
.content-area {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--glass), var(--glass-hover));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.welcome-screen h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text), var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-screen p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 400px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
           CONTENT COMPONENTS
        ═══════════════════════════════════════════ */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

.content-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--text);
}

.controls {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--text);
}

.btn.active,
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-2px);
}

/* Quran Display */
.quran-display {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 40px;
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    line-height: 2.4;
    text-align: center;
    direction: rtl;
}

.verse {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.verse:hover {
    background: var(--glass);
}

.verse-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    margin-left: 12px;
}

.highlight-word {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
    border-bottom: 2px solid var(--emerald);
    padding: 2px 6px;
    border-radius: 6px;
}

.highlight-besmele {
    background: linear-gradient(135deg, var(--gold-glow), rgba(255, 215, 0, 0.1));
    border-bottom: 2px solid var(--gold);
    padding: 2px 6px;
    border-radius: 6px;
}

.highlight-counter {
    font-size: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: top;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-box-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-box-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Search Box */
.search-box input {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text);
    font-family: 'Amiri', serif;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* Live Count */
.live-count {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold);
    padding: 16px 28px;
    border-radius: 60px;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-glow);
    z-index: 2000;
    text-align: center;
}

.live-count.visible {
    display: block;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-count-value {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-count-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--gold);
}

/* Quran Word */
.quran-word {
    display: inline-block;
    margin: 0 4px;
    transition: all 0.2s;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ═══════════════════════════════════════════
           ANIMATIONS (Onboarding, Toast)
        ═══════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* ═══════════════════════════════════════════
           HAMBURGER MENU (hidden on desktop)
        ═══════════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
           MOBILE RESPONSIVE (≤768px)
        ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* --- Hamburger visible --- */
    .hamburger {
        display: flex;
    }

    /* --- Navbar --- */
    .navbar {
        padding: 0 16px;
        height: 56px;
    }

    body {
        padding-top: 56px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    /* Theme switcher mobile */
    #theme-switcher-btn {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        gap: 4px !important;
    }

    /* Dropdown opens to the LEFT on mobile (so it doesn't go off screen) */
    #theme-dropdown {
        right: 0 !important;
        left: auto !important;
        min-width: 180px !important;
    }

    /* Hide label text on very small screens, show only icon */
    @media (max-width: 380px) {
        #theme-btn-label {
            display: none !important;
        }
    }

    /* --- Mobile Nav Menu --- */
    .nav-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 16, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--glass-hover);
    }

    /* --- Secondary Nav --- */
    .secondary-nav {
        padding: 0 10px;
        top: 56px;
    }

    .secondary-nav-inner {
        gap: 6px;
        padding: 8px 0;
    }

    .category-tab {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding: 30px 16px 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-badge {
        padding: 6px 14px;
        font-size: 0.78rem;
        margin-bottom: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    /* --- Main Container --- */
    .main-container {
        padding: 0 10px 30px;
        gap: 12px;
    }

    /* --- Content Area --- */
    .content-area {
        padding: 16px;
        border-radius: 12px;
    }

    /* --- Content Header --- */
    .content-header {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .content-title {
        font-size: 1.15rem;
    }

    /* --- Controls & Buttons --- */
    .controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* --- View Tabs --- */
    .view-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .view-tab {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* --- Params Grid --- */
    .params-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* --- Stats Grid --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-box {
        padding: 14px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    /* --- Quran Display --- */
    .quran-display {
        padding: 16px;
        font-size: 1.3rem;
        line-height: 2;
        border-radius: 12px;
    }

    .verse {
        padding: 10px;
        margin-bottom: 10px;
    }

    /* --- Info Panel --- */
    .info-panel {
        padding: 16px;
        border-radius: 12px;
    }

    /* --- Location List --- */
    .location-list {
        padding: 10px;
        border-radius: 12px;
    }

    .location-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }

    .location-preview {
        white-space: normal;
        text-align: right;
        width: 100%;
    }

    /* --- Welcome Screen --- */
    .welcome-screen {
        min-height: 300px;
    }

    .welcome-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        border-radius: 20px;
    }

    .welcome-screen h2 {
        font-size: 1.3rem;
    }

    .welcome-screen p {
        font-size: 0.9rem;
    }

    /* --- Footer --- */
    footer {
        padding: 16px;
    }

    footer p {
        font-size: 0.8rem;
    }

    /* --- Live Count --- */
    .live-count {
        bottom: 12px;
        right: 12px;
    }

    /* --- Sidebar remains hidden --- */
    .sidebar {
        padding: 12px;
    }

    /* --- Modal --- */
    #exclusion-modal>div {
        width: 95% !important;
        padding: 16px !important;
    }
}

/* ═══════════════════════════════════════════
           JS-GENERATED COMPONENT CLASSES
        ═══════════════════════════════════════════ */

/* Info Panel */
.info-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.info-panel h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.info-panel p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* Location List */
.location-list {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    overflow-y: auto;
    margin-bottom: 24px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid var(--glass-border);
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover {
    background: var(--glass-hover);
    transform: translateX(4px);
}

.location-ref {
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gold);
    min-width: 60px;
    text-align: center;
}

.location-preview {
    font-family: 'Amiri', serif;
    font-size: 1rem;
    color: var(--text-dim);
    direction: rtl;
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Stats Panel */
.stats-panel {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

/* View Tabs */
.view-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.view-tab {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
}

.view-tab:hover {
    background: var(--glass-hover);
    color: var(--text);
}

.view-tab.active {
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold);
}

/* Highlight class for sandbox */
.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
    border-bottom: 2px solid var(--gold);
    padding: 2px 4px;
    border-radius: 4px;
}

/* Edit button for sandbox */
.edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    z-index: 10;
    transition: all 0.3s;
}

.edit-btn:hover {
    background: var(--glass-hover);
    border-color: var(--gold);
}

/* Taller cards for Symmetry/Harmony - Revised Height */
.param-card.simetri-card {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ═══════════════════════════════════════════
         TICKER TAPE ANİMASYON - Kuran Bant Sayım
   ═══════════════════════════════════════════ */

/* Kontrol Paneli */
.ticker-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

.ticker-ctrl-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticker-ctrl-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Yön butonları */
.ticker-dir-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.ticker-dir-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.ticker-dir-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Hız butonları */
.ticker-spd-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-spd-btn:hover {
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

.ticker-spd-btn.active {
    background: rgba(255, 215, 0, 0.18);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Duraklat / Durdur */
.ticker-pause-btn,
.ticker-stop-btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-pause-btn {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--accent-gold);
}

.ticker-pause-btn:hover {
    background: rgba(255, 215, 0, 0.22);
}

.ticker-stop-btn {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.4);
    color: #ff6b6b;
}

.ticker-stop-btn:hover {
    background: rgba(255, 69, 58, 0.2);
}

/* Sahne */
.ticker-stage {
    position: relative;
    background: var(--bg-dark, linear-gradient(160deg, #0a0a1a 0%, #0d0d22 60%, #070714 100%));
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 16px;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Yıldız arka plan efekti */
.ticker-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 215, 0, 0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(255, 215, 0, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 60%, rgba(255, 215, 0, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

/* Üst/alt soluk efekti */
.ticker-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            var(--ticker-edge-fade, rgba(7, 7, 20, 0.8)) 0%,
            transparent 20%,
            transparent 80%,
            var(--ticker-edge-fade, rgba(7, 7, 20, 0.8)) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Ana Ekran Alanı */
.ticker-screen {
    width: 100%;
    padding: 28px 32px;
    position: relative;
    z-index: 2;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Beklemede mesajı */
.ticker-idle-msg {
    text-align: center;
    padding: 20px;
}

/* Ayet satırı */
.ticker-verse-line {
    font-family: 'Amiri', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    width: 100%;
    animation: tickerFadeIn 0.35s ease;
}

@keyframes tickerFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eşleşen kelime */
.ticker-match {
    background: none;
    font-weight: 700;
    border-radius: 4px;
    padding: 0 3px;
    animation: matchGlow 0.6s ease;
}

@keyframes matchGlow {
    0% {
        opacity: 0;
        text-shadow: 0 0 30px rgba(255, 215, 0, 1);
        transform: scale(1.15);
    }

    40% {
        opacity: 1;
    }

    100% {
        text-shadow: 0 0 14px rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }
}

/* Sayaç Kutusu */
.ticker-counter-box {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    padding: 10px 18px 8px;
    backdrop-filter: blur(8px);
}

.ticker-counter-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    opacity: 0.75;
    margin-bottom: 2px;
}

.ticker-count-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: color 0.1s;
}

.ticker-count-bounce {
    animation: counterBounce 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes counterBounce {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.45);
        color: #fff;
        text-shadow: 0 0 30px rgba(255, 215, 0, 1);
    }

    60% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

/* +1 Pop animasyonu */
.ticker-count-pop {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-green);
    height: 18px;
    overflow: hidden;
}

.ticker-pop-anim {
    animation: popUp 0.6s ease forwards;
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    30% {
        opacity: 1;
        transform: translateY(-2px);
    }

    70% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-14px);
    }
}

/* Başlat Butonu */
.ticker-start-btn {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.ticker-start-btn:hover {
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.35);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {
    .ticker-controls {
        gap: 10px;
    }

    .ticker-verse-line {
        font-size: 1.1rem;
    }

    .ticker-count-num {
        font-size: 1.8rem;
    }

    .ticker-counter-box {
        padding: 8px 12px 6px;
        top: 8px;
        right: 8px;
    }
}

/* ═══════════════════════════════════════════
   TICKER TAPE — Tema Uyumlu Bileşenler
   Hardcoded renkler yerine CSS değişkenleri
═══════════════════════════════════════════ */

/* Hız dropdown */
.ticker-spd-select {
    background: var(--bg-card);
    border: 1px solid var(--gold-dim, rgba(255, 215, 0, 0.3));
    color: var(--text-primary);
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    outline: none;
}

.ticker-spd-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.ticker-spd-select option:last-child {
    color: var(--accent-gold);
}

/* Konum badge (ayet referansı) */
.ticker-loc-badge {
    position: absolute;
    top: 10px;
    left: 14px;
    z-index: 12;
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    opacity: 0.85;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    letter-spacing: 0.4px;
    border: 1px solid var(--glass-border);
}

/* Bekleme overlay */
.ticker-idle-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    background: var(--bg-dark);
    opacity: 0.92;
    backdrop-filter: blur(2px);
}

/* Geri butonu */
.ticker-back-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.ticker-back-btn:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
}

/* Kaydırıcı (scrubber) sarmalayıcı */
.ticker-scrubber-wrap {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 16px;
}

/* Segment ayraç */
.ticker-sep {
    color: var(--glass-border);
    margin: 0 14px;
    font-size: 0.85rem;
}

/* Özet ekranı (animasyon bitince) */
.ticker-summary-box {
    background: linear-gradient(135deg, var(--gold-glow), transparent);
    border-radius: 14px;
    border: 2px solid var(--accent-green);
}

/* ─── LIGHT TEMA OVERRIDES ──────────────────── */
[data-theme="light"] .ticker-stage {
    background: #e8edf5 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .ticker-idle-overlay {
    background: rgba(230, 235, 245, 0.94) !important;
}

[data-theme="light"] .ticker-loc-badge {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--gold-dim) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .ticker-spd-select,
[data-theme="light"] .ticker-spd-select option {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] .ticker-back-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #475569 !important;
}

/* ─── EL YAZMASI TEMA OVERRIDES ─────────────── */
[data-theme="el-yazmasi"] .ticker-stage {
    background: #ede0b8 !important;
    border-color: rgba(139, 69, 19, 0.3) !important;
    /* Kenar soluk efekti için kahverengi renk */
    --ticker-edge-fade: rgba(237, 224, 184, 0.92);
}

/* Yıldız arka plan efektini kapat (parşömende yıldız olmaz) */
[data-theme="el-yazmasi"] .ticker-stage::before {
    display: none !important;
}

/* Kenar fade: siyah yerine parşömen rengi */
[data-theme="el-yazmasi"] .ticker-stage::after {
    background: linear-gradient(0deg,
            rgba(237, 224, 184, 0.95) 0%,
            transparent 18%,
            transparent 82%,
            rgba(237, 224, 184, 0.95) 100%) !important;
}

/* Bant üzerindeki Arapça yazı: koyu renk */
[data-theme="el-yazmasi"] .ticker-verse-line {
    color: #2c1a0e !important;
}

/* Eşleşen kelime/harf highlight: sarı altın yerine koyu kahve+kırmızı */
[data-theme="el-yazmasi"] .ticker-stage mark {
    color: #8b0000 !important;
    text-shadow: 0 0 8px rgba(139, 0, 0, 0.5), 0 0 2px rgba(139, 0, 0, 0.3) !important;
}

[data-theme="el-yazmasi"] .ticker-idle-overlay {
    background: rgba(240, 228, 196, 0.95) !important;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .ticker-loc-badge {
    background: rgba(253, 246, 227, 0.9) !important;
    color: #8b4513 !important;
    border-color: rgba(139, 69, 19, 0.3) !important;
}

[data-theme="el-yazmasi"] .ticker-spd-select,
[data-theme="el-yazmasi"] .ticker-spd-select option {
    background: #fdf6e3 !important;
    color: #2c1a0e !important;
    border-color: rgba(139, 69, 19, 0.35) !important;
}

[data-theme="el-yazmasi"] .ticker-back-btn {
    background: rgba(240, 228, 196, 0.6) !important;
    border-color: rgba(139, 69, 19, 0.35) !important;
    color: #2c1a0e !important;
}

[data-theme="el-yazmasi"] .ticker-controls {
    background: rgba(240, 228, 196, 0.5) !important;
    border-color: rgba(139, 69, 19, 0.2) !important;
}

/* ─── DERİN OKYANUS TEMA OVERRIDES ──────────── */
[data-theme="derin-okyanus"] .ticker-stage {
    background: #010e1a !important;
    border-color: rgba(0, 229, 204, 0.2) !important;
}

[data-theme="derin-okyanus"] .ticker-idle-overlay {
    background: rgba(1, 14, 26, 0.9) !important;
}

[data-theme="derin-okyanus"] .ticker-loc-badge {
    background: rgba(0, 20, 40, 0.8) !important;
    color: #00e5cc !important;
    border-color: rgba(0, 229, 204, 0.25) !important;
}

[data-theme="derin-okyanus"] .ticker-spd-select,
[data-theme="derin-okyanus"] .ticker-spd-select option {
    background: #010e1a !important;
    color: #c8f0ec !important;
    border-color: rgba(0, 229, 204, 0.3) !important;
}

/* ─── STEAMPUNK TEMA OVERRIDES ───────────────── */
[data-theme="steampunk"] .ticker-stage {
    background: #150d06 !important;
    border-color: rgba(184, 115, 51, 0.3) !important;
}

[data-theme="steampunk"] .ticker-idle-overlay {
    background: rgba(20, 12, 6, 0.92) !important;
}

[data-theme="steampunk"] .ticker-loc-badge {
    background: rgba(26, 16, 10, 0.85) !important;
    color: #d4af37 !important;
    border-color: rgba(184, 115, 51, 0.3) !important;
}

[data-theme="steampunk"] .ticker-spd-select,
[data-theme="steampunk"] .ticker-spd-select option {
    background: #1a100a !important;
    color: #e8d5b0 !important;
    border-color: rgba(184, 115, 51, 0.4) !important;
}

[data-theme="steampunk"] .ticker-back-btn {
    background: rgba(184, 115, 51, 0.08) !important;
    border-color: rgba(184, 115, 51, 0.3) !important;
    color: #c0a878 !important;
}

[data-theme="steampunk"] .ticker-controls {
    background: rgba(42, 28, 18, 0.6) !important;
    border-color: rgba(184, 115, 51, 0.25) !important;
}