/* ════════════════════════════════════════════════════════════════════
   GoldUnion · Hub Playbooks — page d'accueil
   Charte alignée sur les playbooks (gold/dark, Inter)
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --gold: #D4A843;
    --gold-light: #F5E6B8;
    --gold-dark: #8B6914;
    --dark: #1A1A2E;
    --dark-card: #16213E;
    --dark-surface: #1E2A47;
    --text: #E8E8EC;
    --text-muted: #9CA3AF;
    --green: #22C55E;
    --orange: #F59E0B;
    --blue: #1877F2;
    --whatsapp: #25D366;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(ellipse at top, rgba(212, 168, 67, 0.06), transparent 60%),
        var(--dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.hub {
    width: 100%;
    max-width: 1080px;
}

/* ── Header ──────────────────────────────────────────────────────── */
.hub-header {
    text-align: center;
    margin-bottom: 64px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    font-weight: 800;
}

.brand-logo {
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--gold);
    text-transform: uppercase;
}

.brand-sub {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hub-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hub-header .lede {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Cards grid ──────────────────────────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}

.card-active {
    cursor: pointer;
}

.card-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.card-active:hover {
    border-color: rgba(212, 168, 67, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.04), rgba(255, 255, 255, 0.01));
}

.card-active:hover::before {
    opacity: 1;
}

.card-soon {
    opacity: 0.55;
    cursor: not-allowed;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-meta {
    background: linear-gradient(135deg, var(--blue), #4267B2);
    color: white;
}

.icon-wa {
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: white;
}

.card-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.status-live {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-soon {
    background: rgba(156, 163, 175, 0.12);
    color: var(--text-muted);
    border: 1px solid rgba(156, 163, 175, 0.25);
}

.card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flag {
    font-size: 18px;
    line-height: 1;
}

.card-arrow {
    margin-left: auto;
    color: var(--gold);
    font-size: 20px;
    font-weight: 600;
    transition: transform 0.2s;
}

.card-active:hover .card-arrow {
    transform: translateX(4px);
}

.card-arrow-muted {
    color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.hub-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hub-footer .dot {
    opacity: 0.5;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    body { padding: 32px 16px; }
    .hub-header { margin-bottom: 40px; }
    .cards { gap: 16px; }
    .card { padding: 22px; }
}
