﻿/* ── TAPCARD global styles ── */
:root {
    --gold: #C9A96E;
    --gold-light: #E8D5B0;
    --dark: #0A0A0B;
    --dark-2: #111114;
    --dark-3: #18181C;
    --dark-4: #222228;
    --border: rgba(201,169,110,0.18);
    --text: #F0EDE8;
    --text-muted: #8A8680;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Loading screen */
.loading-screen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--gold);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(10,10,11,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: var(--gold);
        }

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-ghost {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem 0.75rem;
}

    .btn-ghost:hover {
        color: var(--gold);
    }

.btn-primary {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--gold);
    border: none;
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary:hover {
        background: var(--gold-light);
        transform: translateY(-1px);
    }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201,169,110,0.07) 0%, transparent 70%), radial-gradient(ellipse 40% 30% at 80% 70%, rgba(201,169,110,0.04) 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201,169,110,0.1);
    border: 0.5px solid var(--border);
    border-radius: 40px;
    padding: 0.4rem 1.1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

    .hero-title em {
        font-style: italic;
        color: var(--gold);
    }

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: 0.5px solid rgba(240,237,232,0.2);
    border-radius: 40px;
    padding: 0.7rem 1.75rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* ── LEGAL PAGES ── */
.legal-page {
    min-height: 100vh;
    padding: 8rem 2rem 5rem;
}

.legal-inner {
    max-width: 780px;
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.legal-effective {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
}

.legal-inner h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    margin: 2rem 0 0.75rem;
}

.legal-inner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-inner ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-inner li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.legal-inner strong {
    color: var(--text);
    font-weight: 500;
}

.legal-link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
