/* =========================================
   MIDDLE CLAW GAMES — RETRO DARK THEME
   ========================================= */

:root {
    --bg-base:      #0a0a0a;
    --bg-surface:   #111111;
    --bg-raised:    #1a1a1a;
    --accent-red:   #e8192c;
    --accent-orange:#f5a623;
    --text-primary: #e8e8e8;
    --text-muted:   #666666;
    --border:       #2a2a2a;
    --font-retro:   'Press Start 2P', monospace;
    --font-mono:    'Share Tech Mono', monospace;
}

/* === BASE === */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-mono);
    overflow-x: hidden;
}

main {
    flex: 1;
}

/* === SCANLINE OVERLAY === */

.scanlines {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.08) 3px,
        rgba(0, 0, 0, 0.08) 4px
    );
}

/* === ACCENT COLORS === */

.accent-red    { color: var(--accent-red); }
.accent-orange { color: var(--accent-orange); }
.muted-text    { color: var(--text-muted); font-size: 0.9rem; }

/* === NAVBAR === */

.mcg-navbar {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--accent-red);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.mcg-brand {
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
}

.mcg-brand:hover { color: var(--accent-orange) !important; }

.brand-bracket { color: var(--accent-red); }

.mcg-nav-link {
    font-family: var(--font-retro);
    font-size: 0.55rem;
    color: var(--text-muted) !important;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s, text-shadow 0.2s;
}

.mcg-nav-link:hover {
    color: var(--accent-orange) !important;
    text-shadow: 0 0 8px var(--accent-orange);
}

.mcg-toggler {
    background: none;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 0.25rem 0.6rem;
    font-size: 1.1rem;
}

/* === HERO SECTION === */

.hero {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(232, 25, 44, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(245, 166, 35, 0.05) 0%, transparent 50%),
        var(--bg-base);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,25,44,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,25,44,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    font-family: var(--font-retro);
    font-size: 0.55rem;
    color: var(--accent-orange);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-retro);
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.3;
    color: var(--text-primary);
    text-shadow:
        3px 3px 0 #000,
        0 0 40px rgba(232, 25, 44, 0.3);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* === RETRO BUTTON === */

.btn-retro {
    display: inline-block;
    font-family: var(--font-retro);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    padding: 1rem 2rem;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
    background: transparent;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-retro:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px rgba(232, 25, 44, 0.6), 0 0 40px rgba(232, 25, 44, 0.2);
    text-shadow: 0 0 8px #fff;
}

/* === MASCOT === */

.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mascot-wrapper {
    position: relative;
    display: inline-block;
}

.mascot-img {
    width: 100%;
    max-width: 540px;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(232, 25, 44, 0.4))
            drop-shadow(0 0 60px rgba(245, 166, 35, 0.15));
    animation: float 4s ease-in-out infinite;
}

.mascot-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(232,25,44,0.4), transparent 70%);
    filter: blur(12px);
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* === COMING SOON SECTION === */

.coming-soon-section {
    padding: 6rem 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-family: var(--font-retro);
    font-size: 0.5rem;
    color: var(--accent-orange);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-retro);
    font-size: clamp(1rem, 3vw, 2rem);
    color: var(--text-primary);
    line-height: 1.5;
}

.terminal-box {
    background: #000;
    border: 1px solid var(--accent-red);
    padding: 2rem;
    max-width: 560px;
    text-align: left;
    box-shadow: 0 0 20px rgba(232, 25, 44, 0.15), inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}

.terminal-box::before {
    content: '● ● ●';
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.terminal-line {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.terminal-prompt { color: var(--accent-red); margin-right: 0.5rem; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.blink { animation: blink 1s step-end infinite; }

/* === ABOUT SECTION === */

.about-section {
    padding: 6rem 0;
    background-color: var(--bg-base);
}

.about-text {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.8;
}

.stat-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.stat-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(232, 25, 44, 0.2);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-title {
    font-family: var(--font-retro);
    font-size: 0.65rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.stat-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* === FOOTER === */

.mcg-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--accent-red);
    padding: 2rem 0;
    font-family: var(--font-retro);
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 2;
}

.mcg-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.mcg-footer a:hover { color: var(--accent-orange); }

.footer-sub { margin: 0.5rem 0 0; }

/* === RESPONSIVE === */

@media (max-width: 991px) {
    .hero { padding: 3rem 0; min-height: auto; }
    .hero-mascot { margin-top: 3rem; }
    .mascot-img { max-width: 380px; }
    .hero-text { text-align: center; }
    .btn-retro { margin: 0 auto; display: table; }
}

@media (max-width: 575px) {
    .mascot-img { max-width: 300px; }
    .terminal-box { padding: 1.25rem; }
}

/* === PRIVACY POLICY PAGE === */

.policy-page {
    padding-bottom: 5rem;
}

.policy-body {
    max-width: 760px;
}

.policy-block {
    border-left: 2px solid var(--border);
    padding: 1.5rem 0 1.5rem 2rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}

.policy-block:hover {
    border-color: var(--accent-red);
}

.policy-heading {
    font-family: var(--font-retro);
    font-size: 0.6rem;
    color: var(--accent-orange);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.policy-body p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.policy-body a {
    color: var(--accent-red);
    text-decoration: none;
}

.policy-body a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}