:root {

    --bg:          #171717;
    --surface:     #1f1f1f;
    --surface-2:   #272727;
    --surface-3:   #2f2f2f;
    --border:      #333333;
    --border-soft: #2a2a2a;

    --text:        #E5E5E5;
    --text-dim:    #a3a3a3;
    --text-faint:  #6f6f6f;

    --accent:        #6CB5F1;
    --accent-deep:   #2980B9;
    --accent-2:      #E67E22;
    --accent-2-soft: #f0a05a;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s5: 24px;
    --s6: 32px;
    --s7: 48px;
    --s8: 64px;

    --radius:    0;
    --radius-sm: 6px;
    --shadow:    0 2px 8px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.50);

    --maxw:   1100px;
    --nav-h:  56px;
    --hero-h: 320px;
    --ease:   0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; }

p { margin: 0 0 var(--s4); color: var(--text-dim); }

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--ease);
}
a:hover { color: var(--accent-2); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.wrap { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    font-size: 0.95rem;
}
.nav__brand:hover { color: var(--text); }
.nav__logo { height: 34px; width: auto; display: block; }
.nav__links { display: flex; gap: var(--s5); align-items: center; }
.nav__links a {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.9rem;
    padding: var(--s1) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}
.nav__links a:hover { color: var(--text); border-bottom-color: var(--accent-2); }

.hero {
    position: relative;
    width: 100%;
    height: var(--hero-h);
    overflow: hidden;
    background: var(--accent-deep);
}
.hero__art {
    position: absolute;
    right: 0;
    bottom: -1px;
    height: calc(100% + 1px);
    width: auto;
    max-width: none;
    object-position: bottom right;
    pointer-events: none;
    user-select: none;
}
.hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s4) 0;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    letter-spacing: 0.01em;

    -webkit-text-stroke: 2px #0a1016;
    paint-order: stroke fill;
    text-shadow: 4px 5px 0 rgba(0, 0, 0, 0.85);
}
.hero__subtitle {
    margin-top: var(--s2);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: #fff;

    -webkit-text-stroke: 1px #0a1016;
    paint-order: stroke fill;
    text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.8);
}

.social {
    display: flex;
    gap: var(--s2);
    flex-wrap: wrap;
    margin-top: var(--s5);
}
.social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.05rem;
    transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.social a:hover {
    background: var(--accent-2);
    color: #171717;
    border-color: var(--accent-2);
    transform: translateY(-2px);
}

main { padding: var(--s7) 0 var(--s8); }

.section { margin-bottom: var(--s8); }
.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s4);
    margin-bottom: var(--s5);
    padding-bottom: var(--s3);
    border-bottom: 1px solid var(--border);
}
.section__title {
    font-size: 1.5rem;
    letter-spacing: 0.01em;
}
.section__title::before {
    content: "";
    display: inline-block;
    width: 4px; height: 1.1em;
    background: var(--accent-2);
    border-radius: 2px;
    margin-right: var(--s3);
    vertical-align: -0.15em;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--s4) var(--s5);
    box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.1rem; margin-bottom: var(--s3); }
.panel ul { margin: 0 0 var(--s3); padding: 0; list-style: none; }
.panel li {
    position: relative;
    padding-left: var(--s5);
    margin-bottom: var(--s1);
    line-height: 1.45;
    color: var(--text-dim);
}
.panel li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.6em;
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
}
.panel li b { color: var(--text); font-weight: 600; }

.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    align-items: center;
}
.newsletter__form { order: -1; }
.newsletter__text h3 { margin-bottom: var(--s3); }
.newsletter__text ul { margin-bottom: 0; }
.newsletter__privacy { margin: var(--s3) 0 0; font-size: 0.9rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s5);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.card:hover .card__desc,
.card:hover .card__cta { color: #fff; }
.card:hover .chip {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.14);
}
.card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}
.card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__media--logo { display: grid; place-items: center; padding: var(--s5); }
.card__media--logo img {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}

.card__media--fill { padding: var(--s3) 0; }
.card__media--fill img {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}

.card__media--steam img { max-width: 68%; max-height: 60%; }
.card__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.2rem; margin-bottom: var(--s2); color: var(--text); }
.card__cta { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.card__desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: var(--s4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s3);
}

.card--feature { grid-column: 1 / -1; }
.card--feature .card__media { aspect-ratio: 21 / 9; }

.chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: var(--s1) var(--s3);
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: var(--surface-2);
}
.chip--wip    { color: #171717; background: var(--accent-2); border-color: var(--accent-2); }
.chip--live   { color: var(--accent);       border-color: var(--accent-deep); }
.chip--steam  { color: var(--text); }
.chip--site   { color: var(--text); }

.card:hover .chip--wip { color: #171717; background: var(--accent-2); border-color: var(--accent-2); }

.foot {
    border-top: 1px solid var(--border);
    background: #141414;
    padding: var(--s7) 0 var(--s6);
    color: var(--text-dim);
}
.foot__cols {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s7);
    margin-bottom: var(--s6);
}
.foot__group { min-width: 160px; }
.foot__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: var(--s3);
}
.foot .social { margin-top: 0; }
.foot__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s3);
    padding-top: var(--s5);
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-faint);
}
.foot__tm {
    margin: var(--s4) 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-faint);
}

.prose { max-width: 760px; }
.prose h1 { font-size: 2rem; margin: 0 0 var(--s4); }
.prose h2 { font-size: 1.6rem; margin: var(--s7) 0 var(--s4); }
.prose h3 { font-size: 1.2rem; margin: var(--s5) 0 var(--s2); }
.prose p { color: var(--text-dim); }
.prose ul { padding-left: var(--s5); }
.prose li { margin-bottom: var(--s2); color: var(--text-dim); }
.prose img { border-radius: var(--radius); margin: var(--s5) 0; border: 1px solid var(--border); }
.prose strong { color: var(--text); }

.content-image {
    max-width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: var(--s4) 0;
}
.content-giflarge {
    max-width: 600px;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: var(--s4) 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    align-items: center;
}
.split__media { margin: 0; }
.split__media img,
.split__media video {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 0;
}
.split__body > :last-child { margin-bottom: 0; }

.stores { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s5);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-weight: 600;
    transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover {
    background: var(--surface-3);
    color: var(--accent-2);
    border-color: var(--accent-2);
    transform: translateY(-2px);
}
.btn i { font-size: 1.15rem; }
.btn small { color: var(--text-faint); font-weight: 500; }
.btn:hover small { color: var(--accent-2-soft); }

.trailer {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    margin: var(--s4) 0 var(--s5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-link { display: block; margin: 0 0 var(--s2); }

.two-columns { display: flex; flex-wrap: wrap; gap: var(--s6); }
.two-columns .column { flex: 1; min-width: 260px; }
.two-columns .column h3 { margin: var(--s4) 0 var(--s2); font-size: 1.05rem; color: var(--text); }
.two-columns .column p { margin: 0 0 var(--s2); }

.carousel-container {
    position: relative;
    max-width: 720px;
    margin: var(--s4) 0 var(--s5);
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.carousel-slide { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide img { flex: 0 0 100%; width: 100%; height: auto; margin: 0; border: 0; border-radius: 0; }
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: var(--s3) var(--s4);
    color: #fff;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: background var(--ease), color var(--ease);
}
.prev { left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.next { right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.prev:hover, .next:hover { background: rgba(0, 0, 0, 0.8); color: var(--accent-2); }

@media (max-width: 820px) {
    .grid { grid-template-columns: 1fr; }
    .card--feature .card__media { aspect-ratio: 16 / 9; }
    .nav__links { gap: var(--s4); }
    .nav__brand { font-size: 0.85rem; letter-spacing: 0.1em; }
    main { padding: var(--s6) 0 var(--s7); }
    .hero { height: 200px; }
    .newsletter { grid-template-columns: 1fr; gap: var(--s4); }
    .newsletter__form { order: 0; }
    .split { grid-template-columns: 1fr; gap: var(--s5); }
    .split__media { order: -1; }
    .panel { padding: var(--s5); }
    .foot__cols { gap: var(--s5); }
}

@media (max-width: 480px) {
    .section__head { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}
