/* Reset — Midnight Aurora / Glass */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-body: "Outfit", system-ui, -apple-system, sans-serif;

    --void: #05060a;
    --night: #0a0f1a;
    --surface: #111827;
    --elevated: #161f33;
    --glass: rgba(22, 31, 51, 0.55);
    --glass-strong: rgba(30, 41, 68, 0.75);

    --stroke: rgba(148, 197, 255, 0.14);
    --stroke-bright: rgba(94, 234, 212, 0.35);

    --aurora-a: #5eead4;
    --aurora-b: #818cf8;
    --aurora-c: #f0abfc;
    --aurora-d: #38bdf8;

    --text-primary: #eef2ff;
    --text-secondary: #a5b4d8;
    --text-muted: #6b7c9e;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 80px rgba(56, 189, 248, 0.12);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.55);

    /* Legacy token for script.js form success */
    --pop-green: #34d399;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--void);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 120% 80% at 10% -20%, rgba(94, 234, 212, 0.18), transparent 50%),
        radial-gradient(ellipse 100% 60% at 90% 10%, rgba(129, 140, 248, 0.16), transparent 45%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(240, 171, 252, 0.1), transparent 50%),
        linear-gradient(180deg, var(--night) 0%, var(--void) 40%, #06070d 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation — frosted bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background: rgba(10, 15, 26, 0.72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow-glow);
}

.navbar.scrolled {
    background: rgba(8, 11, 20, 0.88);
    border-bottom-color: rgba(94, 234, 212, 0.2);
    box-shadow: var(--shadow-soft);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.45));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    position: relative;
    letter-spacing: 0.04em;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-a), var(--aurora-b));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-a), var(--aurora-b));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 88px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 197, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 197, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 75%);
}

.grid-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.08), transparent 40%);
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    width: min(90vw, 640px);
    height: min(90vw, 640px);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 200deg, var(--aurora-a), var(--aurora-b), var(--aurora-c), var(--aurora-d), var(--aurora-a));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22;
    animation: rotate-slow 28s linear infinite;
}

@keyframes rotate-slow {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--stroke-bright);
    border-radius: var(--radius-pill);
    color: var(--aurora-a);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 9vw, 5.25rem);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.title-word {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
    text-shadow: none;
}

.title-word.highlight {
    background: linear-gradient(120deg, var(--aurora-a), var(--aurora-b), var(--aurora-c));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.95rem 2rem;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--aurora-d), var(--aurora-b));
    color: #041018;
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(129, 140, 248, 0.35);
}

.btn-secondary {
    background: var(--glass-strong);
    color: var(--text-primary);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    border-color: var(--stroke-bright);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--aurora-a);
    border: 1px solid var(--stroke-bright);
}

.btn-outline:hover {
    background: rgba(94, 234, 212, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--stroke);
}

.stat-box {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    text-shadow: none;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(148, 197, 255, 0.35);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: linear-gradient(180deg, var(--aurora-a), var(--aurora-b));
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.28);
    border-radius: var(--radius-pill);
    color: #c4b5fd;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: none;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Games / Services */
.games-section {
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5));
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

.games-showcase {
    margin-bottom: 4rem;
}

.featured-game {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.game-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-1 {
    background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 50%, #134e4a 100%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(94, 234, 212, 0.25), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.2), transparent 40%);
}

.game-2 {
    background: linear-gradient(160deg, #312e81, #1e1b4b);
}

.game-3 {
    background: linear-gradient(160deg, #0c4a6e, #082f49);
}

.game-4 {
    background: linear-gradient(160deg, #134e4a, #0f766e);
}

.game-5 {
    background: linear-gradient(160deg, #4c1d95, #2e1065);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.65));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.game-media:hover .game-overlay {
    opacity: 1;
}

.game-media:hover .game-image {
    transform: scale(1.04);
}

.game-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.4rem 0.9rem;
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--aurora-a);
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.game-badge.featured {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(129, 140, 248, 0.35));
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.play-button {
    width: 72px;
    height: 72px;
    background: var(--glass-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform 0.25s ease;
    border: 1px solid var(--stroke-bright);
}

.play-button:hover {
    transform: scale(1.06);
}

.game-info {
    padding: 2.5rem 2.25rem;
}

.game-meta {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.game-platform,
.game-year {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-platform {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
}

.game-year {
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.25);
    color: #c4b5fd;
}

.game-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 400;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: none;
}

.game-genre {
    color: var(--aurora-a);
    font-weight: 600;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 1rem;
}

.game-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
}

.game-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(94, 234, 212, 0.22);
}

.game-card .game-image {
    height: 180px;
}

.game-content {
    padding: 1.5rem 1.5rem 1.75rem;
}

.game-card .game-title {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.game-card .game-genre {
    margin-bottom: 0.75rem;
}

.game-card .game-description {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
}

.game-link {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
}

.game-link:hover {
    color: var(--aurora-c);
}

/* About / Studio */
.studio-section {
    background: transparent;
    border-top: 1px solid var(--stroke);
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.studio-description {
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    line-height: 1.8;
    font-size: 1.02rem;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    transition: border-color 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(12px);
}

.value-item:hover {
    border-color: var(--stroke-bright);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2.25rem;
    margin-bottom: 0.65rem;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    text-shadow: none;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.studio-visual {
    position: relative;
}

.studio-image {
    width: 100%;
    height: 460px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(160deg, #1e293b, #0f172a 50%, #134e4a);
    background-image: radial-gradient(circle at 30% 40%, rgba(94, 234, 212, 0.2), transparent 50%);
}

.floating-card {
    position: absolute;
    padding: 1rem 1.25rem;
    background: var(--glass-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 5s ease-in-out infinite;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.floating-card .card-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    top: 16px;
    right: -12px;
}

.card-2 {
    bottom: 88px;
    left: -16px;
    animation-delay: 1.2s;
}

.card-3 {
    top: 48%;
    right: -20px;
    animation-delay: 2.4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* Team */
.team-section {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.35), transparent);
    border-top: 1px solid var(--stroke);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.team-member {
    background: var(--glass);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.35);
}

.member-photo {
    margin-bottom: 1.1rem;
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(129, 140, 248, 0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.member-role {
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.member-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.member-social a {
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid var(--stroke);
}

.member-social a:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.25));
    color: var(--text-primary);
    border-color: rgba(148, 197, 255, 0.35);
}

/* Careers */
.careers-section {
    border-top: 1px solid var(--stroke);
}

.careers-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.careers-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.75;
    font-size: 1.02rem;
}

.open-positions {
    margin: 2.25rem 0;
}

.open-positions h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.25rem;
    background: var(--glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    transition: border-color 0.25s ease;
    backdrop-filter: blur(10px);
}

.position-item:hover {
    border-color: rgba(94, 234, 212, 0.25);
}

.position-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.position-location {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.careers-visual {
    position: relative;
}

.careers-image {
    width: 100%;
    height: 440px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(155deg, #4c1d95, #1e1b4b 45%, #0f172a);
    background-image: radial-gradient(circle at 70% 30%, rgba(240, 171, 252, 0.2), transparent 45%);
}

/* News */
.news-section {
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.4));
    border-top: 1px solid var(--stroke);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.news-card {
    background: var(--glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.3);
}

.news-card.featured-news {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s ease;
}

.news-1 {
    background: linear-gradient(135deg, #0c4a6e, #164e63);
}

.news-2 {
    background: linear-gradient(135deg, #3730a3, #1e1b4b);
}

.news-3 {
    background: linear-gradient(135deg, #831843, #4c0519);
}

.news-card:hover .news-image {
    transform: scale(1.03);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.news-link {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
}

.news-link:hover {
    color: var(--aurora-c);
}

/* Contact */
.contact-section {
    border-top: 1px solid var(--stroke);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card,
.social-media {
    padding: 1.5rem;
    background: var(--glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.65rem;
}

.info-card h4,
.social-media h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.info-card p a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
}

.info-card p a:hover {
    color: var(--aurora-c);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-link {
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid var(--stroke);
}

.social-link:hover {
    background: rgba(56, 189, 248, 0.15);
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.35);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1rem;
    background: rgba(5, 8, 16, 0.5);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(94, 234, 212, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Footer — deep slate strip */
.footer {
    background: linear-gradient(180deg, #080c14, #05060a);
    padding: 3.5rem 0 1.75rem;
    border-top: 1px solid var(--stroke);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand .logo-text {
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    margin: 1rem 0 1.25rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.65rem;
}

.social-icon {
    min-width: 40px;
    height: 40px;
    padding: 0 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    transition: all 0.25s ease;
    border: 1px solid var(--stroke);
}

.social-icon:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(129, 140, 248, 0.3));
    border-color: rgba(148, 197, 255, 0.35);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
    max-width: 680px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    color: #94a3b8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.55rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-column ul li a:hover {
    color: #7dd3fc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stroke);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.footer-meta {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-game {
        grid-template-columns: 1fr;
    }

    .game-media {
        min-height: 280px;
    }

    .studio-content,
    .careers-content {
        grid-template-columns: 1fr;
    }

    .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: 72px;
        left: -100%;
        flex-direction: column;
        background: rgba(8, 11, 20, 0.96);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 1.5rem 0 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--stroke);
        backdrop-filter: blur(20px);
        gap: 0;
    }

    .nav-menu li {
        padding: 0.75rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .studio-values {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        padding: 96px 20px 64px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .game-actions {
        flex-direction: column;
    }

    .position-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}
