/* ================================================
   MDRN - PROFESSIONAL INDIE STUDIO DESIGN
   Clean, minimal aesthetic like Devolver/Annapurna
   ================================================ */

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

:root {
    /* Clean color palette */
    --bg-black: #000000;
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark-gray: #707070;
    --accent: #ffffff;
    --border: #2a2a2a;
    --hover-glow: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Clean minimal */
header {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Hero - Minimal clean */
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Games Grid */
.games-showcase-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Game Cards - Clean minimal */
.game-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    border-color: var(--text-white);
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.game-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark-gray);
    margin-bottom: 20px;
    padding: 4px 8px;
    border: 1px solid var(--border);
}

.game-badge.coming-soon {
    color: var(--text-gray);
}

.game-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.game-tagline {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-weight: 500;
}

.game-description p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.game-features {
    list-style: none;
    margin: 20px 0 0 0;
}

.game-features li {
    color: var(--text-dark-gray);
    font-size: 14px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
}

.game-features li:first-child {
    border-top: none;
}

.game-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.game-btn {
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn:hover:not(:disabled) {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.game-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.game-btn-secondary {
    color: var(--text-gray);
}

.store-badges {
    margin-top: 24px;
    min-height: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Arcade Banners - GamePro style */
.arcade-banner {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(26,26,26,0.3) 50%, rgba(0,0,0,0) 100%);
}

.arcade-banner p {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.4;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}

/* Bandcamp OST Section */
.bandcamp-ost-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.ost-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ost-section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.ost-section-subtitle {
    font-size: 12px;
    color: var(--text-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 900px) {
    .ost-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.bandcamp-ost-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
}

.ost-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.ost-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ost-embed iframe {
    width: 100%;
    height: 400px;
}

/* Footer - Clean professional */
.footer-section {
    border-top: 1px solid var(--border);
    padding: 80px 0 60px;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-studio h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.footer-studio p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 8px 0;
}

.footer-links {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-white);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 30px 0;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .games-showcase-section,
    .bandcamp-ost-section {
        padding: 60px 0;
    }

    .game-card {
        padding: 30px;
    }

    .game-actions {
        flex-direction: column;
    }

    .game-btn {
        width: 100%;
        text-align: center;
    }
}

/* =======================================================================
   GAME PAGE VISUAL MOMENTS - Stylized panels for each game's aesthetic
   ======================================================================= */

/* Visual moment base */
.visual-moment {
    width: 100%;
    min-height: 300px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.visual-moment-content {
    text-align: center;
    z-index: 2;
    padding: 40px;
}

.visual-moment-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.visual-moment-subtitle {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Pizza Connection - Crime/Blood aesthetic */
.pizza-visual {
    background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
    border-color: #8B0000;
}

.pizza-visual .visual-moment-title {
    color: #D4AF37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.pizza-visual .visual-moment-subtitle {
    color: #ffffff;
}

/* Hack Love Betray - Cyberpunk/Hacker aesthetic */
.hlb-visual {
    background:
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 255, 0.03) 50%, transparent 100%),
        linear-gradient(135deg, #0a0a0f 0%, #1a0520 50%, #0a0a0f 100%);
    border: 2px solid;
    border-image: linear-gradient(90deg, #ff006e, #00ffff, #ff006e) 1;
    position: relative;
}

.hlb-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.hlb-visual .visual-moment-content {
    position: relative;
    z-index: 2;
}

.hlb-visual .visual-moment-title {
    color: #00ffff;
    font-family: monospace;
    font-size: 28px;
    letter-spacing: 0.15em;
    text-shadow:
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.4),
        2px 2px 0px rgba(255, 0, 110, 0.3);
}

.hlb-visual .visual-moment-subtitle {
    color: #ff006e;
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
    margin-top: 8px;
}

/* Neon Leviathan - Maritime/Whaling aesthetic */
.neon-visual {
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
    border-color: #0066cc;
}

.neon-visual .visual-moment-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.neon-visual .visual-moment-subtitle {
    color: #00ffff;
}

/* Cloudbreak - Calm/Breathing aesthetic */
.cloudbreak-visual {
    background: linear-gradient(135deg, #0a1a2e 0%, #16213e 50%, #0a1a2e 100%);
    border-color: #4a90e2;
}

.cloudbreak-visual .visual-moment-title {
    color: #87ceeb;
    text-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

.cloudbreak-visual .visual-moment-subtitle {
    color: #ffffff;
    opacity: 0.6;
}

/* Animated gradient overlay for depth */
.visual-moment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .visual-moment {
        min-height: 200px;
    }
    
    .visual-moment-title {
        font-size: 24px;
    }
    
    .visual-moment-subtitle {
        font-size: 12px;
    }
}
