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

:root {
    --bg-deep: #071407;
    --bg-dark: #060e06;
    --bg-card: #081208;
    --green-mid: #143314;
    --green-subtle: #1a3a1a;
    --green-border: rgba(33, 66, 33, 0.385);
    --gold: #c9a84c;
    --gold-light: #dbb960;
    --gold-dim: #8a7030;
    --cream: #f7f3e6;
    --cream-hover: #fffef7;
    --text-main: #cbc7ae;
    --text-muted: #94947f;
    --text-dim: #6e6e5f;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-main);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    min-height: 100%;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(16, 41, 16, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 100%, rgba(7, 14, 7, 1) 0%, transparent 50%),
        var(--bg-deep);
}

.page-inner {
    width: 100%;
    max-width: 560px;
    text-align: center;
}

/* Progress bar */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    z-index: 50;
}

/* ---- HERO ---- */
.logo {
    width: 180px;
    height: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.12));
}

.logo-pairing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
}

.logo-x {
    width: 24px;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0.4rem 0;
}

.clubgg-hero-logo {
    height: 22px;
    margin-top: 0;
    width: auto;
    opacity: 0.7;
    filter: sepia(0.6) saturate(1.5) hue-rotate(-10deg) brightness(1.1);
}

.hero-tagline {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.65;
    margin: 0 auto 2rem;
    letter-spacing: 0.01em;
}

.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.offer {
    background: rgba(20, 51, 20, 0.2);
    border: 1px solid var(--green-border);
    border-radius: 8px;
    padding: 0.85rem 0.5rem;
}

.offer-value {
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1.2;
}

.offer-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

.footer {
    margin-top: 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    font-weight: 300;
    white-space: nowrap;
}

.footer-sep {
    margin: 0 0.4rem;
    opacity: 0.5;
}

/* ---- SHARED ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 340px;
    padding: 0.95rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--bg-deep);
    background: var(--cream);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--cream-hover);
    box-shadow: 0 4px 24px rgba(245, 240, 224, 0.1);
}

.btn-primary:active { transform: scale(0.98); }

.btn-primary .arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.btn-primary:hover .arrow { transform: translateX(3px); }

.step-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.75rem;
}

.page-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1.3rem, 4.5vw, 1.6rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.page-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
}

.step-header .step-label { margin-bottom: 0; }

.step-header .back-link { position: absolute; left: 0; }

.back-link {
    font-size: 0.78rem;
    color: var(--text-dim);
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
    text-decoration: none;
}

.back-link:hover { color: var(--text-main); }

.contact-warning {
    color: #c9a84c;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ---- DOWNLOAD ---- */
.download-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dl-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    background: rgba(20, 51, 20, 0.2);
    border: 1px solid var(--green-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
    text-align: left;
}

.dl-card:hover {
    border-color: var(--gold-dim);
    background: rgba(30, 60, 30, 0.25);
    color: var(--cream);
}

.dl-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    opacity: 0.85;
}

.dl-icon-img {
    filter: brightness(0) invert(0.75) sepia(0.3) hue-rotate(30deg);
}

.dl-icon-google {
    filter: saturate(0) brightness(0.85) contrast(0.9) sepia(0.4) hue-rotate(30deg);
    transform: scale(0.8);
}

.dl-card:hover .dl-icon { opacity: 1; }

.dl-card-text {
    font-size: 0.88rem;
    font-weight: 400;
}

.dl-card-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.1rem;
}

.join-box {
    background: rgba(20, 51, 20, 0.2);
    border: 1px solid var(--green-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.join-box h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.join-box ol {
    list-style: none;
    counter-reset: join;
}

.join-box ol li {
    counter-increment: join;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.35rem 0;
    line-height: 1.5;
}

.join-box ol li::before {
    content: counter(join);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.82rem;
    flex-shrink: 0;
    min-width: 0.9rem;
    text-align: right;
}

.club-id {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    color: var(--gold);
    font-weight: 600;
    font-family: 'Inter', monospace;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
}

.club-id:hover { background: rgba(201, 168, 76, 0.2); }

.club-id::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.club-id.copied { background: rgba(201, 168, 76, 0.25); }

.club-id.copied::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    opacity: 1;
}

/* ---- FORM ---- */
.input-group {
    margin-bottom: 0.75rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(10, 18, 10, 0.8);
    border: 1px solid rgba(40, 79, 40, 0.40);
    border-radius: 6px;
    color: var(--cream);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus { border-color: var(--gold-dim); }
.input-group input::placeholder { color: var(--text-dim); }

/* ---- MANAGER / DONE ---- */
.manager-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.manager-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem;
    background: rgba(20, 51, 20, 0.25);
    border: 1px solid var(--green-border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
}

.manager-btn:hover {
    border-color: var(--gold-dim);
    color: var(--cream);
    background: rgba(30, 60, 30, 0.3);
}

.manager-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.final-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

@media (min-width: 769px) {
    .footer {
        position: fixed;
        bottom: 1.5rem;
        left: 0;
        right: 0;
        margin-top: 0;
    }
}

/* ---- MOBILE ---- */
.mobile-only { display: none; }

@media (max-width: 768px) {
    html, body { overflow: hidden; height: 100%; }
    .logo { width: 216px; }
    .clubgg-hero-logo { height: 26px; }
    .hero-tagline { font-size: 1.045rem; }
    .footer-copyright { display: none; }
    .desktop-only { display: none; }
    .mobile-only { display: block; }
}

@media (max-height: 680px) {
    .logo { width: 144px; }
    .logo-pairing { margin-bottom: 0.75rem; }
    .clubgg-hero-logo { height: 19px; }
    .hero-tagline { margin-bottom: 1rem; font-size: 0.969rem; }
    .offers { gap: 0.4rem; margin-bottom: 1rem; }
    .offer { padding: 0.65rem 0.4rem; }
    .offer-value { font-size: 1rem; }
}

@media (max-height: 580px) {
    .logo { width: 108px; }
    .logo-pairing { margin-bottom: 0.5rem; }
    .clubgg-hero-logo { height: 17px; }
    .hero-tagline { margin-bottom: 0.75rem; font-size: 0.912rem; }
}

@media (max-width: 380px) {
    .offers { gap: 0.35rem; }
    .offer-value { font-size: 0.95rem; }
    .offer-label { font-size: 0.58rem; }
}
