/* ========================================
   Spindip — Coming Soon Landing Page
   ======================================== */

:root {
    /* Primary accent from the logo dip color */
    --color-primary: rgb(200, 235, 196);
    --color-primary-dark: rgb(160, 200, 156);

    /* Neutral palette */
    --color-bg: #fefefe;
    --color-text: #2d3436;
    --color-text-muted: #636e72;
    --color-text-light: #b2bec3;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;

    /* Layout */
    --max-width: 480px;
    --logo-size: 180px;

    /* Animation */
    --transition-base: 0.3s ease;
    --animation-duration: 0.6s;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Layout */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--spacing-lg);
}

.content {
    text-align: center;
    max-width: var(--max-width);
    width: 100%;
}

/* Logo */
.logo-wrapper {
    margin-bottom: var(--spacing-lg);
}

.logo {
    width: var(--logo-size);
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 12px rgba(200, 235, 196, 0.3));
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo.spin {
    animation: spinBounce 1.4s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

@keyframes spinBounce {
    0% {
        transform: rotate(0deg) scale(1);
    }

    60% {
        transform: rotate(340deg) scale(1.06);
    }

    80% {
        transform: rotate(365deg) scale(0.98);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Typography */
.tagline {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.coming-soon {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
}

/* Decorative dots */
.decorative-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 0.8;
}

.dot:nth-child(2) {
    background-color: var(--color-primary-dark);
}

.dot:nth-child(3) {
    opacity: 0.5;
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp var(--animation-duration) ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Responsive
   ======================================== */

/* Small phones */
@media (max-width: 360px) {
    :root {
        --logo-size: 140px;
        --font-size-xl: 1.25rem;
        --font-size-lg: 1.1rem;
    }

    .container {
        padding: var(--spacing-md);
    }
}

/* Tablets and up */
@media (min-width: 768px) {
    :root {
        --logo-size: 200px;
        --font-size-xl: 1.75rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .content {
        padding: var(--spacing-xl) 0;
    }
}
