/* Global variables */
:root {
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --dark-bg: #1a1a2e;
    --gold: #ffd700;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: var(--bs-font-sans-serif);
    overflow-x: hidden;
    padding-top: 70px;
    /* Account for fixed navbar */
}

/* Typography Polish */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-gold {
    color: var(--gold);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Navigation - Kerala Emerald Green + Gold */
.glass-nav {
    background: linear-gradient(135deg, rgba(2, 80, 47, 0.96) 0%, rgba(6, 120, 73, 0.92) 50%, rgba(2, 80, 47, 0.96) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 193, 7, 0.4);
    box-shadow: 0 4px 20px rgba(0, 60, 30, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 0;
}

.glass-nav.shadow-sm {
    background: linear-gradient(135deg, rgba(2, 70, 40, 0.98) 0%, rgba(6, 110, 65, 0.95) 50%, rgba(2, 70, 40, 0.98) 100%);
    box-shadow: 0 6px 28px rgba(0, 60, 30, 0.45);
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

/* Header Logo */
.header-logo {
    height: 50px;
    width: auto;
    margin-right: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.3));
}

.header-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.5));
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #ffaa00);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

/* Countdown Timer Glow Animation */
@keyframes glow-pulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 193, 7, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    }

    50% {
        text-shadow: 0 0 15px rgba(255, 193, 7, 0.7), 0 0 30px rgba(255, 193, 7, 0.5), 0 0 40px rgba(255, 193, 7, 0.3);
    }
}


/* Check Result Button */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffaa00 100%);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.65rem 1.75rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-warning::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-warning:hover::before {
    width: 300px;
    height: 300px;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ffc107 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6);
}

.btn-warning:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.5);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    body {
        padding-top: 60px;
        /* Smaller navbar on tablets */
    }

    .header-logo {
        height: 38px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .next-draw-timer {
        display: none !important;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }

    .btn-warning {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 56px;
        /* Smaller navbar on mobile */
    }
}


/* ========================================
   Hero Section - Responsive Design
   ======================================== */

/* Base Hero Section - natural aspect ratio for designed banners */
#hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #000;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Images - show full banner without cropping */
.hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════
   Mobile/Tablet Only — Hero "Check Result" CTA
   (hidden on desktop via .d-lg-none Bootstrap class)
   ════════════════════════════════════════════════ */
.hero-mobile-cta {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px 12px 18px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff7e00 100%);
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow:
        0 8px 22px rgba(255, 152, 0, 0.55),
        0 0 0 4px rgba(255, 215, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    animation: heroCtaPulse 2.2s ease-in-out infinite;
    white-space: nowrap;
    transition: transform 0.25s ease;
}
.hero-mobile-cta:hover,
.hero-mobile-cta:active {
    color: #1a1a2e;
    transform: translateX(-50%) scale(1.05);
}
.hero-mobile-cta .hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(26, 26, 46, 0.15);
    border-radius: 50%;
    font-size: 0.95rem;
}
.hero-mobile-cta .hero-cta-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    animation: heroCtaArrow 1.4s ease-in-out infinite;
}
@keyframes heroCtaPulse {
    0%, 100% {
        box-shadow:
            0 8px 22px rgba(255, 152, 0, 0.55),
            0 0 0 4px rgba(255, 215, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
    50% {
        box-shadow:
            0 12px 30px rgba(255, 152, 0, 0.75),
            0 0 0 12px rgba(255, 215, 0, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
}
@keyframes heroCtaArrow {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}
@media (max-width: 575px) {
    .hero-mobile-cta {
        font-size: 0.82rem;
        padding: 10px 18px 10px 14px;
        bottom: 14px;
    }
    .hero-mobile-cta .hero-cta-icon { width: 24px; height: 24px; font-size: 0.82rem; }
}

/* ════════════════════════════════════════════════
   HERO CAROUSEL — Custom slide effect (Ken Burns + fade-blur)
   ════════════════════════════════════════════════ */
.hero-carousel-fx .carousel-inner { perspective: 1000px; }
.hero-carousel-fx .carousel-item {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(8px);
    transition: opacity 1.2s ease, transform 5.5s linear, filter 1.2s ease;
    display: block !important;
    position: absolute;
    top: 0; left: 0; right: 0;
    pointer-events: none;
}
.hero-carousel-fx .carousel-item:first-child { position: relative; }
.hero-carousel-fx .carousel-item.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
    pointer-events: auto;
}
.hero-carousel-fx .carousel-item-next,
.hero-carousel-fx .carousel-item-prev,
.hero-carousel-fx .carousel-item.active.carousel-item-start,
.hero-carousel-fx .carousel-item.active.carousel-item-end {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}
/* Ken Burns slow zoom on the active slide */
.hero-carousel-fx .carousel-item.active .hero-img {
    animation: heroKenBurns 6s ease-out forwards;
}
@keyframes heroKenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.06) translate(-1.5%, 1%); }
}

/* Animated bar indicators (replace dots) */
.hero-carousel-fx .carousel-indicators {
    margin-bottom: 18px;
    gap: 6px;
}
.hero-carousel-fx .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.hero-carousel-fx .carousel-indicators [data-bs-target].active {
    width: 60px;
    background: rgba(255, 255, 255, 0.25);
}
.hero-carousel-fx .carousel-indicators [data-bs-target].active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
    animation: heroIndicatorFill 5s linear forwards;
    border-radius: 50px;
}
@keyframes heroIndicatorFill {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* Polished prev/next arrows */
.hero-carousel-fx .carousel-control-prev,
.hero-carousel-fx .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-carousel-fx:hover .carousel-control-prev,
.hero-carousel-fx:hover .carousel-control-next { opacity: 0.85; }
.hero-carousel-fx .carousel-control-prev-icon,
.hero-carousel-fx .carousel-control-next-icon {
    width: 48px; height: 48px;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    background-size: 50% 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}
.hero-carousel-fx .carousel-control-prev-icon:hover,
.hero-carousel-fx .carousel-control-next-icon:hover {
    background-color: rgba(255, 193, 7, 0.85);
    transform: scale(1.1);
}

/* Mobile: hide "Mega Draw" navbar text, keep only "KL" badge */
@media (max-width: 767px) {
    .navbar-brand span {
        display: none;
    }

    .navbar-brand .text-warning {
        display: inline !important;
    }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Logic */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(5px);
}

/* ════════════════════════════════════════════
   Winners Section — Premium Dark Theme
   ════════════════════════════════════════════ */
.winners-section {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a52 35%, #2d1b69 100%);
    position: relative;
    overflow: hidden;
}
.winners-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 193, 7, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(78, 84, 200, 0.18) 0%, transparent 40%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1' fill='%23ffd700' opacity='0.18'/></svg>");
    pointer-events: none;
}
.winners-section .container { position: relative; z-index: 1; }

.winner-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.winner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Rank ribbon (top-right corner) */
.winner-rank-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #1a1a2e;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.55);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.winner-rank-2 .winner-rank-ribbon {
    background: linear-gradient(135deg, #e0e0e0, #9e9e9e);
    color: #1a1a2e;
    box-shadow: 0 4px 14px rgba(158, 158, 158, 0.5);
}
.winner-rank-3 .winner-rank-ribbon {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 69, 19, 0.5);
}

.winner-img-wrapper {
    overflow: hidden;
    position: relative;
}

.winner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.winner-card:hover .winner-img {
    transform: scale(1.1);
}

/* Prize amount overlay on image */
.winner-prize-overlay {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    padding: 16px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffd700;
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.winner-rank-1 .winner-prize-overlay { color: #ffd700; }
.winner-rank-2 .winner-prize-overlay { color: #e8e8e8; }
.winner-rank-3 .winner-prize-overlay { color: #ff9966; }

.winner-card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.winner-name-text {
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: #fff;
    letter-spacing: 0.3px;
}

.winner-location {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}
.winner-location i { color: #ffd700; margin-right: 4px; }

.winner-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.65);
}
.winner-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.winner-meta i {
    color: #ffd700;
    font-size: 0.85rem;
    width: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .winner-img { height: 180px; }
    .winner-card-body { padding: 16px 16px 18px; }
    .winner-prize-overlay { font-size: 1.2rem; padding: 14px 12px 10px; }
    .winner-rank-ribbon { font-size: 0.65rem; padding: 4px 11px; top: 10px; right: 10px; }
    .winner-name-text { font-size: 1rem; }
    .winner-meta { font-size: 0.7rem; }
}

/* Prize Card Styles */
.prize-card {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.prize-card:hover::before {
    opacity: 1;
}

.prize-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.prize-tier {
    color: #2d3436;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.prize-amount {
    font-weight: bold;
    font-size: 1.5rem;
    color: #0984e3;
    margin-bottom: 5px;
}

.prize-subtitle {
    font-size: 0.9rem;
    color: #636e72;
    font-weight: 500;
}

.prize-winners {
    font-size: 0.95rem;
    color: #636e72;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.prize-winners i {
    color: #00b894;
}

/* Responsive adjustments for prize cards */
@media (max-width: 768px) {
    .prize-card {
        padding: 25px 15px;
    }

    .prize-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .prize-tier {
        font-size: 1.1rem;
    }

    .prize-amount {
        font-size: 1.3rem;
    }

    .prize-subtitle {
        font-size: 0.85rem;
    }

    .prize-winners {
        font-size: 0.9rem;
    }
}


/* Helpers */
.py-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mw-600 {
    max-width: 600px;
}

.alpha-50 {
    opacity: 0.5;
}

/* Footer */
footer {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/worldmap-footer.svg') no-repeat center;
    background-size: cover;
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
    z-index: 10;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    border-color: var(--primary-color);
}

footer h6 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.hover-white:hover {
    color: white !important;
}

/* Footer Contact Styling */
.footer-contact {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact strong {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-contact li {
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .py-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-bg {
        background-position: center top;
    }

    .mobile-th {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}


/* About Section Styles */
.about-img-wrapper {
    perspective: 1000px;
}

.about-backdrop {
    z-index: 1;
    transform: rotate(3deg) scale(0.95);
    background: linear-gradient(135deg, rgba(78, 84, 200, 0.1) 0%, rgba(143, 148, 251, 0.1) 100%);
    transition: all 0.5s ease;
}

.about-img-wrapper:hover .about-backdrop {
    transform: rotate(5deg) scale(1);
    background: linear-gradient(135deg, rgba(78, 84, 200, 0.2) 0%, rgba(143, 148, 251, 0.2) 100%);
}

/* Ensure image appears above the backdrop */
.about-jackpot-img {
    z-index: 2;
    position: relative;
}

.glass-float-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Content Styling */
.about-content {
    font-size: 16px;
    line-height: 1.7;
}

.about-content p {
    text-align: justify;
    color: #2d3436;
}

.about-jackpot-img {
    object-fit: cover;
    max-height: 500px;
}

@media (max-width: 768px) {
    .about-content {
        font-size: 15px;
        line-height: 1.6;
    }

    .about-jackpot-img {
        max-height: 350px;
    }
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.hover-elevate {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Custom Shadow */
.shadow-warning {
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* Form Styles */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.input-group-text {
    color: var(--primary-color);
}

/* Disclaimer Box Styling */
.disclaimer-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 15px;
    color: #2d3436;
    line-height: 1.6;
}

.disclaimer-box h4 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #d63031;
    font-size: 1.1rem;
}

.disclaimer-box p {
    margin-bottom: 10px;
}

.disclaimer-box i {
    color: #d63031;
}

@media (max-width: 768px) {
    .disclaimer-box {
        padding: 15px;
        font-size: 14px;
    }

    .disclaimer-box h4 {
        font-size: 1rem;
    }
}

/* ========================================
   Countdown Timer - Responsive Styles
   ======================================== */

/* Base timer styles */
.next-draw-timer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-width: 140px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.next-draw-timer:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 193, 7, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.next-draw-timer small {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 2px;
}

.countdown-display {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    font-family: 'Courier New', monospace;
    text-align: center;
    animation: glow-pulse 2s ease-in-out infinite;
    display: block !important;
    visibility: visible !important;
}

/* Also style #countdown for compatibility */
#countdown {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}


/* Desktop styles (>= 992px) */
@media (min-width: 992px) {
    .next-draw-timer {
        padding: 10px 20px;
        min-width: 160px;
    }

    .next-draw-timer small {
        font-size: 0.75rem;
    }

    .countdown-display {
        font-size: 1.25rem;
        text-align: left;
    }
}

/* Tablet styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .next-draw-timer {
        padding: 8px 14px;
        min-width: 130px;
    }

    .next-draw-timer small {
        font-size: 0.65rem;
    }

    .countdown-display {
        font-size: 1rem;
    }
}

/* Mobile styles (< 768px) */
@media (max-width: 767px) {
    .next-draw-timer {
        padding: 6px 12px;
        min-width: 120px;
        margin: 0 auto;
    }

    .next-draw-timer small {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }

    .countdown-display {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    /* Ensure timer and button stack nicely on mobile */
    .navbar-nav+div {
        width: 100%;
        margin-top: 0.75rem;
        padding: 0 1rem;
    }

    /* Mobile timer - compact version */
    .mobile-timer {
        padding: 4px 8px !important;
        min-width: 90px !important;
        margin: 0 !important;
    }

    .mobile-timer small {
        font-size: 0.5rem !important;
        margin-bottom: 0 !important;
        line-height: 1.2;
    }

    .mobile-timer .countdown-display {
        font-size: 0.75rem !important;
        letter-spacing: 0.3px !important;
        line-height: 1.2;
    }
}

/* Small mobile (< 576px) */
@media (max-width: 575px) {
    .next-draw-timer {
        padding: 5px 10px;
        min-width: 110px;
    }

    .next-draw-timer small {
        font-size: 0.55rem;
    }

    .countdown-display {
        font-size: 0.85rem;
    }
}

/* Extra small mobile (< 400px) */
@media (max-width: 399px) {
    .next-draw-timer {
        padding: 4px 8px;
        min-width: 100px;
    }

    .next-draw-timer small {
        font-size: 0.5rem;
    }

    .countdown-display {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .next-draw-timer {
        padding: 4px 10px;
        min-width: 100px;
    }

    .next-draw-timer small {
        font-size: 0.55rem;
    }

    .countdown-display {
        font-size: 0.8rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .countdown-display {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .next-draw-timer {
        transition: none;
    }

    .next-draw-timer:hover {
        transform: none;
    }
}

/* Blinking Live Now */
@keyframes blinker {
  50% { opacity: 0; }
}
.blinking-red {
  color: red;
  font-weight: 800;
  animation: blinker 1s linear infinite;
  text-align: center;
  font-size: 3rem;
}

/* Custom UI Additions */
.bg-gradient-dark {
    background: linear-gradient(135deg, #111 0%, #2a2a4a 100%);
}

.step-hover-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.step-hover-card:hover {
    transform: translateX(10px);
    background-color: #fff !important;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.feature-card {
    transition: all 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2) !important;
}

/* ════════════════════════════════════════════
   TOP UTILITY BAR (Above Navbar)
   ════════════════════════════════════════════ */
.top-utility-bar {
    background: linear-gradient(90deg, #013220 0%, #024f30 50%, #013220 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 193, 7, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
}
.utility-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
}
.utility-link:hover {
    color: #ffc107;
}
.utility-social {
    color: rgba(255, 255, 255, 0.6);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
}
.utility-social:hover {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.12);
    transform: translateY(-2px);
}
.utility-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-block;
}

/* Adjust navbar position when utility bar is visible (desktop only) */
@media (min-width: 992px) {
    body { padding-top: 110px; }
    .glass-nav { top: 38px !important; }
}

/* Brand polish */
.brand-text {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════
   STATS STRIP (Below Hero)
   ════════════════════════════════════════════ */
.stats-strip {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='30' cy='30' r='1' fill='%23ffffff' opacity='0.15'/></svg>");
    opacity: 0.5;
}
.stat-cell {
    color: #fff;
    padding: 20px 12px;
    position: relative;
    z-index: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 767px) {
    .stat-cell:nth-child(2n) { border-right: none; }
    .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
.stat-icon {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.4));
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #ffe7a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-suffix {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
    margin-left: 4px;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    font-weight: 500;
}
@media (max-width: 575px) {
    .stat-value { font-size: 1.8rem; }
    .stat-suffix { font-size: 1.1rem; }
    .stat-label { font-size: 0.7rem; }
}

/* ════════════════════════════════════════════
   LOTTERY SCHEDULE CARDS
   ════════════════════════════════════════════ */
.schedule-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.schedule-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent, #4e54c8);
}
.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border-color: var(--accent, #4e54c8);
}
.schedule-day {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent, #4e54c8);
    font-weight: 700;
    margin-bottom: 12px;
}
.schedule-icon {
    font-size: 2.5rem;
    color: var(--accent, #4e54c8);
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}
.schedule-card:hover .schedule-icon { transform: scale(1.15) rotate(-5deg); }
.schedule-name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
.schedule-price {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.schedule-price small { font-size: 0.7rem; font-weight: 400; }
.schedule-prize {
    background: #f9fafb;
    padding: 12px 16px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 14px;
}
.schedule-prize strong {
    font-size: 1.2rem;
    color: var(--accent, #4e54c8);
}
.schedule-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--accent, #4e54c8);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}
.schedule-cta:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.schedule-bumper {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2d5a 100%);
    border-color: rgba(255,193,7,0.4);
}
.schedule-bumper::before { background: #ffc107; height: 5px; }
.schedule-bumper .schedule-icon { color: #ffc107; }
.schedule-cta-light {
    background: #ffc107;
    color: #1a1a3e !important;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.testimonial-quote {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 193, 7, 0.15);
}
.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════ */
.faq-accordion .accordion-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-accordion .accordion-item:hover {
    border-color: rgba(78, 84, 200, 0.25);
    box-shadow: 0 6px 20px rgba(78, 84, 200, 0.08);
}
.faq-accordion .accordion-button {
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 22px;
    box-shadow: none !important;
    border-radius: 14px !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(78, 84, 200, 0.05), rgba(143, 148, 251, 0.05));
    color: #4e54c8;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: hue-rotate(220deg);
}
.faq-num {
    display: inline-block;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    line-height: 36px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}
.faq-accordion .accordion-body {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 20px 72px;
}
.faq-help-card {
    background: linear-gradient(135deg, rgba(78,84,200,0.05), rgba(143,148,251,0.08));
    border: 1px solid rgba(78,84,200,0.15);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}
.faq-help-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   NEWSLETTER STRIP (Above Footer)
   ════════════════════════════════════════════ */
.newsletter-strip {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.newsletter-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path d='M0 0 L50 50 L0 100 Z' fill='%23ffffff' opacity='0.04'/></svg>");
}
.newsletter-form .form-control {
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.newsletter-form .btn {
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ════════════════════════════════════════════
   FOOTER REDESIGN
   ════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
    background-image: linear-gradient(rgba(15, 15, 35, 0.92), rgba(15, 15, 35, 0.95)), url('../images/worldmap-footer.svg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px 0 24px;
    position: relative;
    z-index: 10;
}
.site-footer h6 {
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.site-footer ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.site-footer ul li a:hover {
    color: #ffc107;
    padding-left: 6px;
}
.footer-trust-badges .footer-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.payment-methods .payment-method {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.payment-methods .payment-method:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffc107;
}
.footer-disclaimer {
    background: rgba(255, 193, 7, 0.05);
    border-left: 3px solid #ffc107;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.6;
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: #ffc107; }
.footer-print-link {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}
.footer-print-link:hover { color: rgba(255, 193, 7, 0.6); }

/* Override the old footer block to avoid double padding */
footer.site-footer { padding: 70px 0 24px; }

/* ════════════════════════════════════════════
   FLOATING BUTTONS (Back to top + WhatsApp)
   ════════════════════════════════════════════ */
.back-to-top, .whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    z-index: 999;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}
.back-to-top {
    right: 24px;
    bottom: 24px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(78, 84, 200, 0.5);
}
.whatsapp-float {
    right: 24px;
    bottom: 86px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulseWA 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}
@keyframes pulseWA {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ════════════════════════════════════════════
   RESPONSIVE TWEAKS FOR NEW SECTIONS
   ════════════════════════════════════════════ */
@media (max-width: 991px) {
    body { padding-top: 70px; }
    .site-footer { padding: 50px 0 20px; }
    .testimonial-text { font-size: 0.95rem; }
    .stats-strip { padding: 35px 0; }
    .schedule-card { padding: 20px 16px; }
}
@media (max-width: 575px) {
    .back-to-top, .whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .whatsapp-float { bottom: 78px; right: 18px; }
    .back-to-top { bottom: 18px; right: 18px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
}