:root {
    --container-padding: clamp(1rem, 5vw, 3rem);
    --heading-size: clamp(2rem, 8vw, 3.5rem);
    --subtitle-size: clamp(1rem, 4vw, 1.2rem);
    --countdown-number-size: clamp(1.5rem, 6vw, 2.5rem);
    --countdown-gap: clamp(0.5rem, 3vw, 2rem);
    --social-icon-size: clamp(1.25rem, 5vw, 1.5rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(-45deg, #ee7752, #77af2e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.container {
    text-align: center;
    padding: var(--container-padding);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
    max-width: min(800px, 95%);
    width: 100%;
    margin: auto;
}

h1 {
    font-size: var(--heading-size);
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.2;
}

.subtitle {
    font-size: var(--subtitle-size);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .container {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .container {
        background: rgba(0, 0, 0, 0.2);
    }
}
