@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600;700&display=swap');

:root {
    --primary-red: #8B0000;
    --primary-dark: #4B0000;
    --accent: #FFD700;
    --accent-dark: #B8860B;
    --text-white: #FFFFFF;
    --gradient-red: linear-gradient(135deg, #8B0000 0%, #4B0000 100%);
    --gradient-gold: linear-gradient(135deg, #FFB900 0%, #FFD700 45%, #FFFFFF 50%, #FFD700 55%, #FFB900 100%);
    --bg-dark: #050000;
    --bg-card: rgba(15, 1, 1, 0.98);
    --thai-gold-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    max-width: 100%;
}

/* Global Navigation & Bars - Standardized for Desktop */
.sticky-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(180deg, #8B0000 0%, #500000 100%);
    backdrop-filter: blur(10px);
    z-index: 3000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    overflow: hidden;
}

nav {
    position: fixed;
    top: 45px !important;
    left: 0;
    width: 100%;
    height: 75px;
    /* Fixed height for better alignment calculation */
    padding: 0;
    /* Changed to use flex center */
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2990;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
}



html {
    scroll-behavior: smooth;
}

body {
    background-color: #050000;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('BG.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a,
button {
    cursor: none !important;
}

/* Luxury Hero Slider Frame - Fixed Aspect Ratio */
.hero-image-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 40px;
    overflow: hidden;
    animation: float-hero 6s ease-in-out infinite;
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-slide {
    position: relative;
    /* Changed to relative for the first active slide to take space */
    width: 100%;
    height: auto;
    /* Allow natural height */
    display: none;
    /* Hide by default */
    object-fit: contain;
    /* Show full image */
}

.hero-slide.active {
    display: block;
    /* Only show active */
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

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

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

/* Utilities & Layout Spacing */
.container {
    max-width: 1300px;
    /* Slightly wider for better spread */
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 120px 0;
    /* Standardized spacing between sections */
}

.reveal {
    opacity: 1;
    /* Ensuring visibility while we keep the class for potential JS */
    margin-bottom: 25px;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-font {
    display: inline-block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.logo-font:hover {
    transform: rotate(-2deg) scale(1.02);
    filter: brightness(1.05);
}

.logo-font-nav {
    height: 100px;
    width: auto;
}

.logo-font-hero {
    height: 320px;
    width: auto;
}

.logo-font-footer {
    height: 110px;
    width: auto;
}

.btn-primary {
    background: var(--gradient-red);
    background-size: 200% auto;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.6);
    border-color: var(--accent);
}

.btn-gold {
    background: var(--gradient-gold);
    background-size: 200% auto;
    color: #000;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
    color: #000 !important; /* Force black text on gold hover */
}

/* Global Navigation & Bars managed at the top of file */


.nav-links a {
    transition: all 0.3s ease;
    cursor: none !important;
    /* Managed by JS/Body */
}

.nav-links a:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Giant CTA Button */
.btn-mega-cta {
    background: var(--gradient-gold);
    color: #000;
    padding: 22px 50px;
    border-radius: 100px;
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid #fff;
    text-shadow: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-mega-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    animation: shine-btn 3s infinite;
}

@keyframes shine-btn {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-mega-cta:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.5);
    filter: brightness(1.1);
}

/* Waves Animation */
.nav-waves {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    background: transparent;
    z-index: 150;
    pointer-events: none;
}

.nav-waves .waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    min-height: 90px;
    max-height: 140px;
    z-index: 5;
    pointer-events: none;
    transform: rotate(180deg);
}

.footer-waves {
    position: relative;
    display: block;
    width: 100%;
    height: 120px;
    min-height: 80px;
    max-height: 140px;
    line-height: 0;
    z-index: 5;
}

.footer-logo {
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    animation: spin-slow 0.8s ease-out 1;
}

.footer-logo:hover {
    animation: spin-fast 0.25s linear infinite;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.35);
    filter: brightness(1.08);
}

.nav-logo {
    transition: box-shadow 0.3s ease, filter 0.3s ease;
    animation: spin-slow 0.8s ease-out 1;
}

.nav-logo:hover {
    animation: spin-fast 0.25s linear infinite;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.7);
    filter: brightness(1.15);
}

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

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

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Updated Countdown - Premium Vertical Style */
.countdown-box {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.countdown-unit {
    background: linear-gradient(180deg, rgba(139, 0, 0, 1) 0%, rgba(80, 0, 0, 1) 100%);
    padding: 15px 10px;
    border-radius: 20px;
    min-width: 90px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.countdown-unit:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #fff;
}

.countdown-unit span {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFB900 0%, #FFD700 45%, #FFFFFF 50%, #FFD700 55%, #FFB900 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.countdown-unit label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-hero {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        transform: scale(1.0005);
        box-shadow: 0 0 0 50px rgba(255, 215, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Shimmer effect for gold text */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 120s linear infinite;
}

/* Feature Card Hover */
.feature-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 215, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-15px) rotate(2deg) scale(1.03);
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--accent);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.1);
}

/* Float animations */
.floating-icon {
    animation: float 4s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Promotion Cards */
.promo-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.05);
}

.promo-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.stats-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stats-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-name {
    font-weight: 700;
    color: #fff;
}

.review-stars {
    color: var(--accent);
    letter-spacing: 1px;
}

.review-card p {
    color: #aaa;
    line-height: 1.6;
}

.trust-badge {
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: rotate(-3deg) scale(1.05);
}

.blog-media {
    height: 230px;
    overflow: hidden;
    background: #0b0b0b;
}

.blog-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

#blog article:hover .blog-media-img {
    transform: scale(1.06);
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-gold);
    color: black;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Step Section */
.step-item {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    transition: all 0.4s ease;
    border-radius: 20px;
    background: transparent;
}

.step-item:hover {
    background: rgba(255, 215, 0, 0.03);
    transform: translateY(-10px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border: 3px solid #fff;
    outline: 2px solid var(--accent);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.step-item:hover .step-number {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.6);
    border-color: var(--accent);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed var(--accent);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.3;
}

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

#winner-container {
    width: 100%;
    height: 45px;
    overflow: hidden;
}

.winner-item {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


#winner-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.dot-online {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 1.5s infinite;
}

#winner-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.dot-online {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Adjust Nav to stay below ticker */
nav {
    top: 40px !important;
}

@media (max-width: 768px) {

    .nav-links a:not(.btn-primary):not(.btn-gold),
    .nav-links span {
        display: none;
    }
}

@keyframes blink {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

.bank-logo {
    filter: grayscale(1) brightness(2);
    opacity: 0.5;
    transition: 0.3s;
    height: 35px;
}

.bank-logo {
    height: 35px;
    filter: grayscale(1) brightness(0.8) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.bank-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Professional Thai Lotto Result Card - Lottery Plus Style */
.lotto-result-wrapper {
    background: linear-gradient(135deg, #a50000 0%, #6d0000 100%);
    border-radius: 40px;
    padding: 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    margin: 60px auto;
    border: 1.5px solid var(--accent);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.lotto-result-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 45px 110px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.9);
}

.lotto-result-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.result-side-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: white;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
}

.result-side-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.result-date-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

#hero {
    min-height: 100vh;
    padding-top: 220px;
    /* Increased to avoid feeling stuck to top */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}



#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/royal-lineage.png');
    opacity: 0.1;
    pointer-events: none;
}

/* Heroic Title - Extra Prominent with Gold Flare */
.heroic-title {
    font-size: 5.5rem;
    font-weight: 900;
    margin-top: -10px;
    letter-spacing: -2px;
    position: relative;
    background: linear-gradient(135deg, #FFD700 0%, #FFFACD 50%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroic-pulse 60s ease-in-out infinite, shine-gold 120s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

@keyframes shine-gold {
    to {
        background-position: 200% center;
    }
}

@keyframes heroic-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    }

    50% {
        transform: scale(1.0002);
        filter: drop-shadow(0 0 20.5px rgba(255, 215, 0, 0.7));
    }
}

/* Bank Logos Prominence */
.bank-bar {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.08);
    padding: 60px 100px;
    border-radius: 50px;
    border: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-bar img {
    height: auto;
    width: 100%;
    max-width: 1000px;
    /* Adjust based on the new image aspect ratio */
    filter: brightness(1.1);
    opacity: 1 !important;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.bank-bar img:hover {
    transform: scale(1.02);
    filter: brightness(1.3);
}

.result-numbers-container {
    background: #f8f9fa;
    border-radius: 30px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.prize-box {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.prize-header-red {
    background: #cf1c1c;
    color: white;
    padding: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
}

.main-prize-num {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #E08000, #FFD700, #B86500, #E08000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 5px;
    line-height: 1.2;
    animation: shine-gold 120s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    text-align: center;
    width: 100%;
}

.result-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sub-left-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sub-prize-box {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sub-header {
    background: #cf1c1c;
    color: white;
    padding: 8px;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.sub-num-display {
    padding: 15px;
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    text-align: center;
    letter-spacing: 2px;
}

.two-digit-giant {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.two-digit-val {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #E08000, #FFD700, #B86500, #E08000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-gold 120s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@media (max-width: 900px) {
    .lotto-result-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .result-side-info {
        border-left: none;
        border-bottom: 3px solid var(--accent);
        padding-left: 0;
        padding-bottom: 20px;
        align-items: center;
        text-align: center;
    }

    .main-prize-num {
        font-size: 3rem;
    }

    .two-digit-val {
        font-size: 3.5rem;
    }
}

/* Payout Table */
.payout-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.payout-table th {
    background: var(--gradient-gold);
    color: black;
    padding: 15px;
    text-align: left;
}

.payout-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    border-right: 1px solid rgba(255, 215, 0, 0.1);
}

.payout-table td:last-child {
    border-right: none;
}

.payout-table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Blog Hover Zoom Effect */
#blog article {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#blog article:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
    border-color: var(--accent) !important;
}

#blog article img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#blog article:hover img {
    transform: scale(1.1);
}

.payout-highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* Center the dot */
    will-change: transform;
}

.cursor-outline {
    width: 35px;
    height: 35px;
    border: 2px solid var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* Center the outline */
    transition: transform 0.1s ease-out, background 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.cursor-outline.hovered {
    transform: scale(1.5);
    background: rgba(255, 215, 0, 0.1);
    border-color: #fff;
}

/* Single Persuasive Button */
.btn-cta-giant {
    background: var(--gradient-gold);
    color: #000;
    padding: 20px 60px;
    border-radius: 100px;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid #fff;
    animation: pulse-gold 30s infinite;
}

.btn-cta-giant:hover {
    transform: scale(1.03) translateY(-6px) rotate(-1deg);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.6);
}

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    text-decoration: none;
    animation: float 1.6s ease-in-out infinite;
}

.floating-contact-card {
    background: #00b900;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 185, 0, 0.4);
    border: 2px solid #fff;
    animation: float 3.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-contact-card:hover {
    transform: translateY(-4px) scale(1.05) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(0, 185, 0, 0.6);
    filter: brightness(1.05);
}

/* Lucky Wish Text Style */
.lucky-wish-banner {
    background: rgba(139, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    margin: 40px 0;
    width: 100%;
}

.lucky-wish-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

/* Comprehensive Mobile Overhaul */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
    }

    .bank-bar {
        padding: 20px 20px !important;
    }

    /* Fixed Header Spacing */
    .sticky-ticker {
        height: 35px;
    }
    
    #winner-text {
        font-size: 0.75rem;
    }

    nav {
        top: 35px !important;
        height: 65px;
    }

    nav .container {
        padding: 0 10px !important;
        gap: 8px;
        justify-content: center !important;
    }

    nav .container > div:first-child {
        gap: 10px !important;
    }

    nav .container .nav-links {
        display: none !important;
    }

    nav img {
        width: 34px !important;
    }

    nav .text-gradient-gold {
        font-size: 1rem !important;
    }

    .nav-links a:not(.btn-gold),
    .nav-links span {
        display: none !important;
    }

    .nav-waves {
        position: relative !important;
        top: 0 !important;
        height: 150px !important;
        display: block !important;
    }

    .nav-waves .waves {
        top: -4px !important;
        height: 160px !important;
        min-height: 120px !important;
        max-height: 180px !important;
    }

    #hero {
        padding-top: 220px !important;
    }

    .floating-contact {
        right: 12px !important;
        bottom: 20px !important;
    }

    .btn-gold {
        padding: 8px 18px !important;
        font-size: 0.8rem !important;
        margin-left: 5px !important;
    }

    /* Hero Layout */
    #hero {
        padding-top: 140px !important; /* Adjusted for smaller header */
        padding-bottom: 40px !important;
    }

    .heroic-title {
        font-size: 2.2rem !important;
        letter-spacing: -2px !important;
        line-height: 1.1 !important;
    }

    .hero-image-slider {
        max-width: 100% !important;
        border-radius: 15px !important;
        margin-bottom: 20px;
    }

    /* Trust Section - Horizontal Scroll or Wrap */
    .hero div[style*="gap: 40px"] {
        gap: 20px !important;
        flex-wrap: wrap;
    }

    .hero div[style*="gap: 40px"] > div {
        flex: 1 1 30%;
        min-width: 80px;
    }

    /* Lottery Results */
    .lotto-result-wrapper {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 25px 15px !important;
        border-radius: 25px !important;
        margin: 30px auto !important;
    }

    .result-side-info {
        padding-left: 0 !important;
        border-left: none !important;
        border-bottom: 2px solid var(--accent);
        padding-bottom: 15px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .result-grid-bottom {
        grid-template-columns: 1fr !important;
    }

    .main-prize-num {
        font-size: 2.5rem !important;
    }

    /* Buttons and UI */
    .btn-cta-giant {
        padding: 16px 35px !important;
        font-size: 1.1rem !important;
        width: 90%;
    }

    .lucky-wish-text {
        font-size: 1rem !important;
        letter-spacing: 0.5px;
    }

    section {
        padding: 60px 0 !important;
    }

    /* Grid Layouts */
    div[style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Footer */
    footer {
        padding: 40px 0 !important;
    }
}

/* ===== Mobile Fix ===== */

*{
box-sizing:border-box;
max-width:100%;
}

body{
margin:0;
padding:0;
overflow-x:hidden;
}

/* container */
.container{
padding-left:15px !important;
padding-right:15px !important;
}

/* bank bar */
.bank-bar{
padding:20px !important;
border-radius:20px;
}

/* hero title */
.heroic-title{
font-size:2.2rem !important;
line-height:1.3;
}

/* banner images */
img{
max-width:100%;
height:auto;
display:block;
}

/* responsive mobile */
@media (max-width:768px){

.heroic-title{
font-size:1.8rem !important;
}

.bank-bar{
padding:15px !important;
}

.container{
padding-left:12px !important;
padding-right:12px !important;
}

}
}