* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-ui: "Source Sans 3", "Segoe UI", sans-serif;
    --font-display: "Libre Baskerville", Georgia, serif;
    --font-mono: "Source Sans 3", "Segoe UI", sans-serif;

    /* Leather */
    --leather-0: #1a120c;
    --leather-1: #2e2118;
    --leather-2: #4a3628;
    --leather-3: #6b4f3a;
    --leather-grain: rgba(255, 235, 210, 0.04);

    /* Brushed metal */
    --metal-dark: #3d4349;
    --metal-mid: #7a828a;
    --metal-light: #b8c0c8;
    --metal-bright: #e8edf2;
    --metal-shine: rgba(255, 255, 255, 0.55);

    /* Plastic controls */
    --plastic-blue: #3a6ea5;
    --plastic-blue-dark: #254a72;
    --plastic-blue-light: #5a8fc9;
    --plastic-green: #4a8f52;
    --plastic-amber: #c9922a;

    /* Brass accents */
    --brass: #c9a227;
    --brass-dark: #8a7018;
    --brass-light: #e8c85a;

    --surface: linear-gradient(165deg, #5a6268 0%, #434a50 38%, #353b40 100%);
    --surface-inset: linear-gradient(180deg, #2a2f34 0%, #3a4046 100%);
    --surface-leather: linear-gradient(145deg, var(--leather-2), var(--leather-1));

    --text: #f2ebe2;
    --text-dim: #cfc3b4;
    --text-muted: #9a8b7a;

    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(201, 162, 39, 0.65);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --bevel-top: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    --bevel-bottom: inset 0 -2px 4px rgba(0, 0, 0, 0.35);
    --shadow-raised: 0 4px 0 rgba(0, 0, 0, 0.35), 0 8px 18px rgba(0, 0, 0, 0.45), var(--bevel-top);
    --shadow-pressed: inset 0 3px 8px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    --shadow-plate: 0 12px 28px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.08);

    --pop-green: #5cb865;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ui);
    color: var(--text);
    background:
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(201, 162, 39, 0.12), transparent 50%),
        repeating-linear-gradient(
            92deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 3px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            var(--leather-grain) 3px,
            var(--leather-grain) 4px
        ),
        linear-gradient(165deg, var(--leather-0), var(--leather-1) 40%, #241a14);
    line-height: 1.66;
    overflow-x: hidden;
    min-height: 100vh;
    perspective: 1200px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
    background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 20%), rgba(255, 248, 230, 0.08), transparent 45%);
}

body::after {
    content: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navigation: brushed metal bar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10050;
    padding: 0.85rem 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 18%),
        linear-gradient(180deg, #8a9199 0%, #5c636a 45%, #454b52 100%);
    border-bottom: 2px solid #2a2f34;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.logo-text {
    max-width: min(42vw, 16rem);
    line-height: 1.15;
    font-size: 0.62rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--brass-light);
    font-size: 0.9rem;
    background:
        linear-gradient(145deg, var(--brass-light), var(--brass) 45%, var(--brass-dark));
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: var(--shadow-raised), inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0.45rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #5a6168, #3d4349);
    border: 1px solid #2a2f34;
    box-shadow: 0 2px 0 #22262a, inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: linear-gradient(180deg, #6a727a, #4a5158);
    transform: translateY(-1px);
    box-shadow: 0 3px 0 #22262a, inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav-link:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-pressed);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #6a727a, #454b52);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.hamburger span {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #e8ecf0, #a8b0b8);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.28s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 84px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
}

.glow-effect {
    position: absolute;
    width: min(90vw, 700px);
    height: min(70vw, 500px);
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 68%);
    filter: blur(40px);
}

/* 3D scene */
.hero-3d-scene {
    position: absolute;
    top: 18%;
    right: 8%;
    width: 180px;
    height: 180px;
    perspective: 800px;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.skeu-cube {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(-18deg) rotateY(25deg);
    animation: cubeSpin 18s linear infinite;
}

.cube-face {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: visible;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}

.cube-front  { transform: rotateY(0deg) translateZ(45px); background: linear-gradient(135deg, #b8c0c8, #7a828a); }
.cube-back   { transform: rotateY(180deg) translateZ(45px); background: linear-gradient(135deg, #6a727a, #454b52); }
.cube-right  { transform: rotateY(90deg) translateZ(45px); background: linear-gradient(135deg, #c9a227, #8a7018); }
.cube-left   { transform: rotateY(-90deg) translateZ(45px); background: linear-gradient(135deg, #8a9199, #5c636a); }
.cube-top    { transform: rotateX(90deg) translateZ(45px); background: linear-gradient(135deg, #e8edf2, #a8b0b8); }
.cube-bottom { transform: rotateX(-90deg) translateZ(45px); background: linear-gradient(135deg, #3d4349, #2a2f34); }

@keyframes cubeSpin {
    0% { transform: translate(-50%, -50%) rotateX(-18deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(-18deg) rotateY(360deg); }
}

.skeu-gear {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background:
        conic-gradient(from 0deg, #7a828a, #b8c0c8, #7a828a, #454b52, #7a828a);
    border: 3px solid #2a2f34;
    box-shadow: var(--shadow-raised);
    animation: gearSpin 12s linear infinite reverse;
}

.skeu-gear::before {
    content: "";
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, #454b52, #2a2f34);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

@keyframes gearSpin {
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 860px;
    text-align: center;
    padding: 2rem 2.2rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 12%),
        var(--surface-leather);
    border: 2px solid rgba(0, 0, 0, 0.45);
    box-shadow: var(--shadow-plate), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.35rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass-light);
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #5a6168, #3d4349);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.title-word {
    display: block;
    color: var(--metal-bright);
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.8),
        0 0 1px rgba(255, 255, 255, 0.3);
}

.title-word.highlight {
    background: linear-gradient(180deg, var(--brass-light), var(--brass), var(--brass-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
}

.hero-subtitle {
    max-width: 740px;
    margin: 0 auto 2rem;
    color: var(--text-dim);
    font-size: clamp(0.95rem, 2vw, 1.06rem);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Plastic / metal buttons */
.btn {
    border: none;
    border-radius: var(--radius-md);
    padding: 0.88rem 1.65rem;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transform-style: preserve-3d;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--plastic-blue-light) 0%, var(--plastic-blue) 45%, var(--plastic-blue-dark) 100%);
    border: 1px solid #1a3550;
    box-shadow:
        0 4px 0 #1a3550,
        0 8px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #1a3550,
        0 12px 20px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active,
.btn.is-pressed {
    transform: translateY(3px);
    box-shadow: var(--shadow-pressed);
}

.btn-secondary {
    color: var(--text);
    background: linear-gradient(180deg, #7a828a, #505860 55%, #3d4349);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-secondary:active,
.btn-outline:active {
    transform: translateY(2px);
    box-shadow: var(--shadow-pressed);
}

.btn-outline {
    color: var(--text);
    background: linear-gradient(180deg, #6a727a, #454b52);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.btn-outline:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #8a9199 0%, #5c636a 50%, #454b52 100%);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
    transform-style: preserve-3d;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-box:hover {
    transform: translateY(-3px) rotateX(4deg);
}

.stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brass-light);
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.stat-label {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--metal-mid);
    border-radius: 10px;
    background: linear-gradient(180deg, #5a6168, #3d4349);
    box-shadow: var(--shadow-raised);
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: var(--brass);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

section {
    padding: 86px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.6rem;
}

.section-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brass);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #5a6168, #3d4349);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.9vw, 2.7rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    color: var(--metal-bright);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.section-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 0.97rem;
}

.games-section,
.team-section,
.news-section {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 8%),
        linear-gradient(180deg, var(--leather-1), var(--leather-0));
    border-top: 2px solid rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.games-showcase {
    margin-bottom: 2.9rem;
}

.featured-game {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 2px solid #2a2f34;
    box-shadow: var(--shadow-plate);
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-game:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.game-media {
    position: relative;
    min-height: 350px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease;
}

.game-1 {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent),
        repeating-linear-gradient(45deg, #6a727a 0, #6a727a 8px, #5c636a 8px, #5c636a 16px),
        linear-gradient(180deg, #8a9199, #454b52);
}
.game-2 {
    background:
        linear-gradient(135deg, rgba(201, 162, 39, 0.25), transparent),
        linear-gradient(180deg, #7a6a52, #4a3628);
}
.game-3 {
    background:
        linear-gradient(135deg, rgba(58, 110, 165, 0.3), transparent),
        linear-gradient(180deg, #5a8fc9, #254a72);
}
.game-4 {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent),
        linear-gradient(180deg, #6b4f3a, #2e2118);
}
.game-5 {
    background:
        linear-gradient(135deg, rgba(201, 162, 39, 0.2), transparent),
        linear-gradient(180deg, #8a9199, #3d4349);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.game-media:hover .game-overlay { opacity: 1; }
.game-media:hover .game-image { transform: scale(1.02); }

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    background: linear-gradient(180deg, #6a727a, #454b52);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.game-badge.featured {
    background: linear-gradient(180deg, var(--brass-light), var(--brass-dark));
    color: #1a120c;
}

.game-info {
    padding: 1.75rem 1.55rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%), var(--surface-inset);
}

.game-meta {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.game-platform,
.game-year {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.55rem;
    color: var(--text);
    background: linear-gradient(180deg, #5a6168, #3d4349);
    border: 1px solid #2a2f34;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.game-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.68rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--metal-bright);
}

.game-genre {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.75rem;
}

.game-description {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.feature-tag {
    font-size: 0.53rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #6a727a, #454b52);
    border: 1px solid #2a2f34;
    padding: 0.32rem 0.58rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.game-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.games-grid,
.team-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
    gap: 0.95rem;
}

.game-card,
.team-member,
.news-card,
.info-card,
.social-media,
.contact-form,
.position-item,
.value-item {
    background: linear-gradient(165deg, #5a6268 0%, #434a50 40%, #353b40 100%);
    border: 2px solid #2a2f34;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised);
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card,
.team-member,
.news-card {
    overflow: hidden;
}

.game-card:hover,
.team-member:hover,
.news-card:hover,
.value-item:hover,
.info-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.game-card .game-image { height: 148px; }
.game-content { padding: 1.05rem 1.1rem 1.2rem; }
.game-card .game-title { font-size: 1.02rem; }
.game-card .game-description { font-size: 0.85rem; }

.game-link,
.news-link {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brass-light);
    text-decoration: none;
    font-weight: 700;
}

.game-link:hover,
.news-link:hover { color: var(--metal-bright); }

.studio-section,
.careers-section,
.contact-section {
    border-top: 2px solid rgba(0, 0, 0, 0.35);
}

.studio-content,
.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.studio-description,
.careers-description,
.member-bio,
.news-excerpt,
.info-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.studio-description,
.careers-description {
    margin-bottom: 0.8rem;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.value-item {
    text-align: center;
    padding: 1rem 0.65rem;
}

.value-icon {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brass-light);
    margin-bottom: 0.35rem;
    width: 2.2rem;
    height: 2.2rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--brass-light), var(--brass-dark));
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: var(--shadow-raised);
    color: #1a120c;
}

.value-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.value-item p {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.studio-visual {
    position: relative;
}

.studio-image,
.careers-image {
    width: 100%;
    height: 360px;
    border-radius: var(--radius-lg);
    border: 2px solid #2a2f34;
    box-shadow: var(--shadow-plate);
}

.studio-image {
    background:
        linear-gradient(135deg, rgba(201, 162, 39, 0.15), transparent),
        repeating-linear-gradient(90deg, #6a727a 0, #6a727a 12px, #5c636a 12px, #5c636a 24px),
        linear-gradient(180deg, #8a9199, #454b52);
}

.careers-image {
    background:
        linear-gradient(135deg, rgba(58, 110, 165, 0.2), transparent),
        linear-gradient(180deg, #6b4f3a, #2e2118);
}

.floating-card {
    position: absolute;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #7a828a, #505860);
    border: 1px solid #2a2f34;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-raised);
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card-1 { top: 10px; right: -6px; }
.card-2 { bottom: 52px; left: -10px; animation-delay: 1s; }
.card-3 { top: 40%; right: -12px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-8px) rotateX(6deg); }
}

.card-icon {
    color: var(--brass-light);
}

.team-member {
    padding: 1.3rem;
    text-align: center;
}

.member-photo {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8a9199, #454b52);
    border: 3px solid #2a2f34;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brass-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        var(--shadow-raised),
        inset 0 -4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.member-name {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.member-role {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brass);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.member-social a {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    font-size: 0.58rem;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(180deg, var(--plastic-blue-light), var(--plastic-blue-dark));
    border: 1px solid #1a3550;
    box-shadow: 0 2px 0 #1a3550, inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.member-social a:active {
    transform: translateY(2px);
    box-shadow: var(--shadow-pressed);
}

.open-positions {
    margin: 1.4rem 0;
}

.open-positions h3 {
    font-family: var(--font-display);
    font-size: 1.04rem;
    margin-bottom: 0.58rem;
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    margin-bottom: 0.95rem;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
}

.position-info h4 {
    font-size: 0.88rem;
    margin-bottom: 0.12rem;
}

.position-location {
    font-size: 0.58rem;
    color: var(--text-muted);
}

.news-card.featured-news {
    grid-column: span 2;
}

.news-image {
    height: 154px;
}

.news-1 { background: linear-gradient(180deg, #8a9199, #454b52); }
.news-2 { background: linear-gradient(180deg, #6b4f3a, #2e2118); }
.news-3 { background: linear-gradient(180deg, #5a8fc9, #254a72); }

.news-content {
    padding: 1.05rem 1.1rem;
}

.news-date {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.32rem;
    display: block;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.news-excerpt {
    margin-bottom: 0.62rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 1.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.info-card,
.social-media {
    padding: 1rem;
}

.contact-form {
    padding: 1.25rem;
    background: linear-gradient(165deg, #5a6268, #353b40) !important;
}

.info-icon {
    font-size: 0.84rem;
    color: var(--brass-light);
    margin-bottom: 0.25rem;
}

.info-card h4,
.social-media h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 0.24rem;
}

.info-card p a {
    color: var(--brass-light);
    text-decoration: none;
    word-break: break-all;
}

.info-card p a:hover {
    color: var(--metal-bright);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.social-link,
.social-icon {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    font-weight: 700;
    background: linear-gradient(180deg, #6a727a, #454b52);
    border: 1px solid #2a2f34;
    box-shadow: var(--shadow-raised);
}

.social-link:active,
.social-icon:active {
    box-shadow: var(--shadow-pressed);
    transform: translateY(1px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group label {
    display: block;
    font-size: 0.54rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: linear-gradient(180deg, #2a2f34, #3d4349);
    border: 2px solid #1a1e22;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    padding: 0.72rem 0.85rem;
    box-shadow: var(--shadow-pressed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: var(--shadow-pressed), 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 118px;
}

.footer {
    background: linear-gradient(180deg, #3d4349, #2a2f34);
    border-top: 3px solid #1a1e22;
    padding: 2.35rem 0 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.9rem;
    margin-bottom: 1.4rem;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.84rem;
    margin: 0.7rem 0 0.9rem;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 0.35rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    max-width: 560px;
}

.footer-column h4 {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.32rem;
}

.footer-column a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.84rem;
}

.footer-column a:hover {
    color: var(--metal-bright);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.9rem;
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* 3D tilt helper */
.tilt-3d {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-3d-inner {
    transform: translateZ(20px);
}

@media (max-width: 1024px) {
    .hero-3d-scene {
        opacity: 0.35;
        right: 2%;
        transform: scale(0.75);
    }

    .featured-game,
    .studio-content,
    .careers-content {
        grid-template-columns: 1fr;
    }

    .game-media {
        min-height: 230px;
    }

    .news-card.featured-news {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(180deg, #6a727a, #454b52);
        border-top: 2px solid #2a2f34;
        padding: 0.9rem 1rem 1.35rem;
        transition: left 0.3s ease;
        gap: 0.35rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-3d-scene {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .games-grid,
    .team-grid,
    .news-grid,
    .studio-values {
        grid-template-columns: 1fr;
    }

    .contact-content,
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.45rem;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding: 96px 16px 64px;
    }

    .hero-content {
        padding: 1.5rem 1.2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .game-actions {
        flex-direction: column;
    }

    .position-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
