/* ============================================================
   LUCKYNUM Theme - main.css (moban-110)
   Colors: Green(#2E7D32) + Gold(#FFD700) + White(#FFFFFF)
   Fonts: Luckiest Guy + Quicksand
   Theme: Lucky numbers, rolling counters, fortune wheel
   ============================================================ */

/* === CSS VARIABLES === */
:root {
    --primary-green: #2E7D32;
    --primary-green-dark: #1B5E20;
    --primary-green-light: #4CAF50;
    --primary-gold: #FFD700;
    --primary-gold-dark: #FFC107;
    --primary-gold-light: #FFEB3B;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --dark-bg: #0a1a0a;
    --dark-bg-2: #0d200d;
    --dark-surface: #122612;
    --dark-surface-2: #1a3a1a;
    --text-primary: #FFFFFF;
    --text-secondary: #b0c4b0;
    --text-muted: #6a8a6a;
    --border-color: rgba(46, 125, 50, 0.3);
    --shadow-green: rgba(46, 125, 50, 0.4);
    --shadow-gold: rgba(255, 215, 0, 0.3);
    --font-display: 'Luckiest Guy', cursive;
    --font-body: 'Quicksand', sans-serif;
    --container-max: 1200px;
    --header-height: 70px;
    --nav-height: 48px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* === UTILITY CLASSES === */
.gold-text {
    color: var(--primary-gold) !important;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* 1. numberRoll - Rolling counter digit animation */
@keyframes numberRoll {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translateY(0);
    }
    80% {
        transform: translateY(0);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* 2. fortuneSpin - Fortune wheel spinning */
@keyframes fortuneSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 3. luckyGlow - Pulsing lucky glow effect */
@keyframes luckyGlow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-gold), 0 0 10px var(--primary-gold), 0 0 20px rgba(255, 215, 0, 0.3);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 10px var(--primary-gold), 0 0 25px var(--primary-gold), 0 0 50px rgba(255, 215, 0, 0.5);
        opacity: 0.8;
    }
}

/* 4. jackpotFlash - Jackpot winning flash */
@keyframes jackpotFlash {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    25% {
        filter: brightness(1.5);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(2);
    }
    75% {
        filter: brightness(1.3);
    }
}

/* Additional helper keyframes */
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

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

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.announcement-modal.active {
    display: flex;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 2px solid var(--primary-gold);
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    padding: 30px;
    z-index: 1;
    animation: fadeInUp 0.5s ease;
    box-shadow: 0 0 30px var(--shadow-gold), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.announcement-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
}

.announcement-close:hover {
    color: var(--primary-gold);
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
}

.announcement-header-icon i {
    font-size: 48px;
    color: var(--primary-gold);
    animation: luckyGlow 2s ease infinite;
    border-radius: 50%;
    padding: 15px;
}

.announcement-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.announcement-item:hover {
    background: rgba(46, 125, 50, 0.2);
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.announcement-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.announcement-badge.hot {
    background: #e53935;
    color: white;
}

.announcement-badge.new {
    background: var(--primary-green);
    color: white;
}

.announcement-badge.info {
    background: #1976D2;
    color: white;
}

.announcement-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.announcement-item i.fa-chevron-right {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.announcement-footer {
    text-align: center;
}

.announcement-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--dark-bg) !important;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-gold);
}

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, var(--dark-bg-2), var(--dark-bg));
    border-bottom: 2px solid var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 45px;
    width: auto;
}

.header-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 500;
    letter-spacing: 1px;
}

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

.btn-login {
    padding: 8px 18px;
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.btn-register {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 20px;
    color: var(--dark-bg);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.btn-demo {
    padding: 8px 18px;
    border: 1px solid var(--primary-green-light);
    border-radius: 20px;
    color: var(--primary-green-light);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-demo:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* === NAVIGATION === */
.main-navigation {
    background: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 24px;
    cursor: pointer;
    padding: 10px 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary-gold);
    background: rgba(46, 125, 50, 0.15);
    border-bottom-color: var(--primary-gold);
}

.nav-link i {
    margin-right: 4px;
    font-size: 0.8rem;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-green), var(--primary-green-dark));
    overflow: hidden;
    padding: 8px 0;
}

.notification-content {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: notificationScroll 25s linear infinite;
    color: var(--primary-gold);
    font-size: 0.82rem;
    font-weight: 500;
}

/* === HERO SECTION - Fortune Wheel === */
.luckynum-hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 50%, var(--dark-surface) 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fortune-wheel-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.15;
    pointer-events: none;
}

.fortune-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    border: 4px solid var(--primary-gold);
}

.fortune-wheel-spin {
    animation: fortuneSpin 20s linear infinite;
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-segment span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.wheel-seg-1 { transform: rotate(0deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(46, 125, 50, 0.3); }
.wheel-seg-2 { transform: rotate(45deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(255, 215, 0, 0.2); }
.wheel-seg-3 { transform: rotate(90deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(46, 125, 50, 0.3); }
.wheel-seg-4 { transform: rotate(135deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(255, 215, 0, 0.2); }
.wheel-seg-5 { transform: rotate(180deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(46, 125, 50, 0.3); }
.wheel-seg-6 { transform: rotate(225deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(255, 215, 0, 0.2); }
.wheel-seg-7 { transform: rotate(270deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(46, 125, 50, 0.3); }
.wheel-seg-8 { transform: rotate(315deg); clip-path: polygon(0 0, 100% 0, 100% 100%); background: rgba(255, 215, 0, 0.2); }

.wheel-center-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid var(--primary-green);
    z-index: 2;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--primary-gold);
    z-index: 3;
    filter: drop-shadow(0 0 5px var(--shadow-gold));
}

/* Lucky Particles */
.lucky-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.lucky-particle {
    position: absolute;
    font-family: var(--font-display);
    color: var(--primary-gold);
    opacity: 0.15;
    animation: floatUp 8s ease-in-out infinite;
}

.lp-1 { left: 10%; top: 80%; font-size: 2rem; animation-delay: 0s; }
.lp-2 { left: 25%; top: 70%; font-size: 1.5rem; animation-delay: 1s; }
.lp-3 { left: 45%; top: 85%; font-size: 2.5rem; animation-delay: 2s; }
.lp-4 { left: 65%; top: 75%; font-size: 1.8rem; animation-delay: 3s; }
.lp-5 { left: 80%; top: 90%; font-size: 2.2rem; animation-delay: 4s; }
.lp-6 { left: 90%; top: 65%; font-size: 1.6rem; animation-delay: 5s; }

.hero-inner-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0 auto;
}

.hero-main-title {
    margin-bottom: 20px;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-gold);
    display: block;
    letter-spacing: 4px;
    text-shadow: 0 0 20px var(--shadow-gold), 0 0 40px rgba(255, 215, 0, 0.2);
    animation: luckyGlow 3s ease infinite;
}

.hero-divider-line {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 10px auto;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-green-light);
    display: block;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-gold-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-gold);
    animation: jackpotFlash 1s ease;
}

.btn-outline-gold {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* === LUCKY STAR GAMES SECTION === */
.lucky-star-games {
    padding: 60px 20px;
    background: var(--dark-bg-2);
}

.lucky-star-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.lucky-star-game-card {
    position: relative;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    display: block;
}

.lucky-star-game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px var(--shadow-green), 0 0 20px var(--shadow-gold);
}

.lucky-star-game-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.lucky-star-game-card:hover .lucky-star-game-glow {
    opacity: 1;
}

.lucky-star-game-icon {
    margin-bottom: 15px;
}

.lucky-star-game-icon i {
    font-size: 40px;
    color: var(--primary-gold);
    filter: drop-shadow(0 0 10px var(--shadow-gold));
}

.lucky-star-game-rating {
    margin-bottom: 10px;
}

.lucky-star-game-rating i {
    color: var(--primary-gold);
    font-size: 0.75rem;
    margin: 0 1px;
}

.lucky-star-game-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lucky-star-game-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 300;
}

.lucky-star-game-players {
    font-size: 0.75rem;
    color: var(--primary-green-light);
    font-weight: 500;
}

.lucky-star-game-players i {
    margin-right: 4px;
}

/* === LUCKY GRID SECTION === */
.lucky-grid-section {
    padding: 60px 20px;
    background: var(--dark-bg);
}

.lucky-grid-map {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lucky-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.lucky-grid-node {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

.lucky-grid-node:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-green);
}

.lucky-node-number-roll {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
    height: 36px;
    overflow: hidden;
}

.roll-digit {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-gold);
    display: inline-block;
    animation: numberRoll 4s ease infinite;
}

.roll-digit:nth-child(2) {
    animation-delay: 0.3s;
}

.roll-digit:nth-child(3) {
    animation-delay: 0.6s;
}

.lucky-node-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* === FORTUNE FEATURES SECTION === */
.fortune-features {
    padding: 60px 20px;
    background: var(--dark-bg-2);
}

.fortune-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.fortune-feature-card {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s;
}

.fortune-feature-card:hover {
    border-color: var(--primary-green-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-green);
}

.fortune-feature-icon {
    margin-bottom: 15px;
}

.fortune-feature-icon i {
    font-size: 36px;
    color: var(--primary-green-light);
    background: rgba(46, 125, 50, 0.15);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    transition: all 0.3s;
}

.fortune-feature-card:hover .fortune-feature-icon i {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px var(--shadow-gold);
}

.fortune-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.fortune-feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* === LUCKY STATS SECTION (Rolling Counters) === */
.lucky-stats {
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
}

.lucky-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    z-index: 0;
}

.green-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.lucky-stats .section-title,
.lucky-stats .section-subtitle {
    position: relative;
    z-index: 1;
}

.lucky-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lucky-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s;
}

.lucky-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    animation: luckyGlow 1.5s ease infinite;
}

.stat-lucky-decoration {
    margin-bottom: 10px;
}

.stat-lucky-decoration i {
    font-size: 1.2rem;
    color: var(--primary-gold);
    opacity: 0.6;
}

.stat-lucky-decoration.bottom {
    margin-bottom: 0;
    margin-top: 10px;
}

.stat-number-rolling {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rolling-digit {
    display: inline-block;
    transition: transform 0.5s ease;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    opacity: 0.9;
}

/* === LUCKY PROMOS SECTION === */
.lucky-promos {
    padding: 60px 20px;
    background: var(--dark-bg);
}

.lucky-promos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.lucky-promo-card {
    position: relative;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.lucky-promo-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px var(--shadow-green), 0 0 15px var(--shadow-gold);
}

.promo-lucky-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.lucky-promo-inner {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    z-index: 1;
}

.promo-icon {
    margin-bottom: 15px;
}

.promo-icon i {
    font-size: 36px;
    color: var(--primary-gold);
    animation: luckyGlow 3s ease infinite;
    border-radius: 50%;
    padding: 12px;
}

.lucky-promo-inner h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.lucky-promo-inner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 300;
}

.promo-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.promo-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.promo-badge.hot {
    background: #e53935;
    color: white;
}

.promo-badge.new {
    background: var(--primary-green);
    color: white;
}

.promo-badge.vip {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--dark-bg);
}

.btn-promo {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 25px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-promo:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-gold);
}

/* === FOOTER CTA SECTION === */
.footer-cta-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.footer-cta-luckyfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green), var(--dark-bg-2));
    z-index: 0;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-lucky-decoration {
    margin-bottom: 20px;
}

.cta-lucky-dice {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: var(--primary-gold);
    border-radius: 10px;
    transform: rotate(45deg);
    position: relative;
    animation: luckyGlow 2s ease infinite;
}

.cta-lucky-dice::after {
    content: '7';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.footer-cta-inner h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-cta-inner p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.cta-feature i {
    margin-right: 5px;
}

.cta-main-btn {
    animation: pulseScale 2s ease infinite;
}

/* === NEWS SECTION === */
.home-news-section {
    padding: 60px 20px;
    background: var(--dark-bg-2);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto 30px;
}

.article-card {
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-surface-2));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px var(--shadow-green);
}

.article-card-thumb {
    height: 180px;
    overflow: hidden;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-card:hover .article-card-thumb img {
    transform: scale(1.08);
}

.article-card-title {
    padding: 15px 15px 8px;
}

.article-card-title span,
.article-card-title a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a:hover {
    color: var(--primary-gold);
}

.article-card-meta {
    padding: 0 15px;
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-card-meta i {
    margin-right: 4px;
}

.article-card-excerpt {
    padding: 0 15px 15px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-more {
    display: block;
    padding: 10px 15px;
    font-size: 0.82rem;
    color: var(--primary-gold);
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s;
}

.article-card-more:hover {
    background: rgba(255, 215, 0, 0.1);
    padding-left: 20px;
}

.view-more-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 30px;
    border: 2px solid var(--primary-gold);
    border-radius: 25px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.view-more-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.gold-view-more {
    display: block;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
}

/* === LUCKY SHOWCASE SECTION === */
.lucky-showcase {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-surface));
    text-align: center;
}

.lucky-showcase-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto 30px;
}

.lucky-number-ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.lucky-number-ball:hover {
    transform: scale(1.15);
}

.ball-green {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border: 3px solid var(--primary-green-light);
    animation: luckyGlow 3s ease infinite;
}

.ball-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border: 3px solid var(--primary-gold-light);
    animation: luckyGlow 3s ease infinite;
    animation-delay: 1s;
}

.ball-white {
    background: linear-gradient(135deg, var(--white), #e0e0e0);
    border: 3px solid var(--white);
    animation: luckyGlow 3s ease infinite;
    animation-delay: 2s;
}

.ball-white .number-roll {
    color: var(--dark-bg);
}

.number-roll {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
}

.ball-gold .number-roll {
    color: var(--dark-bg);
}

.lucky-showcase-cta {
    margin-top: 10px;
}

/* === FOOTER === */
.site-footer {
    background: var(--dark-bg);
    border-top: 3px solid var(--primary-green);
    padding: 50px 0 30px;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-brand-logo img {
    height: 40px;
    margin-bottom: 12px;
}

.footer-brand-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 300;
}

.footer-18plus {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid #e53935;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: 700;
    color: #e53935;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social-links a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* License Bar */
.footer-license-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-license-bar h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.license-item i {
    color: var(--primary-green-light);
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.sidebar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.sidebar-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.sidebar-btn-facebook {
    background: #1877f2;
}

.sidebar-btn-telegram {
    background: #0088cc;
}

.sidebar-label {
    display: none;
}

/* === CONTENT AREA LAYOUT === */
.content-area {
    display: flex;
    gap: 25px;
    padding: 25px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-gold);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination .nav-links {
    display: flex;
    gap: 5px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    font-weight: 700;
}

/* === CATEGORY PAGE === */
.category-header {
    text-align: center;
    padding: 30px 0;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.category-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
}

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

.provider-tab {
    padding: 8px 18px;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.provider-tab:hover,
.provider-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* === SINGLE ARTICLE === */
.single-article {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.article-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta i {
    margin-right: 4px;
}

.article-featured-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-featured-img img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 400;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-display);
    color: var(--primary-gold);
    margin: 20px 0 10px;
    letter-spacing: 0.5px;
}

.article-content p {
    margin-bottom: 15px;
}

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

.article-content a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 15px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags i {
    color: var(--primary-gold);
}

.article-tags span {
    background: rgba(46, 125, 50, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
}

.article-nav a {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 500;
}

.article-nav a:hover {
    text-decoration: underline;
}

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}

.related-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.related-item-thumb {
    height: 100px;
    overflow: hidden;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    padding: 10px;
    font-size: 0.82rem;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === 404 PAGE === */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-lucky {
    margin-bottom: 20px;
}

.error-lucky-dice {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--primary-gold);
    border-radius: 15px;
    transform: rotate(45deg);
    animation: luckyGlow 2s ease infinite;
}

.error-code {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--primary-gold);
    letter-spacing: 5px;
}

.error-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.error-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* === PAGE TEMPLATE === */
.page-article {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.page-featured-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-content {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 15px;
}

/* === HOME NEWS PLACEHOLDER === */
.home-news-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* === ADDITIONAL ANIMATIONS FOR LUCKY NUMBERS === */
.lucky-number-ball:hover .number-roll {
    animation: numberRoll 0.5s ease;
}

.ball-green:hover {
    animation: jackpotFlash 0.8s ease;
}

.ball-gold:hover {
    animation: jackpotFlash 0.8s ease;
}

/* === MISC === */
::selection {
    background: var(--primary-green);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}
