/* ── RightTap Website ── */

:root {
    --vde-accent: #22C55E;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #050505;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(.landing) {
    overflow: auto;
}

/* ── Nav overrides ── */
.vde-nav {
    background: rgba(5, 5, 5, 0.75);
    flex-shrink: 0;
}

.vde-nav-brand .brand-text {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* ── Landing ── */

.landing {
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Full-viewport game demo */
.game-demo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.target-zone {
    width: min(55vw, 55vh);
    height: min(55vw, 55vh);
    border-radius: 50%;
    border: 30px solid rgba(34, 197, 94, 0.06);
    position: absolute;
    box-shadow: 0 0 80px rgba(34, 197, 94, 0.03), inset 0 0 80px rgba(34, 197, 94, 0.01);
}

.shrinking-circle {
    width: min(55vw, 55vh);
    height: min(55vw, 55vh);
    border-radius: 50%;
    border: 30px solid rgba(34, 197, 94, 0.15);
    position: absolute;
    transform: scale(2.5);
    animation: shrink 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shrink {
    0% {
        transform: scale(2.5);
        opacity: 0;
        border-color: rgba(34, 197, 94, 0.05);
    }
    15% {
        opacity: 0.4;
        border-color: rgba(34, 197, 94, 0.08);
    }
    45% {
        border-color: rgba(34, 197, 94, 0.15);
        opacity: 0.6;
    }
    50% {
        transform: scale(1);
        border-color: rgba(34, 197, 94, 0.3);
        box-shadow: 0 0 100px rgba(34, 197, 94, 0.08);
        opacity: 1;
    }
    55% {
        border-color: rgba(34, 197, 94, 0.12);
        opacity: 0.4;
    }
    75% {
        transform: scale(0.3);
        opacity: 0.15;
    }
    100% {
        transform: scale(0.05);
        opacity: 0;
    }
}

.content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content h1 {
    font-size: clamp(4.5rem, 14vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 12px;
}

.accent {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #666;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.03em;
}

.cta {
    display: inline-block;
    margin-bottom: 36px;
}

.cta img {
    transition: transform 0.2s, opacity 0.2s;
}

.cta img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.features {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.features span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.01em;
}

.features .dot {
    color: #333;
    font-size: 0.6rem;
}


/* ── Legal pages ── */

.legal {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 24px 4rem;
    flex: 1;
}

body:has(.legal) {
    overflow: auto;
}

.legal h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal .updated {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 48px;
}

.legal h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 36px 0 12px;
    color: #eee;
}

.legal h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 8px;
    color: #ddd;
}

.legal p {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.7;
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal li {
    margin-bottom: 4px;
}

.legal a {
    color: #4ade80;
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .features span { font-size: 0.72rem; }
    .features .dot { font-size: 0.5rem; }
}
