/* ============================================
   HERO V2 - Fluid Adaptive Responsive Design
   Auto-fits any screen resolution or device
   ============================================ */

.hero-v2 {
    position: relative;
    min-height: calc(100vh - 70px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    background: transparent;
    color: #fff;
    padding: clamp(5px, 1vh, 12px) 0 clamp(20px, 3vh, 35px);
    margin-top: 0;
    box-sizing: border-box;
}

/* Desktop viewport filling */
@media (min-width: 992px) {
    .hero-v2 {
        min-height: calc(100vh - 70px);
        height: auto;
        padding-top: clamp(2px, 0.8vh, 10px);
        padding-bottom: clamp(15px, 2.5vh, 35px);
    }
}

/* Ultrawide, 2K & 4K Widescreen Monitors (>= 1400px width / >= 850px height) */
@media (min-width: 1400px) and (min-height: 850px) {
    .hero-v2 {
        min-height: calc(100vh - 70px);
        height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: clamp(10px, 2vh, 28px);
        padding-bottom: clamp(25px, 4vh, 45px);
    }

    .hero-v2 .container-fluid {
        max-width: 1800px !important;
    }

    .hero-v2-title {
        font-size: clamp(2.5rem, 3.2vw, 4rem) !important;
    }

    .video-card {
        min-height: clamp(300px, 28vh, 450px) !important;
    }

    .logo-card {
        max-width: 260px !important;
    }
}

/* Small screens, mobile devices, and low-height viewports */
@media (max-width: 991px), (max-height: 720px) {
    .hero-v2 {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        padding: clamp(60px, 8vh, 85px) 0 25px !important;
    }
}

/* Hero Logo Marquee Rebuild */
.hero-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-marquee-container .marquee-ribbon {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: auto;
    min-height: 55px;
    display: flex;
    align-items: center;
}

.hero-marquee-container .marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: hero-marquee-flow 30s linear infinite;
}

.hero-marquee-container .marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px;
    flex-shrink: 0;
}

.hero-marquee-container .marquee-item img {
    height: clamp(28px, 3.5vh, 42px) !important;
    max-height: 42px !important;
    width: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.hero-marquee-container .marquee-item span {
    font-size: clamp(0.72rem, 0.8vw + 0.1rem, 0.88rem) !important;
    white-space: nowrap !important;
}

.hero-marquee-container .marquee-item:hover img {
    transform: scale(1.12);
}

@keyframes hero-marquee-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Background Layers */
.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(10, 61, 98, 0.5) 0%, rgba(5, 10, 20, 0.9) 100%);
    z-index: 2;
    backdrop-filter: blur(5px);
}

/* Hero Content Styling */
.hero-v2-content {
    position: relative;
    z-index: 10;
    padding-top: 0;
    padding-right: 20px;
}

.hero-v2-title {
    font-size: clamp(1.8rem, 2.8vw + 0.5rem, 3.2rem) !important;
    font-weight: 900;
    line-height: 1.1;
    margin-top: clamp(2px, 0.5vh, 6px);
    margin-bottom: clamp(4px, 0.8vh, 10px);
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-wrap: wrap;
    word-break: break-word;
}

.hero-v2-title span {
    display: block;
    background: linear-gradient(to right, #fff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v2-title .accent-text {
    background: linear-gradient(to right, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v2-theme {
    font-size: 1rem; /* Compact font size */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px; /* Tighter margin */
    max-width: 550px;
    line-height: 1.4;
    border-left: 5px solid #38bdf8;
    padding-left: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn-glass-primary {
    background: var(--accent);
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 100px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4);
    font-size: 1.1rem;
    text-decoration: none;
}

.btn-glass-primary:hover {
    background: #ef8e38;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.5);
    color: #fff !important;
}

.btn-glass-primary, .btn-glass-outline {
    padding: 12px 30px;
    font-size: 0.95rem;
}

.hero-v2-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 100px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-glass-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ============================================
   HIGH-FIDELITY ANIMATED VIDEO & LOGO SHOWCASE
   Color-changing theme glow & random zoom-pulse
   ============================================ */

/* 1. Video Frame Animated Color-Changing Glow */
.hero-video-frame {
    position: relative;
    width: 100%;
    min-height: 270px;
    background: #000;
    border-radius: 28px;
    border: 2px solid rgba(56, 189, 248, 0.6) !important;
    animation: video-theme-glow 9s infinite ease-in-out;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

@keyframes video-theme-glow {
    0% {
        border-color: rgba(56, 189, 248, 0.85) !important;
        box-shadow: 0 0 25px rgba(56, 189, 248, 0.45), 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    33% {
        border-color: rgba(243, 156, 18, 0.9) !important;
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.55), 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    66% {
        border-color: rgba(34, 197, 94, 0.85) !important;
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.45), 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    100% {
        border-color: rgba(56, 189, 248, 0.85) !important;
        box-shadow: 0 0 25px rgba(56, 189, 248, 0.45), 0 15px 35px rgba(0, 0, 0, 0.6);
    }
}

/* 2. Floating Logo Frame (Resting On Top of Video Frame with Random Zoom & Glow) */
.hero-logo-frame-overlay {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: logo-zoom-pulse 7s infinite ease-in-out;
    pointer-events: auto;
}

.hero-logo-card {
    width: 175px;
    background: rgba(10, 30, 50, 0.88) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease;
}

@keyframes logo-zoom-pulse {
    0% {
        transform: translateX(-50%) scale(0.92);
        box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
    }
    25% {
        transform: translateX(-50%) scale(1.08);
        box-shadow: 0 0 28px rgba(56, 189, 248, 0.6);
    }
    50% {
        transform: translateX(-50%) scale(0.95);
        box-shadow: 0 0 18px rgba(34, 197, 94, 0.5);
    }
    75% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 25px rgba(230, 126, 34, 0.6);
    }
    100% {
        transform: translateX(-50%) scale(0.92);
        box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
    }
}

/* Redesigned Countdown Ticker */
.hero-countdown-ticker {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ticker-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.ticker-box span {
    font-family: 'Impact', sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}

.ticker-box label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    font-weight: 700;
}

.ticker-divider {
    font-family: 'Impact', sans-serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

/* Hero Logo Marquee Extension to Right Margin Page End */
.hero-marquee-container {
    width: 100%;
    margin-right: -50vw;
    padding-right: 50vw;
    overflow: hidden;
}

.hero-marquee-container .marquee-ribbon {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-seconds span {
    color: #fff;
    opacity: 0.9;
}

/* Stats Styling */
.hero-v2-stats {
    display: flex;
    gap: 20px; /* Tighter gap */
    animation: fadeInUp 1s ease-out 0.8s both;
}

.v2-stat-item i {
    font-size: 1rem !important; /* Even smaller icons */
    margin-bottom: 2px !important;
}

.v2-stat-number {
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.v2-stat-label {
    font-size: 0.6rem; /* Reduced from 0.65rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Hero Sponsors Strip */
.hero-sponsors-area {
    padding-left: 20px; /* Increased padding */
    border-left: 2px solid rgba(255, 255, 255, 0.2); /* Bolder separator */
    display: flex;
    align-items: center;
}

.hero-sponsor-icon {
    width: 38px; /* Slightly increased from 35px */
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-sponsor-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-sponsor-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: #fff;
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.v2-stat-item {
    display: flex;
    flex-direction: column;
}

.v2-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.v2-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Balanced Visual Area */
.hero-v2-visual {
    position: relative;
    z-index: 10;
    height: 550px; /* Increased from 500px */
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px; /* Increased from 440px */
}

.visual-main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.1);
}

.visual-floating-card {
    position: absolute;
    background: rgba(10, 61, 98, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 18px; /* Reduced padding */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 11;
    transition: all 0.3s ease;
    width: 220px; /* Reduced width */
}

.visual-floating-card:hover { transform: scale(1.1); }

.card-1 { top: -10px; right: -20px; animation: float-pop 6s ease-in-out infinite; }
.card-2 { bottom: -10px; left: -20px; animation: float-pop 7s ease-in-out infinite 1.5s; }

@keyframes float-pop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-register-btn-wrap {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-hero-register {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff !important;
    padding: 10px 20px; /* Further reduced */
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem; /* Reduced font size */
    box-shadow: 0 0 0 5px rgba(230, 126, 34, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: pulse-ring 2s infinite;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* ============================================
   ABOUT IMMERSIVE FEATURES
   ============================================ */
.feature-highlight {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-left: 6px solid #38bdf8;
    padding: 30px;
    border-radius: 0 20px 25px 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.feature-highlight i {
    font-size: 2.8rem; /* 40% increase from 2rem */
    margin-bottom: 5px;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    border-left-color: #fff;
}

.icon-cyan { color: #38bdf8 !important; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
.icon-orange { color: #ff9f43 !important; filter: drop-shadow(0 0 10px rgba(255, 159, 67, 0.4)); }
.icon-green { color: #2ecc71 !important; filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.4)); }
.icon-yellow { color: #f1c40f !important; filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.4)); }
.icon-purple { color: #9b59b6 !important; filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.4)); }
.icon-red { color: #e74c3c !important; filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.4)); }
.icon-teal { color: #1abc9c !important; filter: drop-shadow(0 0 10px rgba(26, 188, 156, 0.4)); }
.icon-blue { color: #3498db !important; filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.4)); }

.feature-highlight h5 {
    color: #fff !important;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.feature-highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   HEXAGON ANIMAL MOSAIC
   ============================================ */
.about-immersive {
    background: transparent;
    padding: 120px 0;
}

.animal-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    max-width: 700px;
    margin-left: auto;
}

.animal-hexagon {
    position: relative;
    width: 200px;
    height: 230px;
    margin: 5px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--primary);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.animal-hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.animal-hexagon:hover {
    transform: scale(1.1) rotate(3deg);
    z-index: 10;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
}

.animal-hexagon:hover img {
    transform: scale(1.2);
    filter: brightness(0.6);
}

.animal-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 61, 98, 0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    padding: 20px;
    pointer-events: none;
    z-index: 5;
}

.animal-hexagon:hover .animal-tooltip {
    opacity: 1;
}

.animal-tooltip h6 {
    color: #38bdf8;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    transform: translateY(-15px);
    transition: transform 0.4s ease 0.1s;
}

.animal-tooltip small {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    transform: translateY(15px);
    transition: transform 0.4s ease 0.1s;
}

.animal-hexagon:hover .animal-tooltip h6,
.animal-hexagon:hover .animal-tooltip small {
    transform: translateY(0);
}

.subtheme-card {
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px !important;
}

.subtheme-card i {
    font-size: 2.5rem; /* Larger icons for subthemes */
    margin-bottom: 15px;
}

.subtheme-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8 !important;
}

/* ============================================
   HIGH-FIDELITY DESIGN OVERRIDES
   ============================================ */
.feature-highlight-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Modern Quick Facts Card Redesign */
.quick-facts-card {
    background: linear-gradient(135deg, #0a3d62, #050505);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-facts-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.quick-facts-header {
    background: linear-gradient(90deg, #2196F3, #38bdf8);
    color: white;
    padding: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-list-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.fact-list-item:last-child {
    border-bottom: none;
}

.fact-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.fact-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #38bdf8;
    font-size: 1.4rem;
    transition: all 0.4s ease;
}

.fact-list-item:hover .fact-icon-wrap {
    background: #2196F3;
    color: white;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.fact-info .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    margin-bottom: 2px;
}

.fact-info .value {
    display: block;
    font-size: 1.1rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.subtheme-grid-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.subtheme-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.subtheme-grid-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.workflow-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.workflow-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.workflow-number {
    width: 25px;
    height: 25px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================
   ANIMATED SPLASH MODAL
   ============================================ */

/* Dynamic Glowing Border Animation matching Theme Colors */
@keyframes splash-border-glow {
    0% { border-color: #0a3d62; box-shadow: 0 0 20px rgba(10, 61, 98, 0.5); }
    25% { border-color: #154360; box-shadow: 0 0 25px rgba(21, 67, 96, 0.6); }
    50% { border-color: #1e8449; box-shadow: 0 0 30px rgba(30, 132, 73, 0.7); }
    75% { border-color: #e67e22; box-shadow: 0 0 35px rgba(230, 126, 34, 0.8); }
    100% { border-color: #0a3d62; box-shadow: 0 0 20px rgba(10, 61, 98, 0.5); }
}

/* Flashing and Pausing Pulse Effect */
@keyframes splash-flash-pause {
    0%, 20%, 40%, 100% { transform: scale(1); opacity: 1; }
    10% { transform: scale(1.02); filter: brightness(1.1); }
    30% { transform: scale(1.02); filter: brightness(1.1); }
}

.splash-modal-overlay {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    top: auto !important;
    right: auto !important;
    width: 380px !important;
    max-width: 90vw !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1050 !important;
    display: none;
    pointer-events: none !important;
    transition: opacity 0.8s ease;
}

.splash-modal-box {
    pointer-events: auto !important;
    background: linear-gradient(135deg, #0a3d62, #051923) !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 22px 20px !important;
    border-radius: 20px !important;
    border: 2px solid #38bdf8 !important;
    text-align: left !important;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6) !important;
}



.splash-logo-wrap {
    background: rgba(255,255,255,0.05);
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.splash-logo {
    transition: transform 0.5s ease;
}

.splash-modal-box:hover .splash-logo {
    transform: scale(1.1) rotate(5deg);
}

.splash-actions {
    position: relative;
    z-index: 10010;
}
/* Standard Top-Right Close X */
.splash-close-x {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    line-height: 1;
}

.splash-close-x:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Standardized bottom dismissal link */

.splash-continue-link {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    position: relative !important;
    z-index: 100 !important;
}
/* Old Link Style */ .splash-continue-link-old {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.splash-continue-link:hover {
    color: #fff;
    transform: translateX(5px);
}
.splash-modal-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

body.splash-active {
    overflow: hidden;
}

/* ============================================
   ENGAGEMENT MODALS (Scroll-Triggered)
   ============================================ */
.engagement-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 11000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.engagement-modal-box {
    background: linear-gradient(135deg, #0a3d62, #050505);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    color: #fff;
    border: 5px solid #0a3d62;
    animation: splash-border-glow 8s linear infinite, splash-flash-pause 6s ease-in-out infinite;
}

.close-engagement {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.engagement-modal-box h3 {
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

@keyframes deadline-text-glow {
    0% { color: #0a3d62; border-color: rgba(10, 61, 98, 0.5); box-shadow: 0 0 15px rgba(10, 61, 98, 0.3); }
    25% { color: #154360; border-color: rgba(21, 67, 96, 0.6); box-shadow: 0 0 15px rgba(21, 67, 96, 0.3); }
    50% { color: #1e8449; border-color: rgba(30, 132, 73, 0.7); box-shadow: 0 0 15px rgba(30, 132, 73, 0.4); }
    75% { color: #e67e22; border-color: rgba(230, 126, 34, 0.8); box-shadow: 0 0 15px rgba(230, 126, 34, 0.4); }
    100% { color: #0a3d62; border-color: rgba(10, 61, 98, 0.5); box-shadow: 0 0 15px rgba(10, 61, 98, 0.3); }
}

.deadline-timer {
    font-weight: 800;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 15px;
    border: 3px solid #0a3d62;
    display: inline-block;
    animation: deadline-text-glow 8s linear infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* ============================================
   REFINED CHECKOUT & SUMMARY UI
   ============================================ */
.payment-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pay-card-v3 {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.pay-card-v3:hover {
    transform: translateY(-8px);
    border-color: #e67e22;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.pay-card-v3.active {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.05);
}

/* Mobile Viewport Fit (Cover Page Fit) */
@media (max-width: 768px) {
    .hero-v2 {
        padding: 70px 0 15px !important;
        min-height: 100vh !important;
        height: auto;
    }

    .hero-v2-pretitle .badge {
        font-size: 0.65rem !important;
        padding: 4px 10px !important;
    }

    .hero-v2-title {
        font-size: clamp(1.4rem, 5.5vw, 2.1rem) !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        line-height: 1.15 !important;
    }

    .hero-v2-content .d-inline-block {
        padding: 4px 12px !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }

    .hero-v2-theme {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .hero-v2-actions {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        gap: 8px !important;
    }

    .btn-glass-primary, .btn-glass-outline {
        padding: 8px 18px !important;
        font-size: 0.85rem !important;
    }

    .v2-stat-number {
        font-size: 1.4rem !important;
    }

    .v2-stat-label {
        font-size: 0.55rem !important;
    }

    .hero-countdown-ticker {
        padding: 8px 12px !important;
    }

    .ticker-box span {
        font-size: 1.2rem !important;
    }
}

.pay-card-v3 .icon-box {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ccc;
    transition: all 0.3s ease;
}

.pay-card-v3.active .icon-box {
    color: #e67e22;
    transform: scale(1.1);
}

.pay-card-v3 .card-check {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #e67e22;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.pay-card-v3.active .card-check {
    opacity: 1;
    transform: scale(1);
}

.pay-card-v3 .card-label {
    font-weight: 800;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: block;
}

.pay-card-v3 .card-subtext {
    font-size: 0.75rem;
    color: #777;
    font-weight: 600;
}

/* Premium Order Summary Card */
.order-summary-card-premium {
    background: linear-gradient(135deg, #0a3d62, #154360);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.summary-premium-header {
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.summary-premium-body {
    padding: 40px 30px;
}

/* Premium Expiry Timer Styling */
.checkout-expiry-wrapper {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.expiry-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e74c3c;
    display: block;
    margin-bottom: 5px;
}

#checkout-timer {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.summary-premium-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.summary-data-section {
    margin-bottom: 30px;
}

.summary-data-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #38bdf8;
    margin-bottom: 15px;
    display: block;
}

.summary-data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.summary-data-label {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.summary-data-value {
    font-weight: 700;
    text-align: right;
}

.summary-grand-total {
    background: rgba(255,255,255,0.05);
    margin: 30px -30px -40px;
    padding: 30px;
    border-top: 2px dashed rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Stepped Progress Refinement */
.checkout-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-stepper::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2c3e50;
    border: 3px solid #0a3d62;
    color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.step-item.active .step-number {
    background: #e67e22;
    color: white;
    box-shadow: 0 0 25px rgba(230, 126, 34, 0.6);
    border-color: #fff;
    transform: scale(1.1);
}

.step-item.completed .step-number {
    background: #1e8449;
    color: white;
    border-color: #2ecc71;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
}

.step-item.active .step-label {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.step-item.completed .step-label {
    color: rgba(255,255,255,0.8);
}

/* High-Fidelity Summary Card */
.summary-card-v2 {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
}

.summary-header {
    background: linear-gradient(135deg, #0a3d62, #050505);
    color: white;
    padding: 35px 25px;
    text-align: center;
    border-bottom: 4px solid #e67e22;
}

.summary-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.summary-body {
    padding: 35px;
    background: #fff;
}

.summary-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0a3d62;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-label {
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
}

.summary-value {
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
}

.admin-card {
    background: #fff !important;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    margin-bottom: 30px;
    color: #333 !important;
    border: none !important;
}

.admin-card h3 {
    color: #333 !important;
    text-shadow: none !important;
}

.admin-card .text-muted {
    color: #777 !important;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    opacity: 0.5;
}
