/* ARDA & BILSU: CHRISTMAS THEME (DELUXE EDITION) 🎄
 * Özellikler: Sıcak ve Büyülü Atmosfer, Yanıp Sönen Işıklar, Hediye Paketi Detayları
 * Not: Bu dosya base style.css'in üzerine biner.
 */

/* 1. FONTLAR VE RENK PALETİ */
@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@700&family=Cinzel+Decorative:wght@700&display=swap');

:root {
    --xmas-red: #8e0e00;
    --xmas-dark: #2c0000;
    --xmas-green: #1e5f3e;
    --xmas-gold: #ffd700;
    --xmas-cream: #f8f1e5;
    --xmas-glow: 0 0 20px rgba(255, 215, 0, 0.6); /* Altın parıltı */
}

/* 2. GENEL ARKA PLAN VE SAHNELER */

/* Ana Konteyner */
.theme-christmas.ab-story-container {
    background-color: var(--xmas-dark);
    /* Arka plana hafif bir kar dokusu ekleyelim */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Sahneler (Base CSS'teki neonları eziyoruz) */
.theme-christmas .ab-section {
    /* Sıcak, şömine başı hissi veren gradyan */
    background: radial-gradient(circle at center, #a31515 0%, #4a0a0a 70%, #1a0505 100%) !important;
    border-bottom: 4px solid var(--xmas-gold);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.7);
    position: relative;
}

/* SAHNE SÜSÜ: Üst Kısımda Yanıp Sönen Peri Işıkları */
.theme-christmas .ab-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: 
        radial-gradient(circle at 10% 50%, var(--xmas-gold) 3px, transparent 4px),
        radial-gradient(circle at 30% 50%, var(--xmas-red) 3px, transparent 4px),
        radial-gradient(circle at 50% 50%, var(--xmas-green) 3px, transparent 4px),
        radial-gradient(circle at 70% 50%, var(--xmas-gold) 3px, transparent 4px),
        radial-gradient(circle at 90% 50%, var(--xmas-red) 3px, transparent 4px);
    background-repeat: repeat-x;
    filter: drop-shadow(0 0 5px var(--xmas-gold));
    animation: twinkleLights 2s infinite alternate;
    opacity: 0.8;
}

/* 3. TİPOGRAFİ (Karlı ve Altın Yazılar) */
.theme-christmas h1,
.theme-christmas h2,
.theme-christmas h3,
.theme-christmas .big-title,
.theme-christmas .poem-title,
.theme-christmas .section-header {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--xmas-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px rgba(255,215,0,0.3);
    letter-spacing: 3px;
    /* Hafif altın nabız animasyonu */
    animation: goldenPulse 3s ease-in-out infinite;
}

/* Düz metinler krem rengi olsun */
.theme-christmas p,
.theme-christmas .poem-body,
.theme-christmas .stats-label,
.theme-christmas small {
    font-family: 'Montserrat', sans-serif;
    color: var(--xmas-cream);
}

/* 4. ÖZEL MODÜL TASARIMLARI */

/* HERO: Geri Sayım (Hediye Kutuları) */
.theme-christmas .timer-box {
    background: var(--xmas-red);
    border: 2px solid var(--xmas-gold);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 0 15px rgba(0,0,0,0.2);
    overflow: visible;
}
/* Hediye Kurdelesi */
.theme-christmas .timer-box::after {
    content: '🎀';
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    text-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
.theme-christmas .timer-box span { color: var(--xmas-gold); text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.theme-christmas .timer-box small { color: var(--xmas-cream); opacity: 1; }

/* POEM: Şiir Kartı (Eski Parşömen Hissi) */
.theme-christmas .poem-body {
    background: rgba(255, 245, 230, 0.15); /* Çok hafif krem */
    backdrop-filter: blur(10px);
    border: 3px double var(--xmas-gold);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--xmas-glow), inset 0 0 30px rgba(142, 14, 0, 0.3);
    color: var(--xmas-cream);
    position: relative;
}
/* Köşelere Çobanpüskülü (Holly) Süsü */
.theme-christmas .poem-body::after {
    content: '🌿';
    position: absolute; bottom: 10px; right: 20px;
    font-size: 30px; opacity: 0.8;
}

/* STATS: İstatistikler */
.theme-christmas .stats-number {
    color: var(--xmas-gold);
    /* Şeker çubuğu (Candy Cane) dokusu */
    background: repeating-linear-gradient(45deg, var(--xmas-gold), var(--xmas-gold) 10px, var(--xmas-cream) 10px, var(--xmas-cream) 20px);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px var(--xmas-red));
}
.theme-christmas .stats-label {
    background: var(--xmas-green);
    color: var(--xmas-gold);
    border: 2px solid var(--xmas-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transform: rotate(-2deg) translateY(-15px);
}

/* GALLERY: Fotoğraflar (Kar Küresi Çerçeve) */
.theme-christmas .wrapped-gallery {
    background: rgba(44, 0, 0, 0.5);
    border: 3px solid var(--xmas-gold);
    border-radius: 25px;
    padding: 20px;
}
.theme-christmas .w-gallery-item {
    border: 3px solid var(--xmas-cream);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    overflow: hidden;
    position: relative;
}
/* Hover'da Kar Küresi Sallanma Efekti */
.theme-christmas .w-gallery-item:hover {
    animation: snowGlobeShake 0.5s ease-in-out;
    border-color: var(--xmas-gold);
    z-index: 10;
}

/* KUTULAR (Oyun ve Spotify) */
.theme-christmas .box-style {
    background: rgba(30, 95, 62, 0.3); /* Yarı saydam yeşil */
    border: 3px solid var(--xmas-red);
    border-radius: 25px;
    box-shadow: var(--xmas-glow);
}

/* 5. DİĞER BİLEŞENLER VE ANİMASYONLAR */

/* Başlat Butonu */
.theme-christmas #start-story-btn {
    background: var(--xmas-red);
    color: var(--xmas-gold);
    border: 2px solid var(--xmas-gold);
    font-family: 'Mountains of Christmas', cursive;
    letter-spacing: 2px;
    box-shadow: 0 0 30px rgba(255,0,0,0.5);
}
.theme-christmas #start-story-btn:hover {
    background: var(--xmas-green);
    transform: scale(1.1) rotate(-2deg);
}

/* Müzik İkonu */
.theme-christmas #music-toggle {
    background: var(--xmas-red);
    border-color: var(--xmas-gold);
    color: var(--xmas-gold);
    box-shadow: 0 0 15px var(--xmas-red);
    animation: goldenPulse 2s infinite;
}

/* --- ANİMASYON KEYFRAMES --- */

/* Işıkların Yanıp Sönmesi */
@keyframes twinkleLights {
    0% { opacity: 0.5; filter: brightness(0.8); }
    100% { opacity: 1; filter: brightness(1.5) drop-shadow(0 0 10px gold); }
}

/* Altın Nabız */
@keyframes goldenPulse {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px rgba(255,215,0,0.3); }
    50% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 25px rgba(255,215,0,0.8); color: #fffbe0; }
}

/* Kar Küresi Sallanması */
@keyframes snowGlobeShake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    50% { transform: rotate(-3deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg) scale(1.05); }
}