:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --accent-color: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* For the orbs */
    position: relative;
}

/* Background Effects */
.background-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #4c1d95;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.disclaimer {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 500px;
    line-height: 1.5;
}

.disclaimer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.disclaimer a:hover {
    text-decoration: underline;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Countdown Grid */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Payment Info */
.payment-info {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.payment-info p {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

#next-date {
    font-weight: 600;
    color: var(--accent-color);
}

/* Footer */
.footer {
    margin-top: 3rem;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 600px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent-color);
}

.legal {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 600px) {
    .glass-card {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .number {
        font-size: 2.5rem;
    }
}

/* Payment Schedule */
.payment-schedule {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: left;
}

.payment-schedule h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.payment-item.upcoming {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.payment-item.past {
    opacity: 0.5;
}

.payment-name {
    font-weight: 600;
    color: #e2e8f0;
}

.payment-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.payment-item.upcoming .payment-name {
    color: var(--accent-color);
}