/* ============================================
   MEGABALL THEME - main.css (moban-112)
   Mega Lottery Ball Draw Theme
   Colors: #1565C0 (Blue), #FFD700 (Gold), #C62828 (Red)
   ============================================ */

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

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

body {
    font-family: 'Open Sans', sans-serif;
    background: #0a1628;
    color: #d8e2f0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bree Serif', serif;
    font-weight: 400;
    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, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blue-text {
    color: #1565C0;
    background: linear-gradient(90deg, #1565C0, #42A5F5, #1565C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* @keyframes ballDrop - Lottery balls dropping from machine */
@keyframes ballDrop {
    0% {
        transform: translateY(-300px) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    60% {
        transform: translateY(20px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) rotate(270deg);
    }
    85% {
        transform: translateY(5px) rotate(330deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 1;
    }
}

/* @keyframes megaRoll - Ball rolling across surface */
@keyframes megaRoll {
    0% {
        transform: translateX(-100px) rotate(0deg);
    }
    25% {
        transform: translateX(0px) rotate(90deg);
    }
    50% {
        transform: translateX(100px) rotate(180deg);
    }
    75% {
        transform: translateX(50px) rotate(270deg);
    }
    100% {
        transform: translateX(0px) rotate(360deg);
    }
}

/* @keyframes drawReveal - Curtain reveal for draw results */
@keyframes drawReveal {
    0% {
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        clip-path: circle(50% at 50% 50%);
        opacity: 0.7;
        transform: scale(0.9);
    }
    100% {
        clip-path: circle(100% at 50% 50%);
        opacity: 1;
        transform: scale(1);
    }
}

/* @keyframes jackpotPulse - Pulsing jackpot highlight */
@keyframes jackpotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0.3);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 30px rgba(255, 215, 0, 0.1);
        transform: scale(1.05);
    }
    75% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0.3);
        transform: scale(1.02);
    }
}

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

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

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

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

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    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(10, 22, 40, 0.9);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background: linear-gradient(135deg, #0d2240, #152d50, #0d2240);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 35px;
    max-width: 480px;
    width: 90%;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(21, 101, 192, 0.2);
    animation: drawReveal 0.6s ease forwards;
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #FFD700;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.announcement-close:hover {
    color: #C62828;
    transform: rotate(90deg);
}

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

.announcement-header-icon i {
    font-size: 48px;
    color: #FFD700;
    animation: jackpotPulse 2s infinite;
    display: inline-block;
    border-radius: 50%;
}

.announcement-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    font-family: 'Bree Serif', serif;
}

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

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(21, 101, 192, 0.1);
    border: 1px solid rgba(21, 101, 192, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #d8e2f0;
}

.announcement-item:hover {
    background: rgba(21, 101, 192, 0.2);
    border-color: #FFD700;
    transform: translateX(5px);
    text-shadow: none;
}

.announcement-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.announcement-badge.hot {
    background: linear-gradient(135deg, #C62828, #EF5350);
    color: white;
}

.announcement-badge.new {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    color: white;
}

.announcement-badge.info {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
}

.announcement-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

.announcement-item i:last-child {
    color: rgba(255, 215, 0, 0.5);
    font-size: 12px;
}

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

.announcement-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: jackpotPulse 2s infinite;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    color: #0a1628;
}

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, #0d1f3a, #0a1628);
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 9999;
}

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

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

.header-time {
    color: #42A5F5;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Bree Serif', serif;
}

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

.btn-login {
    background: transparent;
    border: 2px solid #1565C0;
    color: #42A5F5;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #1565C0;
    color: white;
    text-shadow: none;
}

.btn-register {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    color: #0a1628;
}

.btn-demo {
    background: transparent;
    border: 2px solid #C62828;
    color: #EF5350;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #C62828;
    color: white;
    text-shadow: none;
}

/* === NAVIGATION === */
.main-navigation {
    background: linear-gradient(90deg, #0d2240, #15305a, #0d2240);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 18px;
    color: #d8e2f0;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(21, 101, 192, 0.1);
    border-bottom-color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-link i {
    margin-right: 5px;
    font-size: 12px;
}

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

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, #1565C0, #0d47a1);
    padding: 8px 0;
    overflow: hidden;
}

.notification-content {
    display: flex;
    gap: 50px;
    animation: notificationScroll 30s linear infinite;
    white-space: nowrap;
}

.notification-content span {
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === HERO SECTION === */
.megaball-hero {
    position: relative;
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at center, rgba(21, 101, 192, 0.2) 0%, rgba(10, 22, 40, 0.9) 70%);
    overflow: hidden;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ball-machine-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

.machine-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid;
    animation: glowRotate 10s linear infinite;
}

.machine-glow-ring.ring-1 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    border-color: rgba(21, 101, 192, 0.3);
    animation-duration: 8s;
}

.machine-glow-ring.ring-2 {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    border-color: rgba(255, 215, 0, 0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}

.machine-glow-ring.ring-3 {
    width: 500px;
    height: 500px;
    margin: -250px 0 0 -250px;
    border-color: rgba(198, 40, 40, 0.15);
    animation-duration: 16s;
}

.mega-ball-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    z-index: 2;
    flex-wrap: wrap;
}

.mega-ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Bree Serif', serif;
    font-size: 28px;
    font-weight: 700;
    color: #0a1628;
    animation: ballDrop 1.5s ease forwards, floatUp 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.mega-ball:nth-child(1) { animation-delay: 0s, 1.5s; }
.mega-ball:nth-child(2) { animation-delay: 0.2s, 1.7s; }
.mega-ball:nth-child(3) { animation-delay: 0.4s, 1.9s; }
.mega-ball:nth-child(4) { animation-delay: 0.6s, 2.1s; }
.mega-ball:nth-child(5) { animation-delay: 0.8s, 2.3s; }
.mega-ball:nth-child(6) { animation-delay: 1.0s, 2.5s; }

.mega-ball.ball-gold {
    background: radial-gradient(circle at 30% 30%, #FFE082, #FFD700, #FFA000);
    color: #0a1628;
}

.mega-ball.ball-blue {
    background: radial-gradient(circle at 30% 30%, #64B5F6, #1565C0, #0D47A1);
    color: white;
}

.mega-ball.ball-red {
    background: radial-gradient(circle at 30% 30%, #EF5350, #C62828, #8E0000);
    color: white;
}

.mega-ball.mega-ball-center {
    width: 100px;
    height: 100px;
    font-size: 36px;
    animation: ballDrop 1.5s ease forwards, jackpotPulse 2s ease-in-out infinite;
    animation-delay: 0.6s, 2.1s;
}

.mega-ball.mega-ball-bonus {
    animation: ballDrop 1.5s ease forwards, megaRoll 4s ease-in-out infinite;
    animation-delay: 1.0s, 2.5s;
}

.ball-shine {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 20px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.ball-number {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-inner-content {
    position: relative;
    z-index: 3;
}

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

.hero-brand {
    display: block;
    font-size: 56px;
    font-family: 'Bree Serif', serif;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 4px;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

.hero-divider-line {
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin: 10px auto;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    color: #42A5F5;
    letter-spacing: 3px;
    font-weight: 300;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #b0c4de;
    line-height: 1.8;
    font-weight: 300;
}

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

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

.hero-stat-number {
    display: block;
    font-size: 32px;
    font-family: 'Bree Serif', serif;
    color: #FFD700;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 13px;
    color: #90a4ae;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.btn-gold-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    color: #0a1628;
}

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

.btn-outline-gold:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* === SECTION COMMON === */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 2px;
}

.section-title i {
    margin-right: 8px;
}

.section-subtitle {
    text-align: center;
    color: #90a4ae;
    font-size: 15px;
    margin-bottom: 40px;
    font-weight: 300;
}

/* === STAR GAMES SECTION === */
.ball-star-games {
    padding: 60px 0;
    position: relative;
}

.ball-star-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ball-star-game-card {
    position: relative;
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    display: block;
    color: #d8e2f0;
}

.ball-star-game-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
    color: #d8e2f0;
}

.ball-star-game-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.ball-star-game-icon {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 15px;
}

.ball-star-game-icon i {
    display: inline-block;
    animation: floatUp 3s ease-in-out infinite;
}

.ball-star-game-rating {
    margin-bottom: 12px;
}

.ball-star-game-rating i {
    color: #FFD700;
    font-size: 12px;
    margin: 0 2px;
}

.ball-star-game-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFD700;
    font-family: 'Bree Serif', serif;
}

.ball-star-game-card p {
    font-size: 13px;
    color: #90a4ae;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
}

.ball-star-game-players {
    font-size: 12px;
    color: #42A5F5;
    font-weight: 600;
}

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

/* === BALL GRID SECTION === */
.ball-grid-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(21, 101, 192, 0.05) 0%, transparent 100%);
}

.ball-grid-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.ball-grid-node {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    color: #d8e2f0;
}

.ball-grid-node:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2);
    color: #d8e2f0;
}

.ball-node-icon {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 10px;
}

.ball-node-icon i {
    animation: ballBounce 2s ease-in-out infinite;
    display: inline-block;
}

.ball-node-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === DRAW FEATURES SECTION === */
.draw-features {
    padding: 60px 0;
}

.draw-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.draw-feature-card {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.draw-feature-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.3);
}

.draw-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #FFD700;
    transition: all 0.3s ease;
}

.draw-feature-card:hover .draw-feature-icon {
    animation: jackpotPulse 1s ease;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
}

.draw-feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #FFD700;
    font-family: 'Bree Serif', serif;
}

.draw-feature-card p {
    font-size: 13px;
    color: #90a4ae;
    line-height: 1.6;
    font-weight: 300;
}

/* === STATS SECTION === */
.ball-stats {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.ball-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1f3a, #152d50);
    z-index: -1;
}

.blue-gradient-overlay {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(21, 101, 192, 0.2) 0%, transparent 70%);
}

.ball-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ball-stat-card {
    background: linear-gradient(135deg, rgba(13, 34, 64, 0.8), rgba(21, 45, 80, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.ball-stat-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    animation: jackpotPulse 1.5s ease;
}

.stat-ball-decoration {
    color: rgba(255, 215, 0, 0.2);
    font-size: 24px;
    margin-bottom: 10px;
}

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

.stat-ball-decoration i {
    animation: floatUp 3s ease-in-out infinite;
    display: inline-block;
}

.stat-number {
    font-size: 42px;
    font-family: 'Bree Serif', serif;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: #90a4ae;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* === PROMOTIONS SECTION === */
.ball-promos {
    padding: 60px 0;
}

.ball-promos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ball-promo-card {
    position: relative;
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ball-promo-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
}

.promo-ball-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ball-promo-card:hover .promo-ball-bg {
    opacity: 1;
}

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

.promo-icon {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 15px;
}

.promo-icon i {
    animation: floatUp 3s ease-in-out infinite;
    display: inline-block;
}

.ball-promo-inner h3 {
    font-size: 18px;
    color: #FFD700;
    margin-bottom: 12px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 1px;
}

.ball-promo-inner p {
    font-size: 13px;
    color: #90a4ae;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
}

.promo-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #90a4ae;
}

.promo-badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo-badge.hot {
    background: linear-gradient(135deg, #C62828, #EF5350);
    color: white;
}

.promo-badge.new {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    color: white;
}

.promo-badge.vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
}

.btn-promo {
    display: inline-block;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #FFD700;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.btn-promo:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

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

.footer-cta-ballfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1f3a, #152d50, #0d1f3a);
    z-index: -1;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
}

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

.cta-mega-ball {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #FFE082, #FFD700, #FFA000);
    border-radius: 50%;
    margin: 0 auto;
    animation: jackpotPulse 2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.footer-cta-inner h2 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 15px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 3px;
}

.footer-cta-inner p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: #b0c4de;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

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

.cta-feature {
    color: #42A5F5;
    font-size: 14px;
    font-weight: 600;
}

.cta-feature i {
    margin-right: 6px;
    color: #FFD700;
}

.cta-main-btn {
    font-size: 18px;
    padding: 16px 45px;
}

/* === NEWS SECTION === */
.home-news-section {
    padding: 60px 0;
}

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

.home-news-placeholder {
    display: contents;
}

.article-card {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    color: #d8e2f0;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.3);
    color: #d8e2f0;
}

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

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

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

.article-card-title {
    padding: 15px 20px 8px;
    font-size: 16px;
    font-family: 'Bree Serif', serif;
    line-height: 1.4;
}

.article-card-title span {
    color: #d8e2f0;
    transition: color 0.3s ease;
}

.article-card:hover .article-card-title span {
    color: #FFD700;
}

.article-card-meta {
    padding: 0 20px;
    font-size: 12px;
    color: #90a4ae;
    margin-bottom: 8px;
}

.article-card-meta i {
    margin-right: 4px;
    color: #1565C0;
}

.article-card-excerpt {
    padding: 0 20px 15px;
    font-size: 13px;
    color: #90a4ae;
    line-height: 1.6;
    font-weight: 300;
}

.article-card-more {
    display: block;
    padding: 12px 20px;
    border-top: 1px solid rgba(21, 101, 192, 0.2);
    color: #FFD700;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
}

.article-card-more:hover {
    background: rgba(255, 215, 0, 0.05);
    color: #FFD700;
}

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

.view-more-btn:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

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

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

/* === BREADCRUMB === */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #90a4ae;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #42A5F5;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FFD700;
}

.breadcrumb span {
    color: #90a4ae;
}

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

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #90a4ae;
}

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

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    color: #d8e2f0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a1628;
    border-color: #FFD700;
}

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

.category-title {
    font-size: 32px;
    font-family: 'Bree Serif', serif;
    margin-bottom: 10px;
}

.category-desc {
    color: #90a4ae;
    font-size: 15px;
    font-weight: 300;
}

/* === PROVIDER TABS === */
.provider-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.provider-tab {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    color: #d8e2f0;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-tab:hover,
.provider-tab.active {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    border-color: #FFD700;
    color: #FFD700;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.article-title {
    font-size: 28px;
    font-family: 'Bree Serif', serif;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #90a4ae;
}

.article-meta i {
    margin-right: 4px;
    color: #1565C0;
}

.article-meta a {
    color: #42A5F5;
}

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

.article-featured-img img {
    width: 100%;
    border-radius: 10px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #d8e2f0;
    font-weight: 300;
}

.article-content h2,
.article-content h3 {
    color: #FFD700;
    margin: 25px 0 15px;
    font-family: 'Bree Serif', serif;
}

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

.article-content a {
    color: #42A5F5;
    text-decoration: underline;
}

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

.article-content blockquote {
    border-left: 4px solid #FFD700;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(21, 101, 192, 0.1);
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-tags {
    padding: 20px 0;
    border-top: 1px solid rgba(21, 101, 192, 0.2);
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags i {
    color: #FFD700;
}

.article-tags span {
    background: rgba(21, 101, 192, 0.2);
    border: 1px solid rgba(21, 101, 192, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #42A5F5;
}

.article-tags a {
    color: #42A5F5;
}

/* === ARTICLE NAV === */
.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(21, 101, 192, 0.2);
    margin-top: 20px;
}

.article-nav-prev,
.article-nav-next {
    max-width: 45%;
}

.article-nav a {
    color: #42A5F5;
    font-size: 14px;
}

.article-nav a:hover {
    color: #FFD700;
}

/* === RELATED POSTS === */
.related-posts {
    padding: 30px 0;
}

.related-posts-title {
    font-size: 22px;
    font-family: 'Bree Serif', serif;
    margin-bottom: 20px;
}

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

.related-item {
    display: block;
    color: #d8e2f0;
    transition: all 0.3s ease;
}

.related-item:hover {
    color: #FFD700;
}

.related-item-thumb {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-item-thumb img {
    transform: scale(1.05);
}

.related-item-title {
    font-size: 13px;
    font-family: 'Bree Serif', serif;
    line-height: 1.4;
}

/* === PAGE ARTICLE === */
.page-article {
    background: linear-gradient(135deg, #0d2240, #152d50);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: 15px;
    padding: 30px;
}

.page-title {
    font-size: 28px;
    font-family: 'Bree Serif', serif;
    color: #FFD700;
    margin-bottom: 20px;
}

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

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #d8e2f0;
    font-weight: 300;
}

.page-content h2,
.page-content h3 {
    color: #FFD700;
    margin: 20px 0 10px;
}

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

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

.error-ball {
    margin-bottom: 30px;
}

.error-mega-ball {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #FFE082, #FFD700, #FFA000);
    border-radius: 50%;
    margin: 0 auto;
    animation: jackpotPulse 2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.error-code {
    font-size: 100px;
    font-family: 'Bree Serif', serif;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 10px;
}

.error-title {
    font-size: 24px;
    color: #C62828;
    margin-bottom: 15px;
    font-family: 'Bree Serif', serif;
}

.error-desc {
    color: #90a4ae;
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}

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

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #FFD700;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.sidebar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.4);
    color: #FFD700;
}

.sidebar-btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0D47A1);
}

.sidebar-btn-telegram {
    background: linear-gradient(135deg, #0088cc, #005f8a);
}

.sidebar-label {
    display: none;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #0a1628, #060d1a);
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    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: 40px;
}

.footer-brand-text {
    font-size: 13px;
    color: #90a4ae;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 300;
}

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

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

.footer-social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(21, 101, 192, 0.2);
    border: 1px solid rgba(21, 101, 192, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #42A5F5;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #1565C0;
    color: #FFD700;
    border-color: #FFD700;
}

.footer-col h4 {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 15px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #90a4ae;
    font-size: 13px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: #FFD700;
    padding-left: 5px;
}

/* === LICENSE BAR === */
.footer-license-bar {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(21, 101, 192, 0.2);
    border-bottom: 1px solid rgba(21, 101, 192, 0.2);
    margin-bottom: 20px;
}

.footer-license-bar h4 {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 20px;
    font-family: 'Bree Serif', serif;
    letter-spacing: 1px;
}

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

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.license-item i {
    font-size: 28px;
    color: #1565C0;
}

.license-item span {
    font-size: 11px;
    color: #90a4ae;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #90a4ae;
    font-weight: 300;
}

/* === DYNAMIC PARTICLES === */
.dynamic-ball-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

/* === SCROLL ANIMATIONS === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
