@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap');

/* Main Wrapper */
.f7-overlay-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: #07080a;
    display: flex;
    /* Global Default: Visible immediately */
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: white;
    text-align: center;
    pointer-events: auto;
    /* Ensure it blocks while visible */
}

/* Emergency Hide Class */
.f7-hidden {
    display: none !important;
    pointer-events: none !important;
    z-index: -1 !important;
    opacity: 0 !important;
}

/* Background Gradient */
.f7-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(196, 30, 58, 0.2) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Close Button */
.f7-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.f7-close-btn:hover {
    background: rgba(196, 30, 58, 0.8);
    transform: rotate(90deg);
}

/* Content Container */
.f7-content {
    position: relative;
    max-width: 800px;
    width: 90%;
}

/* Logo */
.f7-logo img {
    height: 160px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(196, 30, 58, 0.5));
}

/* Message */
.f7-message {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Timer Container */
.f7-timer-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Time Block */
.time-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid #C41E3A;
    padding: 25px;
    border-radius: 16px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.time-block:hover {
    transform: translateY(-5px);
    border-bottom-color: #ff3355;
}

.time-block span {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.time-block label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #C41E3A;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Bottom Nav */
.f7-bottom-nav {
    position: absolute;
    bottom: -100px;
    /* Push down relative to content, or fixed bottom? Design said "bottom nav", usually fixed bottom of screen or content. Let's make it relative to content but with margin */
    width: 100%;
    left: 0;
}

/* If screen is small, relative is better. If large, maybe fixed bottom? 
   Let's stick to flow content for safety on mobile. */


.f7-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.f7-nav-list li {
    margin: 0;
}

.f7-nav-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-weight: 500;
}

.f7-nav-list li a:hover {
    color: #C41E3A;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .f7-timer-container {
        gap: 10px;
    }

    .time-block {
        min-width: 70px;
        padding: 15px;
    }

    .time-block span {
        font-size: 2rem;
    }

    .f7-logo img {
        height: 60px;
    }

    .f7-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}