/* ============================================================
   LOTTO88 Theme - Main Stylesheet
   Color Scheme: Lucky Purple (#6A1B9A→#8E24AA) + Gold (#FFD700) + White
   ============================================================ */

/* === CSS Variables === */
:root {
    --purple: #6A1B9A;
    --purple-light: #8E24AA;
    --purple-dark: #4A148C;
    --purple-deeper: #38006B;
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gold-dark: #C7A600;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-lighter: #2a2a2a;
    --white: #ffffff;
    --white-off: #f5f5f5;
    --gray: #888888;
    --gray-light: #cccccc;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-gold: #FFD700;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-max: 1200px;
    --transition: all 0.3s ease;
    --shadow-card: 0 4px 15px rgba(0,0,0,0.3);
    --shadow-gold: 0 0 20px rgba(255,215,0,0.3);
    --shadow-purple: 0 0 20px rgba(106,27,154,0.4);
    --border-gold: 2px solid var(--gold);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gold);
}

.gold-text {
    color: var(--gold) !important;
}

/* === Announcement Modal === */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: 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(145deg, var(--purple-dark), var(--black-light));
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 0 40px rgba(106,27,154,0.5), 0 0 80px rgba(255,215,0,0.15);
}

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

.announcement-close:hover {
    transform: rotate(90deg);
    color: var(--gold-light);
}

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

.announcement-header-icon i {
    font-size: 48px;
    color: var(--gold);
    animation: goldShine 2s ease infinite;
}

.announcement-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.announcement-list {
    text-align: left;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(106,27,154,0.2);
    border: 1px solid rgba(142,36,170,0.3);
    transition: var(--transition);
    color: var(--white);
}

.announcement-item:hover {
    background: rgba(106,27,154,0.4);
    border-color: var(--gold);
    transform: translateX(5px);
    color: var(--white);
}

.announcement-item i.fa-chevron-right {
    margin-left: auto;
    font-size: 12px;
    color: var(--gold);
}

.announcement-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

.announcement-badge.new {
    background: var(--gold);
    color: var(--black);
}

.announcement-badge.info {
    background: #2196F3;
    color: white;
}

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

.announcement-footer {
    padding-top: 10px;
}

.announcement-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,215,0,0.5);
    color: var(--black);
}

/* === Header === */
.site-header {
    background: linear-gradient(180deg, var(--purple-dark) 0%, var(--black) 100%);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.logo img {
    max-height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.header-time {
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.btn-login {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    background: transparent;
}

.btn-login:hover {
    background: var(--gold);
    color: var(--black);
}

.btn-register {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 20px;
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(255,215,0,0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.5);
    color: var(--black);
}

.btn-demo {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--purple-light);
    border-radius: 20px;
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    background: transparent;
}

.btn-demo:hover {
    background: var(--purple-light);
    color: var(--white);
}

/* === Navigation === */
.main-navigation {
    background: rgba(106,27,154,0.15);
    border-top: 1px solid rgba(142,36,170,0.3);
}

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

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--gold);
    background: rgba(106,27,154,0.3);
}

.nav-link i {
    margin-right: 4px;
    font-size: 12px;
    color: var(--gold);
}

/* Dropdown */
.nav-item.has-dropdown .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--purple-dark);
    border: 1px solid rgba(255,215,0,0.2);
    min-width: 200px;
    z-index: 100;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-item.has-dropdown:hover .sub-menu {
    display: block;
}

.sub-menu .nav-link {
    padding: 10px 20px;
    font-size: 12px;
    border-bottom: 1px solid rgba(142,36,170,0.2);
}

/* === Notification Bar === */
.notification-bar {
    background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-dark));
    overflow: hidden;
    padding: 8px 0;
    border-top: 1px solid rgba(255,215,0,0.2);
}

.notification-content {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: scrollNotification 30s linear infinite;
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
}

/* === Content Area Layout === */
.content-area {
    display: flex;
    gap: 25px;
    padding: 25px 0;
}

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

/* === Section Common Styles === */
.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
}

/* === Hero Section === */
.lotto-hero {
    position: relative;
    padding: 70px 40px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 40%, var(--purple-light) 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lotto-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    top: -100px;
    right: -50px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--purple-light);
    bottom: -50px;
    left: -30px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--gold-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 6s ease-in-out infinite 2s;
}

/* Floating 3D Number Balls */
.hero-ball-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-ball {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ballBounce 4s ease-in-out infinite;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.4),
                inset 5px 5px 15px rgba(255,255,255,0.2),
                0 5px 15px rgba(0,0,0,0.3);
}

.floating-ball span {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.fb-1 {
    top: 8%;
    left: 5%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e74c3c 40%, #c0392b 100%);
    animation-delay: 0s;
}

.fb-2 {
    top: 15%;
    right: 8%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #3498db 40%, #2980b9 100%);
    animation-delay: 0.5s;
}

.fb-3 {
    bottom: 20%;
    left: 8%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #2ecc71 40%, #27ae60 100%);
    animation-delay: 1s;
}

.fb-4 {
    top: 35%;
    left: 3%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f39c12 40%, #e67e22 100%);
    animation-delay: 1.5s;
}

.fb-5 {
    bottom: 10%;
    right: 5%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #9b59b6 40%, #8e44ad 100%);
    animation-delay: 2s;
}

.fb-6 {
    top: 5%;
    left: 35%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--gold) 40%, var(--gold-dark) 100%);
    animation-delay: 2.5s;
}

.fb-7 {
    bottom: 30%;
    right: 3%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #1abc9c 40%, #16a085 100%);
    animation-delay: 3s;
}

.fb-8 {
    top: 50%;
    right: 15%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e74c3c 40%, #c0392b 100%);
    animation-delay: 3.5s;
    width: 45px;
    height: 45px;
}

.fb-8 span {
    font-size: 16px;
}

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

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

.hero-brand {
    display: block;
    font-size: 64px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(255,215,0,0.5),
                 0 4px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
}

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

.hero-tagline {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

/* Jackpot Display */
.hero-jackpot-display {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border: 2px solid var(--gold);
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 0 30px rgba(255,215,0,0.2);
}

.jackpot-label {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 5px;
}

.jackpot-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.jackpot-currency {
    font-size: 24px;
    color: var(--gold);
    font-weight: 700;
}

.jackpot-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255,215,0,0.4);
    animation: goldShine 3s ease infinite;
}

.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(--gold), var(--gold-dark));
    color: var(--black);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,215,0,0.3);
    text-transform: uppercase;
}

.btn-gold-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.5);
    color: var(--black);
}

.btn-outline-gold {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

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

/* === 3D Lotto Balls (Large) === */
.lotto-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.4),
                inset 5px 5px 15px rgba(255,255,255,0.2),
                0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    cursor: default;
}

.lotto-ball span {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.lotto-ball:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.4),
                inset 5px 5px 15px rgba(255,255,255,0.2),
                0 8px 25px rgba(0,0,0,0.4),
                0 0 20px rgba(255,215,0,0.3);
}

.ball-red {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e74c3c 40%, #c0392b 100%);
}

.ball-blue {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #3498db 40%, #2980b9 100%);
}

.ball-green {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #2ecc71 40%, #27ae60 100%);
}

.ball-orange {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f39c12 40%, #e67e22 100%);
}

.ball-purple {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #9b59b6 40%, #8e44ad 100%);
}

.ball-gold {
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--gold) 40%, var(--gold-dark) 100%);
}

/* 3D Lotto Balls (Small for history) */
.lotto-ball-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -3px -3px 10px rgba(0,0,0,0.4),
                inset 3px 3px 10px rgba(255,255,255,0.2),
                0 3px 8px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.lotto-ball-sm span {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.lotto-ball-sm:hover {
    transform: scale(1.1);
}

/* === Draw Results Panel === */
.draw-results {
    margin-bottom: 40px;
}

.draw-result-panel {
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 2px solid var(--gold);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255,215,0,0.15), 0 10px 40px rgba(0,0,0,0.3);
}

.draw-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    border-bottom: 1px solid rgba(255,215,0,0.3);
}

.draw-type-badge {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mega-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.draw-date {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.draw-date i {
    margin-right: 5px;
    color: var(--gold);
}

.draw-panel-body {
    padding: 30px 25px;
    text-align: center;
}

.draw-numbers-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.draw-jackpot-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(106,27,154,0.2);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 10px;
    display: inline-flex;
    gap: 8px;
}

.draw-jackpot-label {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 600;
}

.draw-jackpot-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
}

.draw-result-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid rgba(142,36,170,0.3);
}

.draw-stat {
    color: var(--text-secondary);
    font-size: 13px;
}

.draw-stat i {
    color: var(--gold);
    margin-right: 5px;
}

/* === Number History Grid === */
.number-history {
    margin-bottom: 40px;
}

.history-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 10px;
    transition: var(--transition);
    flex-wrap: wrap;
    gap: 10px;
}

.history-row:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(106,27,154,0.15), var(--black-lighter));
    transform: translateX(5px);
}

.history-date {
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-date i {
    color: var(--gold);
}

.history-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.mega-sm {
    background: var(--gold);
    color: var(--black);
}

.power-sm {
    background: var(--purple-light);
    color: var(--white);
}

.history-balls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.history-prize {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold);
    font-size: 15px;
    min-width: 100px;
    text-align: right;
}

/* === Lotto Types Grid === */
.lotto-types {
    margin-bottom: 40px;
}

.lotto-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lotto-type-card {
    display: block;
    padding: 30px 20px;
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.lotto-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.05), transparent);
    transition: 0.6s ease;
}

.lotto-type-card:hover::before {
    left: 100%;
}

.lotto-type-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(106,27,154,0.3), 0 0 20px rgba(255,215,0,0.1);
    color: var(--white);
}

.lotto-type-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    transition: var(--transition);
}

.mega-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.power-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
}

.max3d-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: var(--white);
}

.keno-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: var(--white);
}

.speed-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: var(--white);
}

.pick3-icon {
    background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
    color: var(--white);
}

.lotto-type-card:hover .lotto-type-icon {
    transform: scale(1.1);
}

.lotto-type-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.lotto-type-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.lotto-type-jackpot {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(106,27,154,0.3);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
}

/* === Lucky Number Generator === */
.lucky-generator {
    margin-bottom: 40px;
}

.generator-panel {
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255,215,0,0.1);
}

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

.gen-ball {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--purple-light) 40%, var(--purple-dark) 100%);
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.4),
                inset 5px 5px 15px rgba(255,255,255,0.2),
                0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gen-ball span {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 2;
}

.gen-ball.cycling {
    animation: numberCycle 0.1s linear infinite;
}

.gen-ball.revealed {
    animation: resultReveal 0.5s ease forwards;
}

.gen-ball.revealed.ball-red {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e74c3c 40%, #c0392b 100%);
}

.gen-ball.revealed.ball-blue {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #3498db 40%, #2980b9 100%);
}

.gen-ball.revealed.ball-green {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #2ecc71 40%, #27ae60 100%);
}

.gen-ball.revealed.ball-orange {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f39c12 40%, #e67e22 100%);
}

.gen-ball.revealed.ball-purple {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #9b59b6 40%, #8e44ad 100%);
}

.gen-ball.revealed.ball-gold {
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--gold) 40%, var(--gold-dark) 100%);
}

.generator-message {
    font-size: 15px;
    color: var(--gold);
    margin-bottom: 20px;
    min-height: 24px;
    font-weight: 500;
}

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,215,0,0.3),
                0 0 40px rgba(255,215,0,0.1);
    text-transform: uppercase;
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.5),
                0 0 60px rgba(255,215,0,0.2);
}

.btn-generate:active {
    transform: translateY(0);
}

.btn-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-generate i {
    animation: spin 1s linear infinite;
}

.btn-generate:not(.generating) i {
    animation: none;
}

.generator-tips {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray);
}

.generator-tips i {
    color: var(--purple-light);
    margin-right: 5px;
}

/* === Promotions Section === */
.lotto-promos {
    margin-bottom: 40px;
}

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

.promo-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(142,36,170,0.3);
    transition: var(--transition);
}

.promo-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106,27,154,0.3);
}

.promo-inner {
    padding: 30px 20px;
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    text-align: center;
    height: 100%;
}

.promo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--gold);
    font-size: 24px;
}

.promo-inner h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.promo-inner p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.promo-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #ff4444;
    color: white;
}

.promo-badge.new {
    background: var(--gold);
    color: var(--black);
}

.btn-promo {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    color: var(--black);
}

/* === Footer CTA Section === */
.footer-cta-section {
    margin-bottom: 40px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--purple-light));
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,215,0,0.3);
}

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

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

.cta-ball {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, rgba(255,215,0,0.1) 40%, rgba(255,215,0,0.05) 100%);
    box-shadow: inset -3px -3px 8px rgba(0,0,0,0.2);
    animation: ballBounce 5s ease-in-out infinite;
}

.cta-ball-1 { top: 10%; left: 5%; animation-delay: 0s; }
.cta-ball-2 { top: 20%; right: 8%; animation-delay: 1s; }
.cta-ball-3 { bottom: 15%; left: 15%; animation-delay: 2s; }
.cta-ball-4 { bottom: 25%; right: 12%; animation-delay: 3s; }
.cta-ball-5 { top: 50%; left: 50%; animation-delay: 0.5s; }

.footer-cta-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

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

.cta-feature {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.cta-feature i {
    color: var(--gold);
    margin-right: 5px;
}

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

/* === News Section === */
.home-news-section {
    margin-bottom: 30px;
}

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

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

/* === Article Cards === */
.article-card {
    display: block;
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    color: var(--white);
}

.article-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106,27,154,0.3);
    color: var(--white);
}

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

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.article-card-title span,
.article-card-title a {
    font-family: var(--font-heading);
    font-size: 16px;
    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(--gold);
}

.article-card-meta {
    padding: 5px 15px;
    font-size: 12px;
    color: var(--gray);
    display: flex;
    gap: 15px;
}

.article-card-meta i {
    margin-right: 4px;
    color: var(--purple-light);
}

.article-card-excerpt {
    padding: 5px 15px 15px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-more {
    display: block;
    padding: 0 15px 15px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.article-card-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.article-card-more:hover i {
    transform: translateX(5px);
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
}

.gold-view-more {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.gold-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    color: var(--black);
}

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

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

/* === Single Article === */
.single-article {
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.article-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--gray);
}

.article-meta i {
    margin-right: 5px;
    color: var(--purple-light);
}

.article-meta a {
    color: var(--gold);
}

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

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

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.article-content h2,
.article-content h3 {
    color: var(--gold);
    margin: 25px 0 10px;
}

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

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

.article-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(106,27,154,0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

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

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

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(142,36,170,0.3);
}

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

.article-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(106,27,154,0.2);
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-secondary);
}

.article-tags span a {
    color: var(--text-secondary);
}

.article-tags span a:hover {
    color: var(--gold);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(142,36,170,0.3);
}

.article-nav-prev a,
.article-nav-next a {
    color: var(--gold);
    font-size: 14px;
}

.article-nav-prev i { margin-right: 5px; }
.article-nav-next i { margin-left: 5px; }

/* === Related Posts === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.related-item {
    display: block;
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    color: var(--white);
}

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

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

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

.related-item-title {
    padding: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Page Article === */
.page-article {
    background: linear-gradient(145deg, var(--black-light), var(--black-lighter));
    border: 1px solid rgba(142,36,170,0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.page-featured-img img {
    width: 100%;
    display: block;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-content p { margin-bottom: 15px; }
.page-content h2, .page-content h3 { color: var(--gold); margin: 20px 0 10px; }
.page-content a { color: var(--gold); text-decoration: underline; }

/* === Category Header === */
.category-header {
    padding: 25px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(142,36,170,0.3);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-title i {
    margin-right: 10px;
}

.category-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* === Breadcrumb === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 13px;
    color: var(--gray);
}

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

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

.breadcrumb span {
    color: var(--text-secondary);
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(142,36,170,0.3);
    background: var(--black-light);
    color: var(--text-secondary);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border-color: var(--gold);
}

/* === Provider Tabs === */
.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.provider-tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(142,36,170,0.3);
    background: var(--black-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.provider-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.provider-tab.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border-color: var(--gold);
}

/* === Site Footer === */
.site-footer {
    background: linear-gradient(180deg, var(--black) 0%, var(--purple-deeper) 100%);
    border-top: 2px solid var(--gold);
    padding: 40px 0 20px;
    margin-top: 30px;
}

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

.footer-brand-logo {
    margin-bottom: 15px;
}

.footer-brand-logo img {
    max-height: 45px;
}

.footer-brand-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

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

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106,27,154,0.3);
    border: 1px solid rgba(142,36,170,0.3);
    color: var(--gold);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

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

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

.footer-col a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
}

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

/* License Bar */
.footer-license-bar {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(142,36,170,0.3);
    border-bottom: 1px solid rgba(142,36,170,0.3);
    margin-bottom: 20px;
}

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

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

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

.license-item i {
    font-size: 28px;
    color: var(--gold);
}

.license-item span {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--gray);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--gray);
}

/* === Floating Sidebar === */
.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: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--gold);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255,215,0,0.3);
    position: relative;
}

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

.sidebar-label {
    display: none;
    position: absolute;
    right: 55px;
    background: var(--black);
    color: var(--gold);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid rgba(255,215,0,0.3);
}

.sidebar-btn:hover .sidebar-label {
    display: block;
}

.sidebar-btn-facebook {
    background: #1877F2;
    color: white;
}

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

/* === Keyframe Animations === */
@keyframes scrollNotification {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes modalSlideIn {
    0% { transform: translateY(-30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes ballBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-8px); }
}

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

@keyframes goldShine {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255,215,0,0.4);
    }
    50% { 
        text-shadow: 0 0 40px rgba(255,215,0,0.8), 0 0 60px rgba(255,215,0,0.3);
    }
}

@keyframes resultReveal {
    0% { transform: scale(0.5) rotate(180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    50% { transform: translate(-15px, 15px); }
    75% { transform: translate(10px, -10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* === Scroll Animation Utility === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Swiper Overrides === */
.swiper-pagination-bullet {
    background: var(--purple-light) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--gold-light) !important;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-light);
}

/* === Selection Styling === */
::selection {
    background: var(--purple);
    color: var(--gold);
}

/* === Print styles === */
@media print {
    .site-header,
    .floating-sidebar,
    .announcement-modal,
    .notification-bar,
    .site-footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .article-content {
        color: black;
    }
}
