/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    /* Soften the dark overlay for 90% background visibility */
    background-color: rgba(11, 3, 23, 0.5); 
}

/* Custom Scrollbar hiding */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth transitions for view switching */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fixed Bottom Navigation Container - Universal Dock Style */
.bottom-nav-container {
    position: fixed;
    z-index: 50;
    transition: all 0.3s ease;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    border-radius: 9999px;
    padding: 8px 16px;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 400px) {
    .bottom-nav-container {
        padding: 6px 10px;
        gap: 4px;
        bottom: 15px;
    }
}

.bottom-nav-container .nav-btn {
    width: 60px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.bottom-nav-container .nav-btn span {
    font-size: 0.65rem;
}

@media (min-width: 768px) {
    .bottom-nav-container .nav-btn {
        width: 80px;
    }

    .bottom-nav-container .nav-btn span {
        font-size: 0.75rem;
    }
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    /* slate-800/60 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Container Adjustments for Desktop constraints */
.main-layout {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Extra padding at bottom to prevent nav overlay over content */
    padding-bottom: 90px;
}

@media (min-width: 1024px) {
    .main-layout {
        /* Cap width on massive screens so it doesn't stretch awkwardly */
        max-width: 1440px;
    }
}

/* Modal Animations */
#payment-modal {
    transition: opacity 0.3s ease;
}

#modal-box {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trust Badge Glowing Animations */
@keyframes glow-sequence-1 {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  10% { opacity: 1; transform: scale(1.3); }
  33% { opacity: 0.4; transform: scale(0.9); }
}
@keyframes glow-sequence-2 {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  33% { opacity: 0.4; transform: scale(0.9); }
  43% { opacity: 1; transform: scale(1.3); }
  66% { opacity: 0.4; transform: scale(0.9); }
}
@keyframes glow-sequence-3 {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  66% { opacity: 0.4; transform: scale(0.9); }
  76% { opacity: 1; transform: scale(1.3); }
}
.glow-seq-1 { animation: glow-sequence-1 4s infinite ease-in-out; }
.glow-seq-2 { animation: glow-sequence-2 4s infinite ease-in-out; }
.glow-seq-3 { animation: glow-sequence-3 4s infinite ease-in-out; }

/* Infinite Marquee Auto-Scroll */
@keyframes scrollX {
    0% {
        transform: translateX(0);
    }


    100% {
        transform: translateX(calc(-50% - 0.5rem));
    }

    /* Accommodate for flex gap */
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: scrollX 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Timer Polish */
#timer-hours, #timer-minutes, #timer-seconds,
#timer-hours-mob, #timer-minutes-mob, #timer-seconds-mob {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    letter-spacing: -0.05em;
}

#timer-seconds, #timer-seconds-mob {
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}