/* ================================
   BALLWAYGAMES — Studio Site Styles
   Palette: Teal (#035349), Dark (#1F2633), Gold (#D4A843), White
   ================================ */

@font-face {
    font-family: 'Futura Bold';
    src: url('fonts/Futura-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Bold';
    src: url('fonts/Futura Bold Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

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

:root {
    --teal: #035349;
    --teal-light: #0B6E62;
    --dark: #1F2633;
    --dark-mid: #262633;
    --black: #0A0A0A;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --white: #FFFFFF;
    --white-muted: #A8AFB8;
    --gold: #D4A843;
    --gold-light: #E8C76A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--teal) 0%, var(--dark-mid) 55%, var(--dark) 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }

/* ================================
   Brand Mark (text wordmark)
   ================================ */

.brand-mark {
    font-family: 'Futura Bold', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.08em;
    color: var(--white);
    text-decoration: none;
}

.brand-mark-accent {
    color: var(--gold);
}

.brand-mark-small {
    font-size: 16px;
}

/* ================================
   Nav
   ================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(31, 38, 51, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-cta {
    background: var(--gold);
    color: var(--dark);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--gold-light);
}

/* ================================
   Hero
   ================================ */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Futura Bold', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.text-gold {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-size: 18px;
    color: var(--white-muted);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--dark);
}

.btn-primary:hover {
    background: #E8E8E8;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ================================
   Sections
   ================================ */

section {
    padding: 100px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

section h2 {
    font-family: 'Futura Bold', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-sub {
    text-align: center;
    color: var(--white-muted);
    font-size: 16px;
    margin-bottom: 56px;
}

/* ================================
   Games
   ================================ */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    border-color: rgba(212, 168, 67, 0.35);
    transform: translateY(-2px);
}

.game-card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 67, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.game-card h3 {
    font-family: 'Futura Bold', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--white);
}

.game-card-tagline {
    font-size: 15px;
    color: var(--gold);
    margin-bottom: 16px;
    font-style: italic;
}

.game-card-body {
    font-size: 15px;
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.game-card-actions {
    margin-top: auto;
}

.game-card-placeholder {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
}

.game-card-placeholder:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.18);
}

/* ================================
   About
   ================================ */

.about {
    max-width: 720px;
}

.about p {
    font-size: 16px;
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: center;
}

.about a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 168, 67, 0.3);
}

.about a:hover {
    border-bottom-color: var(--gold);
}

/* ================================
   Footer
   ================================ */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 32px;
    background: rgba(0, 0, 0, 0.25);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand p {
    font-size: 12px;
    color: var(--white-muted);
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

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

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    section {
        padding: 70px 24px;
    }

    .game-card {
        padding: 28px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
