/* ============================================
   HANOIWIN THEME - main.css (moban-191)
   Hanoi Old Quarter Architectural Theme
   Colors: Brown(#5D4037) + Red(#C62828) + Gold(#FFD700)
   Fonts: Be Vietnam Pro + Cormorant Garamond
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background: #1a0f0a;
    color: #f5e6d3;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: #FFD700;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

img {
    max-width: 100%;
    height: auto;
}

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

.gold-text {
    color: #FFD700;
    background: linear-gradient(90deg, #FFD700, #C62828, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ancient-text {
    background: linear-gradient(90deg, #5D4037, #8D6E63, #5D4037);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === KEYFRAME ANIMATIONS === */

@keyframes ancientWall {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) sepia(0.1);
        opacity: 0.95;
    }
    25% {
        background-position: 25% 50%;
        filter: brightness(0.95) sepia(0.15);
        opacity: 0.9;
    }
    50% {
        background-position: 50% 50%;
        filter: brightness(1.05) sepia(0.1);
        opacity: 0.95;
    }
    75% {
        background-position: 75% 50%;
        filter: brightness(0.98) sepia(0.12);
        opacity: 0.92;
    }
}

@keyframes lanternGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(198, 40, 40, 0.2);
        transform: translateY(0) rotate(0deg);
        opacity: 0.9;
    }
    25% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), 0 0 50px rgba(198, 40, 40, 0.3);
        transform: translateY(-3px) rotate(1deg);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.6), 0 0 70px rgba(198, 40, 40, 0.4);
        transform: translateY(-5px) rotate(0deg);
        opacity: 1;
    }
    75% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(198, 40, 40, 0.25);
        transform: translateY(-2px) rotate(-1deg);
        opacity: 0.95;
    }
}

@keyframes oldQuarter {
    0% {
        background-position: 0% 0%;
        transform: translateX(0);
    }
    25% {
        background-position: 100% 0%;
        transform: translateX(5px);
    }
    50% {
        background-position: 100% 100%;
        transform: translateX(0);
    }
    75% {
        background-position: 0% 100%;
        transform: translateX(-5px);
    }
    100% {
        background-position: 0% 0%;
        transform: translateX(0);
    }
}

@keyframes templeRoof {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(198, 40, 40, 0.3));
    }
    25% {
        transform: rotate(2deg) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(198, 40, 40, 0.5));
    }
    50% {
        transform: rotate(0deg) scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    }
    75% {
        transform: rotate(-2deg) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(198, 40, 40, 0.5));
    }
}

@keyframes notificationScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes counterGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(198, 40, 40, 0.3); }
}

@keyframes lanternSwing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes brickShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 60px rgba(198, 40, 40, 0.3); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes ancientBorder {
    0% { border-color: #5D4037; }
    33% { border-color: #C62828; }
    66% { border-color: #FFD700; }
    100% { border-color: #5D4037; }
}

@keyframes mossGrow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, #1a0f0a 0%, #2d1810 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #5D4037, #C62828, #FFD700, #C62828, #5D4037) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(198, 40, 40, 0.5));
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    transform: scale(1.05);
}

.header-time {
    font-family: 'Cormorant Garamond', serif;
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
}

.header-btn-group { display: flex; gap: 10px; }

.btn-login {
    padding: 8px 18px;
    border: 1px solid #FFD700;
    color: #FFD700;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #FFD700;
    color: #1a0f0a;
}

.btn-register {
    padding: 8px 18px;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, #5D4037, #C62828);
    box-shadow: 0 0 15px rgba(198, 40, 40, 0.5);
    color: #fff;
}

.btn-demo {
    padding: 8px 18px;
    border: 1px solid #8D6E63;
    color: #8D6E63;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #8D6E63;
    color: #1a0f0a;
}

/* === NAVIGATION === */
.main-navigation {
    background: #0d0806;
    border-top: 1px solid rgba(93, 64, 55, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #f5e6d3;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(93, 64, 55, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-link i { margin-right: 5px; color: #C62828; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, rgba(93, 64, 55, 0.3), rgba(198, 40, 40, 0.2), rgba(93, 64, 55, 0.3));
    overflow: hidden;
    padding: 8px 0;
    border-top: 1px solid rgba(93, 64, 55, 0.4);
}

.notification-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: notificationScroll 30s linear infinite;
    color: #FFD700;
    font-size: 13px;
}

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
}

.announcement-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, #2d1810 0%, #1a0f0a 100%);
    border: 2px solid;
    border-image: linear-gradient(90deg, #5D4037, #C62828, #FFD700) 1;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    animation: fadeInUp 0.5s ease;
}

.announcement-close {
    position: absolute;
    top: 10px; right: 15px;
    background: none; border: none;
    color: #FFD700;
    font-size: 28px;
    cursor: pointer;
}

.announcement-header-icon { text-align: center; margin-bottom: 15px; }
.announcement-header-icon i { font-size: 48px; color: #FFD700; animation: lanternGlow 3s ease infinite; }
.announcement-title { text-align: center; font-size: 20px; margin-bottom: 20px; }

.announcement-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.announcement-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px;
    background: rgba(93, 64, 55, 0.2);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: rgba(93, 64, 55, 0.3);
    border-color: #C62828;
    transform: translateX(5px);
}

.announcement-badge {
    padding: 3px 8px; border-radius: 3px;
    font-size: 10px; font-weight: 700;
    min-width: 40px; text-align: center;
}

.announcement-badge.hot { background: #C62828; color: #fff; }
.announcement-badge.new { background: #8D6E63; color: #fff; }
.announcement-badge.info { background: #5D4037; color: #fff; }
.announcement-text { flex: 1; font-size: 13px; color: #f5e6d3; }
.announcement-item i.fa-chevron-right { color: #FFD700; font-size: 12px; }
.announcement-footer { text-align: center; }

.announcement-cta {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    animation: goldPulse 2s ease infinite;
}

.announcement-cta:hover { color: #fff; transform: scale(1.05); }

/* === HERO SECTION === */
.hanoiwin-hero {
    position: relative;
    min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at center, #2d1810 0%, #1a0f0a 70%);
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(93, 64, 55, 0.4);
}

.ancient-wall-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }

.wall-brick-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(93, 64, 55, 0.15) 40px, rgba(93, 64, 55, 0.15) 42px),
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(93, 64, 55, 0.1) 80px, rgba(93, 64, 55, 0.1) 82px);
    animation: ancientWall 20s ease infinite;
}

.wall-moss-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 30%;
    background: linear-gradient(to top, rgba(76, 175, 80, 0.05), transparent);
    animation: mossGrow 8s ease infinite;
    pointer-events: none;
}

.lantern-decorations { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }

.lantern {
    position: absolute; width: 30px; height: 45px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: lanternGlow 4s ease infinite, lanternSwing 3s ease infinite;
}

.lantern-1 { top: 10%; left: 10%; background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(198, 40, 40, 0.6)); animation-delay: 0s; }
.lantern-2 { top: 15%; left: 30%; background: radial-gradient(circle, rgba(198, 40, 40, 0.8), rgba(93, 64, 55, 0.6)); animation-delay: 0.5s; }
.lantern-3 { top: 8%; left: 50%; background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(198, 40, 40, 0.6)); animation-delay: 1s; }
.lantern-4 { top: 12%; left: 70%; background: radial-gradient(circle, rgba(198, 40, 40, 0.8), rgba(93, 64, 55, 0.6)); animation-delay: 1.5s; }
.lantern-5 { top: 10%; left: 90%; background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(198, 40, 40, 0.6)); animation-delay: 2s; }

.temple-roof-decoration { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

.roof-curve {
    position: absolute; width: 150px; height: 80px;
    border: 3px solid rgba(198, 40, 40, 0.4);
    border-bottom: none;
    border-radius: 50% 50% 0 0;
    animation: templeRoof 6s ease infinite;
}

.roof-left { top: 5%; left: 5%; transform: rotate(-15deg); }
.roof-right { top: 5%; right: 5%; transform: rotate(15deg); }

.hero-inner-content { position: relative; z-index: 10; max-width: 650px; padding: 40px; }
.hero-main-title { margin-bottom: 20px; }

.hero-brand {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px; font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #5D4037, #C62828, #FFD700, #C62828, #5D4037);
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: ancientWall 8s ease infinite;
}

.hero-divider-line { display: block; width: 120px; height: 3px; background: linear-gradient(90deg, #5D4037, #C62828, #FFD700); margin: 15px 0; border-radius: 2px; }

.hero-tagline { display: block; font-size: 22px; letter-spacing: 4px; color: #FFD700; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.hero-description { color: #d7ccc8; font-size: 15px; line-height: 1.8; margin-bottom: 25px; }
.hero-stats-row { display: flex; gap: 30px; margin-bottom: 30px; }
.hero-stat { text-align: center; }
.hero-stat-number { display: block; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: #FFD700; animation: counterGlow 3s ease infinite; }
.hero-stat-label { font-size: 12px; color: #a1887f; text-transform: uppercase; }
.hero-cta-group { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-gold-primary {
    display: inline-block; padding: 14px 35px;
    background: linear-gradient(135deg, #FFD700, #C62828);
    color: #1a0f0a; border-radius: 4px;
    font-weight: 700; font-size: 15px;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease; border: none; cursor: pointer;
}

.btn-gold-primary:hover {
    background: linear-gradient(135deg, #C62828, #FFD700);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px); color: #1a0f0a;
}

.btn-outline-gold {
    display: inline-block; padding: 14px 35px;
    border: 2px solid #FFD700; color: #FFD700;
    border-radius: 4px; font-weight: 700; font-size: 15px;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover { background: #FFD700; color: #1a0f0a; box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }

/* === SECTION TITLES === */
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 10px; letter-spacing: 3px; }
.section-title i { margin-right: 10px; animation: lanternGlow 3s ease infinite; }
.section-subtitle { text-align: center; color: #a1887f; font-size: 14px; margin-bottom: 40px; }

/* === HANOI STAR GAMES === */
.hanoi-star-games { padding: 60px 0; }
.hanoi-star-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.hanoi-game-card {
    position: relative; display: block;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; padding: 30px 20px;
    text-align: center; transition: all 0.4s ease; overflow: hidden;
}

.hanoi-game-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #5D4037, #C62828, #FFD700); }

.hanoi-game-card:hover { border-color: #C62828; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(198, 40, 40, 0.3); }

.hanoi-game-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(198, 40, 40, 0.1), transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.hanoi-game-card:hover .hanoi-game-glow { opacity: 1; }
.hanoi-game-icon { margin-bottom: 15px; }
.hanoi-game-icon i { font-size: 40px; color: #FFD700; animation: lanternGlow 4s ease infinite; }
.hanoi-game-rating { margin-bottom: 10px; }
.hanoi-game-rating i { color: #FFD700; font-size: 12px; }
.hanoi-game-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.hanoi-game-card p { color: #bcaaa4; font-size: 13px; line-height: 1.6; margin-bottom: 15px; }
.hanoi-game-players { display: inline-block; padding: 5px 12px; background: rgba(198, 40, 40, 0.2); border-radius: 20px; font-size: 11px; color: #C62828; }
.hanoi-game-players i { margin-right: 5px; }

/* === HANOI GRID === */
.hanoi-grid-section { padding: 60px 0; }
.hanoi-grid-map { display: flex; flex-direction: column; gap: 20px; }
.hanoi-grid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.hanoi-grid-node {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 25px 15px; background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4); border-radius: 6px;
    transition: all 0.3s ease; text-align: center;
}

.hanoi-grid-node:hover { border-color: #C62828; transform: translateY(-3px); box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3); animation: ancientBorder 3s linear infinite; }
.hanoi-node-icon { margin-bottom: 10px; }
.hanoi-node-icon i { font-size: 28px; background: linear-gradient(135deg, #5D4037, #C62828, #FFD700); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hanoi-node-label { color: #f5e6d3; font-size: 13px; font-weight: 600; }

/* === TEMPLE FEATURES === */
.temple-features { padding: 60px 0; }
.temple-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.temple-feature-card {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; padding: 30px 20px;
    text-align: center; transition: all 0.4s ease;
    position: relative; overflow: hidden;
}

.temple-feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #5D4037, #C62828, #FFD700); animation: ancientWall 5s ease infinite; background-size: 200% 100%; }
.temple-feature-card:hover { transform: translateY(-5px); border-color: #C62828; box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2); }
.temple-feature-icon { margin-bottom: 15px; }
.temple-feature-icon i { font-size: 36px; background: linear-gradient(135deg, #C62828, #5D4037); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.temple-feature-card h3 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.temple-feature-card p { color: #bcaaa4; font-size: 13px; line-height: 1.7; }

/* === HANOI STATS === */
.hanoi-stats { padding: 60px 0; position: relative; }
.hanoi-stats-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.ancient-gradient-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(93, 64, 55, 0.08), rgba(198, 40, 40, 0.05)); pointer-events: none; }
.hanoi-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; position: relative; z-index: 1; }

.hanoi-stat-card {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px; padding: 30px 20px;
    text-align: center; transition: all 0.3s ease;
    position: relative; overflow: hidden;
}

.hanoi-stat-card:hover { border-color: #FFD700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.2); transform: translateY(-3px); }
.stat-lantern-decoration { margin-bottom: 10px; }
.stat-lantern-decoration i { font-size: 20px; color: #C62828; animation: lanternGlow 3s ease infinite; }
.stat-lantern-decoration.bottom { margin-bottom: 0; margin-top: 10px; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: #FFD700; animation: counterGlow 3s ease infinite; margin-bottom: 5px; }
.stat-label { color: #bcaaa4; font-size: 13px; text-transform: uppercase; }

/* === HANOI PROMOTIONS === */
.hanoi-promos { padding: 60px 0; }
.hanoi-promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.hanoi-promo-card {
    position: relative;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; overflow: hidden; transition: all 0.4s ease;
}

.hanoi-promo-card:hover { border-color: #C62828; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(198, 40, 40, 0.3); }
.promo-ancient-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(198, 40, 40, 0.1), transparent); pointer-events: none; }
.hanoi-promo-inner { position: relative; padding: 30px 20px; text-align: center; }
.promo-icon { margin-bottom: 15px; }
.promo-icon i { font-size: 36px; color: #FFD700; animation: lanternGlow 3s ease infinite; }
.hanoi-promo-inner h3 { color: #fff; font-size: 17px; margin-bottom: 12px; letter-spacing: 1px; }
.hanoi-promo-inner p { color: #bcaaa4; font-size: 13px; line-height: 1.7; margin-bottom: 15px; }
.promo-timer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 12px; color: #a1887f; }
.promo-badge { padding: 3px 10px; border-radius: 3px; font-size: 10px; font-weight: 700; }
.promo-badge.hot { background: #C62828; color: #fff; }
.promo-badge.new { background: #8D6E63; color: #fff; }
.promo-badge.vip { background: linear-gradient(135deg, #FFD700, #C62828); color: #1a0f0a; }

.btn-promo {
    display: inline-block; padding: 10px 30px;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #fff; border-radius: 4px;
    font-weight: 600; font-size: 14px; transition: all 0.3s ease;
}

.btn-promo:hover { background: linear-gradient(135deg, #5D4037, #C62828); box-shadow: 0 0 15px rgba(198, 40, 40, 0.5); color: #fff; transform: scale(1.05); }

/* === FOOTER CTA === */
.footer-cta-section {
    position: relative; padding: 80px 0; margin: 40px 0;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(93, 64, 55, 0.4);
}

.footer-cta-ancientfield { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-cta-inner { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.cta-temple-decoration { margin-bottom: 20px; }

.cta-temple-roof {
    display: inline-block; width: 80px; height: 50px;
    border: 3px solid #C62828; border-bottom: none;
    border-radius: 50% 50% 0 0; animation: templeRoof 5s ease infinite;
}

.footer-cta-inner h2 { font-size: 32px; color: #FFD700; margin-bottom: 15px; letter-spacing: 3px; }
.footer-cta-inner p { color: #d7ccc8; font-size: 15px; max-width: 600px; margin: 0 auto 25px; line-height: 1.8; }
.cta-features { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.cta-feature { color: #f5e6d3; font-size: 14px; }
.cta-feature i { color: #FFD700; margin-right: 8px; }
.cta-main-btn { padding: 16px 50px; font-size: 18px; animation: goldPulse 2s ease infinite; }

/* === NEWS SECTION === */
.home-news-section { padding: 60px 0; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 30px; }

.article-card {
    display: block;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; overflow: hidden; transition: all 0.3s ease;
}

.article-card:hover { border-color: #C62828; transform: translateY(-3px); box-shadow: 0 5px 20px rgba(198, 40, 40, 0.2); }
.article-card-thumb { height: 180px; overflow: hidden; }
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.article-card:hover .article-card-thumb img { transform: scale(1.05); }
.article-card-title { padding: 15px 15px 8px; }
.article-card-title span, .article-card-title a { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; display: block; }
.article-card-meta { padding: 0 15px; display: flex; gap: 15px; font-size: 12px; color: #a1887f; margin-bottom: 8px; }
.article-card-meta i { margin-right: 5px; color: #C62828; }
.article-card-excerpt { padding: 0 15px 15px; font-size: 13px; color: #bcaaa4; line-height: 1.6; }

.article-card-more {
    display: inline-block; padding: 8px 20px;
    color: #FFD700; font-size: 13px; font-weight: 600;
    border: 1px solid #FFD700; border-radius: 4px;
    margin: 0 15px 15px; transition: all 0.3s ease;
}

.article-card-more:hover { background: #FFD700; color: #1a0f0a; }

.view-more-btn {
    display: block; text-align: center;
    padding: 12px 30px; border: 2px solid #FFD700;
    color: #FFD700; border-radius: 4px;
    font-weight: 600; max-width: 200px;
    margin: 0 auto; transition: all 0.3s ease;
}

.view-more-btn:hover { background: #FFD700; color: #1a0f0a; }
.home-news-placeholder { display: contents; }

/* === CONTENT AREA & SIDEBAR === */
.content-area { display: flex; gap: 30px; padding: 20px 0; }
.main-content { flex: 1; min-width: 0; }

.floating-sidebar {
    position: fixed; right: 10px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 8px; z-index: 999;
}

.sidebar-btn {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 6px;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #fff; font-size: 18px;
    transition: all 0.3s ease; position: relative;
}

.sidebar-btn:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(198, 40, 40, 0.5); color: #fff; }
.sidebar-btn-facebook { background: #1877F2; }
.sidebar-btn-telegram { background: #0088cc; }
.sidebar-label { display: none; }

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #2d1810 0%, #1a0f0a 100%);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, #5D4037, #C62828, #FFD700) 1;
    padding: 50px 0 30px; margin-top: 40px;
}

.footer-columns-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand-logo { margin-bottom: 15px; }
.footer-brand-logo img { height: 45px; filter: drop-shadow(0 0 10px rgba(198, 40, 40, 0.5)); }
.footer-brand-text { color: #bcaaa4; font-size: 13px; line-height: 1.8; margin-bottom: 15px; }

.footer-18plus {
    display: inline-block; width: 40px; height: 40px; line-height: 40px;
    text-align: center; background: #C62828; color: #fff;
    border-radius: 6px; font-weight: 700; font-size: 14px; margin-bottom: 15px;
}

.footer-social-links { display: flex; gap: 10px; }

.footer-social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px;
    background: rgba(93, 64, 55, 0.3); color: #FFD700; transition: all 0.3s ease;
}

.footer-social-links a:hover { background: #C62828; color: #fff; transform: scale(1.1); }
.footer-col h4 { color: #FFD700; font-size: 15px; margin-bottom: 15px; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #bcaaa4; font-size: 13px; transition: all 0.3s ease; }
.footer-col ul li a:hover { color: #FFD700; padding-left: 5px; }

.footer-license-bar {
    text-align: center; padding: 25px 0;
    border-top: 1px solid rgba(93, 64, 55, 0.4);
    border-bottom: 1px solid rgba(93, 64, 55, 0.4);
    margin-bottom: 20px;
}

.footer-license-bar h4 { color: #FFD700; margin-bottom: 15px; font-size: 14px; }
.license-icons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.license-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 15px;
    background: rgba(93, 64, 55, 0.2);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 6px; transition: all 0.3s ease;
}

.license-item:hover { border-color: #C62828; background: rgba(198, 40, 40, 0.2); }
.license-item i { font-size: 20px; color: #FFD700; }
.license-item span { font-size: 11px; color: #bcaaa4; }
.footer-bottom { text-align: center; padding-top: 20px; }
.footer-copyright { color: #8D6E63; font-size: 13px; }

/* === BREADCRUMB === */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    padding: 15px 0; font-size: 13px; color: #a1887f;
    border-bottom: 1px solid rgba(93, 64, 55, 0.3); margin-bottom: 20px;
}

.breadcrumb a { color: #FFD700; }
.breadcrumb a:hover { color: #C62828; }
.breadcrumb span { color: #8D6E63; }

/* === CATEGORY === */
.category-header { padding: 20px 0; margin-bottom: 20px; }
.category-title { font-size: 26px; letter-spacing: 2px; }
.category-title i { margin-right: 10px; animation: lanternGlow 3s ease infinite; }
.category-desc { color: #bcaaa4; margin-top: 10px; font-size: 14px; }

.provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }

.provider-tab {
    padding: 8px 16px;
    background: rgba(93, 64, 55, 0.2);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 4px; color: #f5e6d3;
    font-size: 13px; cursor: pointer; transition: all 0.3s ease;
}

.provider-tab:hover, .provider-tab.active { background: linear-gradient(135deg, #C62828, #5D4037); border-color: #C62828; color: #fff; }

/* === ARTICLE GRID === */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 30px; }

/* === SINGLE ARTICLE === */
.single-article {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; padding: 30px; margin-bottom: 30px;
}

.article-header { margin-bottom: 20px; }
.article-title { font-size: 28px; color: #fff; margin-bottom: 15px; line-height: 1.4; }
.article-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; color: #a1887f; }
.article-meta i { color: #C62828; margin-right: 5px; }
.article-meta a { color: #FFD700; }
.article-featured-img { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.article-featured-img img { width: 100%; height: auto; }
.article-content { color: #d7ccc8; font-size: 15px; line-height: 1.8; }
.article-content h2, .article-content h3, .article-content h4 { color: #FFD700; margin: 20px 0 10px; }
.article-content p { margin-bottom: 15px; }
.article-content a { color: #C62828; text-decoration: underline; }
.article-content ul, .article-content ol { margin: 15px 0; padding-left: 25px; }
.article-content li { margin-bottom: 8px; }

.article-content blockquote {
    border-left: 4px solid #C62828; padding: 15px 20px;
    background: rgba(198, 40, 40, 0.08); margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.article-content img { border-radius: 8px; margin: 15px 0; }

.article-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 20px; border-top: 1px solid rgba(93, 64, 55, 0.4); margin-top: 20px;
}

.article-tags i { color: #FFD700; }
.article-tags span { padding: 5px 12px; background: rgba(93, 64, 55, 0.2); border-radius: 4px; font-size: 12px; color: #f5e6d3; }
.article-tags span a { color: #f5e6d3; }

/* === ARTICLE NAV === */
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid rgba(93, 64, 55, 0.4); margin-top: 20px; }
.article-nav a { color: #FFD700; font-size: 14px; }
.article-nav a:hover { color: #C62828; }

/* === RELATED POSTS === */
.related-posts { margin-bottom: 30px; }
.related-posts-title { font-size: 20px; margin-bottom: 20px; letter-spacing: 2px; }
.related-posts-title i { margin-right: 10px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.related-item {
    display: block;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; overflow: hidden; transition: all 0.3s ease;
}

.related-item:hover { border-color: #C62828; transform: translateY(-3px); }
.related-item-thumb { height: 120px; overflow: hidden; }
.related-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item-title { padding: 10px; font-size: 13px; color: #fff; line-height: 1.4; }

/* === PAGE === */
.page-article {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px; padding: 30px;
}

.page-title { font-size: 28px; color: #FFD700; margin-bottom: 20px; }
.page-featured-img { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.page-content { color: #d7ccc8; line-height: 1.8; }
.page-content p { margin-bottom: 15px; }

/* === PAGINATION === */
.pagination { text-align: center; margin: 30px 0; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }

.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 6px;
    background: rgba(93, 64, 55, 0.2);
    border: 1px solid rgba(93, 64, 55, 0.4);
    color: #f5e6d3; font-size: 14px; transition: all 0.3s ease;
}

.pagination .page-numbers:hover, .pagination .page-numbers.current {
    background: linear-gradient(135deg, #C62828, #5D4037);
    border-color: #C62828; color: #fff;
}

/* === ERROR PAGE === */
.error-page { text-align: center; padding: 80px 20px; }
.error-temple { margin-bottom: 20px; }

.error-temple-roof {
    display: inline-block; width: 100px; height: 60px;
    border: 3px solid #C62828; border-bottom: none;
    border-radius: 50% 50% 0 0; animation: templeRoof 5s ease infinite;
}

.error-code {
    font-size: 100px;
    background: linear-gradient(135deg, #5D4037, #C62828, #FFD700);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 10px;
}

.error-title { font-size: 24px; color: #FFD700; margin-bottom: 15px; }
.error-desc { color: #bcaaa4; font-size: 15px; max-width: 500px; margin: 0 auto 30px; line-height: 1.8; }

/* === NO POSTS === */
.no-posts { text-align: center; padding: 60px 20px; color: #bcaaa4; }
.no-posts i { display: block; margin-bottom: 15px; }

/* === ADDITIONAL DECORATIVE ELEMENTS === */

/* Street Lamp Decorations */
.street-lamp {
    position: absolute;
    width: 8px;
    height: 60px;
    background: linear-gradient(to bottom, #5D4037, #3E2723);
    border-radius: 4px;
}

.street-lamp::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -8px;
    width: 24px;
    height: 15px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(198, 40, 40, 0.4));
    border-radius: 50% 50% 30% 30%;
    animation: lanternGlow 3s ease infinite;
}

.street-lamp::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -12px;
    width: 32px;
    height: 12px;
    background: #5D4037;
    border-radius: 50% 50% 0 0;
}

/* Old Quarter Window Styles */
.oq-window {
    position: relative;
    background: linear-gradient(135deg, #3E2723, #2d1810);
    border: 2px solid #5D4037;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.oq-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #5D4037;
    transform: translateX(-50%);
}

.oq-window::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #5D4037;
    transform: translateY(-50%);
}

/* Temple Gate Styles */
.temple-gate {
    position: relative;
    display: inline-block;
}

.temple-gate::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: linear-gradient(to bottom, #C62828, #5D4037);
    border-radius: 50% 50% 0 0;
    animation: templeRoof 5s ease infinite;
}

.temple-gate::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #FFD700;
    border-radius: 50%;
    animation: lanternGlow 3s ease infinite;
}

/* Hanging Lantern Chain */
.lantern-chain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #5D4037 0px,
        #5D4037 10px,
        transparent 10px,
        transparent 15px
    );
}

/* Ceramic Tile Pattern */
.ceramic-tile-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background:
        repeating-linear-gradient(
            90deg,
            #5D4037 0px,
            #5D4037 2px,
            transparent 2px,
            transparent 30px
        ),
        repeating-linear-gradient(
            0deg,
            #5D4037 0px,
            #5D4037 2px,
            transparent 2px,
            transparent 30px
        );
    opacity: 0.3;
}

/* Bamboo Screen */
.bamboo-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        rgba(141, 110, 99, 0.1) 0px,
        rgba(141, 110, 99, 0.1) 1px,
        transparent 1px,
        transparent 8px
    );
    pointer-events: none;
}

/* Water Reflection */
.water-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(
        to top,
        rgba(93, 64, 55, 0.15),
        transparent
    );
    animation: floatUp 4s ease infinite;
    pointer-events: none;
}

/* === ENHANCED CARD HOVER EFFECTS === */
.hanoi-game-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5D4037, #C62828, #FFD700, #C62828, #5D4037);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hanoi-game-card:hover::after {
    opacity: 1;
}

/* Decorative Corner Elements */
.hanoi-game-card .corner-tl,
.hanoi-game-card .corner-tr,
.hanoi-game-card .corner-bl,
.hanoi-game-card .corner-br {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #5D4037;
    border-style: solid;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hanoi-game-card:hover .corner-tl,
.hanoi-game-card:hover .corner-tr,
.hanoi-game-card:hover .corner-bl,
.hanoi-game-card:hover .corner-br {
    opacity: 1;
}

.hanoi-game-card .corner-tl {
    top: 8px; left: 8px;
    border-width: 2px 0 0 2px;
}

.hanoi-game-card .corner-tr {
    top: 8px; right: 8px;
    border-width: 2px 2px 0 0;
}

.hanoi-game-card .corner-bl {
    bottom: 8px; left: 8px;
    border-width: 0 0 2px 2px;
}

.hanoi-game-card .corner-br {
    bottom: 8px; right: 8px;
    border-width: 0 2px 2px 0;
}

/* === TEMPLE FEATURE CARD ENHANCEMENTS === */
.temple-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #C62828);
    transition: width 0.3s ease;
}

.temple-feature-card:hover::after {
    width: 80%;
}

.temple-feature-card .feature-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(93, 64, 55, 0.15);
    line-height: 1;
}

/* === STAT CARD ENHANCEMENTS === */
.hanoi-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hanoi-stat-card:hover::before {
    opacity: 1;
}

.hanoi-stat-card .stat-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(93, 64, 55, 0.08);
    pointer-events: none;
}

/* === PROMO CARD ENHANCEMENTS === */
.hanoi-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(198, 40, 40, 0.05) 50%,
        transparent 60%
    );
    background-size: 200% 200%;
    animation: oldQuarter 10s ease infinite;
    pointer-events: none;
}

.hanoi-promo-card .promo-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    width: 120px;
    padding: 5px 0;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 2;
}

/* === CTA SECTION ENHANCEMENTS === */
.footer-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(198, 40, 40, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-cta-section .cta-lantern-left,
.footer-cta-section .cta-lantern-right {
    position: absolute;
    width: 25px;
    height: 40px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: lanternGlow 4s ease infinite, lanternSwing 3s ease infinite;
}

.footer-cta-section .cta-lantern-left {
    top: 20%;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6), rgba(198, 40, 40, 0.4));
    animation-delay: 0s;
}

.footer-cta-section .cta-lantern-right {
    top: 30%;
    right: 10%;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.6), rgba(93, 64, 55, 0.4));
    animation-delay: 1s;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #5D4037, #C62828, #FFD700);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    background: linear-gradient(135deg, #C62828, #5D4037);
    color: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

/* === LOADING ANIMATION === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a0f0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-lantern {
    width: 50px;
    height: 75px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(198, 40, 40, 0.6));
    animation: lanternGlow 2s ease infinite, lanternSwing 1.5s ease infinite;
}

/* === TOOLTIP STYLES === */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 10px;
    background: #2d1810;
    border: 1px solid #5D4037;
    color: #FFD700;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* === ENHANCED ARTICLE STYLES === */
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #C62828, #FFD700);
    transition: height 0.3s ease;
}

.article-card:hover::before {
    height: 100%;
}

.article-card {
    position: relative;
}

/* === HEADER SEARCH === */
.header-search {
    position: relative;
    margin-left: 15px;
}

.header-search input {
    background: rgba(93, 64, 55, 0.2);
    border: 1px solid rgba(93, 64, 55, 0.4);
    color: #f5e6d3;
    padding: 8px 35px 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    width: 200px;
    transition: all 0.3s ease;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.header-search input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    width: 250px;
}

.header-search input::placeholder {
    color: #8D6E63;
}

.header-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
    font-size: 14px;
}

/* === CATEGORY PAGE ENHANCEMENTS === */
.category-banner {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 50%, rgba(198, 40, 40, 0.1), transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(255, 215, 0, 0.05), transparent 50%);
    pointer-events: none;
}

.category-banner-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    color: rgba(93, 64, 55, 0.1);
}

/* === LIVE TICKER === */
.live-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(93, 64, 55, 0.15);
    border: 1px solid rgba(93, 64, 55, 0.3);
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

.live-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C62828;
    animation: goldPulse 2s ease infinite;
    flex-shrink: 0;
}

.live-ticker-label {
    color: #FFD700;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.live-ticker-text {
    color: #d7ccc8;
    font-size: 13px;
    white-space: nowrap;
    animation: notificationScroll 20s linear infinite;
}

/* === WINNER MARQUEE === */
.winner-marquee {
    padding: 15px 0;
    background: linear-gradient(90deg, rgba(93, 64, 55, 0.1), rgba(198, 40, 40, 0.08), rgba(93, 64, 55, 0.1));
    border-top: 1px solid rgba(93, 64, 55, 0.3);
    border-bottom: 1px solid rgba(93, 64, 55, 0.3);
    margin: 20px 0;
    overflow: hidden;
}

.winner-marquee-inner {
    display: flex;
    gap: 30px;
    animation: notificationScroll 25s linear infinite;
    white-space: nowrap;
}

.winner-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #d7ccc8;
}

.winner-item .winner-name {
    color: #FFD700;
    font-weight: 600;
}

.winner-item .winner-amount {
    color: #C62828;
    font-weight: 700;
}

.winner-item .winner-game {
    color: #8D6E63;
}

/* === GAME PROVIDER LOGOS === */
.provider-section {
    padding: 40px 0;
    text-align: center;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.provider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.provider-logo:hover {
    border-color: #C62828;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.2);
}

.provider-logo i {
    font-size: 28px;
    color: #8D6E63;
    transition: color 0.3s ease;
}

.provider-logo:hover i {
    color: #FFD700;
}

/* === TESTIMONIAL SECTION === */
.testimonial-section {
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px;
    padding: 25px 20px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 48px;
    color: rgba(198, 40, 40, 0.2);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
}

.testimonial-text {
    color: #d7ccc8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C62828, #5D4037);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-info .testimonial-name {
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-info .testimonial-role {
    color: #8D6E63;
    font-size: 12px;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background: linear-gradient(135deg, #2d1810, #1a0f0a);
    border: 1px solid rgba(93, 64, 55, 0.4);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    color: #FFD700;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(93, 64, 55, 0.2);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #C62828;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #bcaaa4;
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 20px 18px;
    max-height: 300px;
}
