/* ── MGM THEME — shared across all pages ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --gold: #c49f12;
    --gold-light: #e8bc1a;
    --gold-dim: rgba(196,159,18,.15);
    --bg: #0a0a0a;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #888;
    --border: rgba(255,255,255,0.07);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ── NAVBAR ── */
.mgm-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: padding .3s;
}
.mgm-nav.scrolled { padding: 12px 40px; }
.nav-logo img { height: 48px; }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .03em;
    transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .store-link { color: var(--gold) !important; }

.nav-cta { display: flex; gap: 12px; align-items: center; }

.mgm-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
    border: none;
}
.mgm-btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.mgm-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.mgm-btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #000;
}
.mgm-btn-gold:hover { background: var(--gold-light); color: #000; }
.mgm-btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.mgm-btn-outline:hover { background: var(--gold); color: #000; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 73px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    border-top: 1px solid var(--border);
    overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a.store-link { color: var(--gold); }
.nav-mobile-menu .mgm-btn { text-align: center; margin-top: 8px; }

/* ── COMPILE ANNOUNCEMENT BAND ── */
.compile-band {
    margin-top: 80px;
    background: linear-gradient(90deg, #1a1000, #2a1e00, #1a1000);
    border-bottom: 1px solid rgba(196,159,18,.3);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}
.compile-band-badge {
    background: var(--gold);
    color: #000;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}
.compile-band-text {
    font-size: .85rem;
    color: var(--text);
    font-weight: 500;
}
.compile-band-text strong { color: var(--gold); }
.compile-band-link {
    font-size: .8rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(196,159,18,.4);
    padding: 4px 12px;
    border-radius: 100px;
    transition: all .2s;
}
.compile-band-link:hover { background: var(--gold); color: #000; }
.compile-band-sep { color: var(--text-muted); font-size: .7rem; }

/* ── PAGE HEADER ── */
.page-hero {
    padding: 80px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .82rem;
    color: var(--text-muted);
}
.page-hero-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: var(--text-muted); }
.page-hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; max-width: 600px; }

/* ── SECTION HELPERS ── */
.mgm-section { padding: 80px 40px; }
.mgm-section-alt { padding: 80px 40px; background: var(--bg2); }
.mgm-container { max-width: 1200px; margin: 0 auto; }

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }

/* ── CARDS ── */
.mgm-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .3s, transform .3s;
}
.mgm-card:hover { border-color: rgba(196,159,18,.4); transform: translateY(-3px); }

/* ── FOOTER ── */
.mgm-footer {
    padding: 60px 40px 32px;
    border-top: 1px solid var(--border);
}
.mgm-footer-inner { max-width: 1200px; margin: 0 auto; }
.mgm-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; line-height: 1.6; max-width: 220px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
    width: 34px; height: 34px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
    transition: all .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.mgm-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mgm-footer-bottom p { color: var(--text-muted); font-size: .78rem; }

/* ── FORMS ── */
.mgm-form-group { margin-bottom: 20px; }
.mgm-form-group label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.mgm-form-group label sup { color: var(--gold); }
.mgm-input, .mgm-textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: .9rem;
    transition: border-color .2s;
    outline: none;
}
.mgm-input:focus, .mgm-textarea:focus { border-color: var(--gold); }
.mgm-input::placeholder, .mgm-textarea::placeholder { color: var(--text-muted); }
.mgm-textarea { resize: vertical; min-height: 140px; }

/* ── DIVIDER ── */
.mgm-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── GOLD TEXT ── */
.gold { color: var(--gold); }

/* ── MOBILE ── */
@media (max-width: 900px) {
    .mgm-nav { padding: 16px 20px; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .mgm-section, .mgm-section-alt { padding: 60px 20px; }
    .page-hero { padding: 60px 20px 40px; }
    .mgm-footer { padding: 48px 20px 24px; }
    .mgm-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .mgm-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .compile-band { gap: 10px; }
}
@media (max-width: 500px) {
    .mgm-footer-top { grid-template-columns: 1fr; }
}
