/* CSS resets & variables */
:root {
    --bg-color: #080a14;
    --card-bg: rgba(17, 25, 40, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #f97316;
    /* Orange (matches logo) */
    --secondary: #3b82f6;
    /* Blue (matches database cylinder) */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    -ms-overflow-style: none;
    /* IE en Edge */
    scrollbar-width: none;
    /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari en Opera */
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* Animated glowing background blobs */
.bg-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: float-glow 10s ease-in-out infinite alternate;
}

.bg-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: float-glow-reverse 12s ease-in-out infinite alternate;
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

@keyframes float-glow-reverse {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    100% {
        transform: translate(-80px, -60px) scale(0.9);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    padding: 1rem 2rem;
    z-index: 10;
    position: relative;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphic Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.25rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.8;
}

/* Logo container without frame - only logo */
.logo-container {
    margin-bottom: 1.5rem;
    display: inline-flex;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}

.logo-container:hover {
    transform: scale(1.04) translateY(-3px);
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-weight: 400;
}

/* Countdown Timer */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.time-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.time-box:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(249, 115, 22, 0.3);
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    background: linear-gradient(to bottom, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 600;
}





/* Footer */
footer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #475569;
}

footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .logo-container {
        margin-bottom: 1.25rem;
    }

    .logo-img {
        max-width: 300px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .countdown-container {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .time-box {
        padding: 0.6rem 0.4rem;
        border-radius: 12px;
    }

    .time-value {
        font-size: 1.75rem;
    }

    .time-label {
        font-size: 0.65rem;
    }

    footer {
        margin-top: 1.25rem;
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .logo-img {
        max-width: 280px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .countdown-container {
        gap: 0.35rem;
    }

    .time-box {
        padding: 0.5rem 0.2rem;
        border-radius: 10px;
    }

    .time-value {
        font-size: 1.35rem;
    }

    .time-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }

    footer p span {
        display: block;
        margin-bottom: 0.25rem;
    }

    footer p .sep {
        display: none;
    }
}

/* Live message styling (used when countdown hits zero) */
.live-msg {
    grid-column: span 4;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

