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

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

:root {
    --red: #cf1313;
    --red-hover: #e61515;
    --bg-body: #222222;
    --bg-block: #272727;
    --bg-header: #333333;
    --bg-footer: #1c1c1c;
    --text: #bbbbbb;
    --heading: #e9e9e9;
    --border: rgba(187,187,187,0.15);
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }

h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.5rem; margin: 0.75rem 0; }
li { margin-bottom: 0.4rem; }

/* ===== NAV BAR ===== */
.navbar {
    background: var(--red);
    color: #f9f9f9;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img { height: 40px; }

.navbar-links { display: flex; gap: 0; }
.navbar-links a {
    color: #f9f9f9;
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 64px;
    display: inline-block;
    font-weight: 400;
    transition: opacity 0.15s;
}
.navbar-links a:hover { opacity: 0.8; color: #f9f9f9; }
.navbar-links a.active { font-weight: 600; }
.navbar-links a.nav-presskit {
    line-height: 1.3;
    font-size: 0.78rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

/* ===== HEADER (HERO AREA) ===== */
.header {
    background: var(--bg-header);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.header-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.header-logo { margin-bottom: 2rem; }
.header-logo img { max-width: 580px; margin: 0 auto; }

.header-media { position: relative; display: inline-block; margin-bottom: 2rem; }
.header-media img { max-width: 100%; border-radius: 4px; }

.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: var(--red);
    color: #f9f9f9;
    font-size: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: background 0.2s, transform 0.2s;
}
.play-btn:hover { background: var(--red-hover); transform: translate(-50%,-50%) scale(1.1); color: #f9f9f9; }

.header-description {
    font-size: 1.2rem;
    max-width: 50rem;
    margin: 0 auto 2rem;
    color: #fff;
}

.header-btns { margin-top: 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    font-size: 0.95rem;
    border: none;
    border-radius: 0.2em;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s;
}
.btn-primary { background: var(--red); color: #f9f9f9; }
.btn-primary:hover { background: var(--red-hover); color: #f9f9f9; }
.btn-large { font-size: 1.25rem; padding: 0.5em 1.5em; }

/* ===== CONTENT BLOCKS ===== */
.content-area { padding: 0; }

.block {
    padding: 3rem 2rem;
}
.block:nth-child(even) { background: var(--bg-block); }

.block-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.block-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.block-grid .col-half { flex: 1; min-width: 300px; }
.block-grid .col-full { width: 100%; }

/* ===== PHOTO GRID ===== */
.photo-section { margin-bottom: 0; }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.photo-item {
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-item:hover img { transform: scale(1.03); }

.photo-grid.wide-first .photo-item:first-child {
    grid-column: span 3;
}
.photo-grid.wide-first .photo-item:first-child img {
    aspect-ratio: 16/9;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-footer);
    color: var(--text);
    padding: 2rem;
    box-shadow: inset 0 4px 4px -4px rgba(0,0,0,0.3);
}

.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    margin: 0 0.25rem;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(207,19,19,0.2); color: var(--red); }
.footer-social svg { width: 22px; height: 22px; }

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.lightbox-overlay img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 4px;
}
.lightbox-overlay.active { display: flex; }

/* ===== PRESSKIT SPECIFIC ===== */
.factsheet strong { color: var(--heading); }
.factsheet-line { margin-bottom: 0.3rem; }

.callout {
    border-left: 4px solid var(--red);
    padding: 1rem 1.5rem;
    background: rgba(207,19,19,0.05);
    border-radius: 0 4px 4px 0;
}

/* ===== STUDIO SITE ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--bg-block);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    color: inherit;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    color: inherit;
}
.game-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.game-card-body { padding: 1.5rem; }
.game-card-body h3 { margin-bottom: 0.5rem; }
.game-card-body p { margin-bottom: 1rem; font-size: 0.95rem; }
.game-card-link { color: var(--red); font-weight: 500; }

.studio-contact {
    display: inline-block;
    padding: 0.6em 1.5em;
    background: var(--red);
    color: #f9f9f9;
    border-radius: 0.2em;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background 0.2s;
}
.studio-contact:hover { background: var(--red-hover); color: #f9f9f9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .navbar { padding: 0 1rem; }
    .navbar-links a { padding: 0 0.75rem; font-size: 0.9rem; }
    .header { padding: 2.5rem 1rem; }
    .header-logo img { max-width: 100%; }
    .header-description { font-size: 1rem; }
    .block { padding: 2rem 1rem; }
    .block-grid { flex-direction: column; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid.wide-first .photo-item:first-child { grid-column: span 1; }
    .games-grid { grid-template-columns: 1fr; }
    .btn-large { font-size: 1rem; }
}
