/* Marketing Site - huntedcow.com */

:root {
    --hc-primary: #ff6201;
    --hc-secondary: #ff8201;
    --hc-bg-dark: #151515;
    --hc-bg-darker: #0d0d0d;
    --hc-bg-card: #141414;
    --hc-bg-light: #e1e0de;
    --hc-bg-lighter: #f8f3f0;
    --hc-text: #807d82;
    --hc-text-mid: #a9a4a1;
    --hc-text-dark: #2f2e2c;
    --hc-bg-input: #d4d0cd;
}

/* Base */
body.marketing {
    font-family: 'Barlow', sans-serif;
    background-color: var(--hc-bg-darker);
    color: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body.marketing * {
    box-sizing: border-box;
}

/* Header */
.m-header,
.m-header *,
.m-header *::before,
.m-header *::after {
    box-sizing: border-box;
}

.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 2rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 80%, transparent 100%);
    padding-bottom: 4rem;
    font-family: 'Barlow', sans-serif;
    pointer-events: none;
}

.m-header-inner {
    pointer-events: auto;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    gap: 4rem;
}

.m-header .logo {
    position: absolute;
    top: -1rem;
    left: 1rem;
    z-index: 10;
    display: block;
}

.m-header .logo::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -8px;
    width: 80px;
    height: 88px;
    background: linear-gradient(to bottom, #ff8201, #ff6201);
    clip-path: url(#logo-mask);
    z-index: -1;
}

.m-header .logo img {
    height: 66px;
    width: 180px;
    position: relative;
    z-index: 1;
}

.m-nav-wrap {
    display: flex;
    align-items: center;
}

.m-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-nav li {
    position: relative;
}

.m-nav li:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.m-nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    padding: 0.5rem 2rem;
    display: block;
}

.m-nav a:hover,
.m-nav a.active {
    color: var(--hc-primary);
}

.m-nav a.active {
    position: relative;
}

.m-nav a.active::before {
    content: '';
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: -9rem;
    margin: 0 auto;
    height: 0;
    width: 0;
    border-radius: 9999px;
    z-index: -1;
    box-shadow: 0 0 70px 100px rgb(255, 98, 1);
}

.m-nav li:has(a.active)::after {
    content: '';
    position: absolute;
    top: calc(-2rem - 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 0.5rem;
    background-color: var(--hc-primary);
    clip-path: url(#button-bg);
}

.m-nav li:first-child:has(a.active)::after {
    top: -2rem;
}

.m-nav-skull {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
}

.m-header-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.m-header-user.active::after {
    content: '';
    position: absolute;
    top: calc(-2rem - 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 0.5rem;
    background-color: var(--hc-primary);
    clip-path: url(#button-bg);
}

.m-header-user.active::before {
    content: '';
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: -9rem;
    margin: 0 auto;
    height: 0;
    width: 0;
    border-radius: 9999px;
    z-index: -1;
    box-shadow: 0 0 70px 100px rgb(255, 98, 1);
}

.m-header-user-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #fff;
    text-decoration: none;
    max-width: 16rem;
    padding: 0.5rem 0.25rem 0.5rem 0;
    transition: color 0.3s;
}

.m-header-user-link:hover {
    color: var(--hc-primary);
}

.m-header-user-avatar {
    position: relative;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #222;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    overflow: hidden;
}

.m-header-user-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #222;
}

.m-header-user-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-header-user-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s, background 0.3s;
}

.m-header-user-logout:hover {
    color: var(--hc-primary);
    background: rgba(255, 255, 255, 0.08);
}

.m-header-signin {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.m-header-signin:hover {
    color: var(--hc-primary);
}

.m-nav-skull svg {
    fill: currentColor;
}

/* Mobile nav toggle */
.m-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Carousel */
.m-hero {
    position: relative;
    height: 820px;
    overflow: hidden;
}

.m-hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.m-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.m-hero-content img.game-logo {
    max-width: 780px;
    width: 55%;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 30px rgba(0,0,0,0.6));
}

.m-hero-content .tagline {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding: 1.5rem 4rem;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
}


/* Hero Slider */
.m-hero-slides {
    position: relative;
    height: 100%;
}

.m-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.m-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.m-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.m-hero-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 10;
    max-width: 1536px;
    margin: 0 auto;
}

.m-hero-dots::before,
.m-hero-dots::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.m-hero-dot {
    width: 36px;
    height: 6px;
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.m-hero-dot.active {
    background: var(--hc-primary);
}

.m-hero-dot:hover {
    background: rgba(255,255,255,0.6);
}

/* Carousel arrows */
.m-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 50px;
    background: var(--hc-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    padding: 0;
}

.m-hero-arrow:hover {
    background: var(--hc-secondary);
}

.m-hero-arrow svg {
    fill: #fff;
    height: 18px;
}

.m-hero-arrow-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.m-hero-arrow-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* games page hero uses same .m-hero height (820px) */

/* Hero slide background and layers */
.m-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.m-hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.m-hero-content {
    position: absolute;
    z-index: 5;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 2rem;
}


/* Hero platform icons */
.m-hero-platforms {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.m-hero-platforms::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 400%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.m-hero-platforms a,
.m-hero-platforms span {
    color: #fff;
    font-size: 1.75rem;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}

.m-hero-platforms a:hover {
    color: var(--hc-primary);
    transform: scale(1.25);
}

/* Buttons */
.m-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    clip-path: url(#button-bg);
}

.m-btn-primary {
    background-color: var(--hc-primary);
    color: #fff;
}

.m-btn-primary:hover {
    background-color: var(--hc-secondary);
}

.m-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.m-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.m-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.m-btn-outline:hover {
    background: #fff;
    color: var(--hc-bg-dark);
}

.m-btn-dark {
    background: #0d0d0d;
    color: var(--hc-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.9375rem;
    line-height: 0.9;
    letter-spacing: 0.05em;
    clip-path: url(#button-bg);
    transition: background-color 0.2s, color 0.2s;
}

.m-btn-dark:hover {
    background: #fff;
    color: #0d0d0d;
}

/* Sections */
.m-section {
    padding: 5rem 2rem;
}

.m-section-inner {
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 1rem;
}


.m-section-light {
    position: relative;
    z-index: 3;
    margin-top: -3rem;
    padding: 7rem 2rem 7rem;
    background: var(--hc-primary);
    clip-path: url(#section-1);
}

.m-section-light + .m-section.m-section-darker {
    margin-top: -1.5rem !important;
    z-index: 4 !important;
}

.m-section-light .m-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
}

.m-section-light .m-section-inner {
    position: relative;
    z-index: 1;
}

.m-section-title {
    font-family: Barlow, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: #fff;
}

.m-section-title.orange {
    color: var(--hc-primary);
}

/* Game Cards (small — homepage grid) */
.m-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.m-game-card {
    position: relative;
}

.m-game-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.m-game-card-image {
    position: relative;
    background: var(--hc-bg-card);
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.8));
    overflow: hidden;
    clip-path: url(#card-mask);
    aspect-ratio: 16 / 9;
}

/* Card background */
.m-card-bg-wrap {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #171614;
}

.m-card-bg-wrap .m-card-bg {
    position: absolute;
    top: 0;
    left: -2rem;
    max-width: none;
    width: calc(100% + 3rem);
    height: calc(100% + 1rem);
    object-fit: cover;
    transition: transform 0.7s;
    will-change: transform;
}

.m-game-card:hover .m-card-bg,
.m-gcf-link:hover .m-card-bg {
    transform: translateX(0.5rem);
}

/* Card parallax layers */
.m-card-layers {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.m-card-layer {
    position: absolute;
    top: 0;
    left: -2rem;
    max-width: none;
    width: calc(100% + 4rem);
    height: calc(100% + 1rem);
    object-fit: cover;
    transition: transform 0.7s;
    will-change: transform;
}

.m-card-layer:nth-child(1) { z-index: 4; }
.m-card-layer:nth-child(2) { z-index: 3; }
.m-card-layer:nth-child(3) { z-index: 2; }
.m-card-layer:nth-child(4) { z-index: 1; }

.m-game-card:hover .m-card-layer:nth-child(1),
.m-gcf-link:hover .m-card-layer:nth-child(1) { transform: translateX(2rem); }
.m-game-card:hover .m-card-layer:nth-child(2),
.m-gcf-link:hover .m-card-layer:nth-child(2) { transform: translateX(1.5rem); }
.m-game-card:hover .m-card-layer:nth-child(3),
.m-gcf-link:hover .m-card-layer:nth-child(3) { transform: translateX(1rem); }
.m-game-card:hover .m-card-layer:nth-child(4),
.m-gcf-link:hover .m-card-layer:nth-child(4) { transform: translateX(0.5rem); }

.m-card-logo {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.m-card-logo img {
    max-width: 80%;
    max-height: 65%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 10px rgba(0,0,0,0.8));
    transition: transform 0.5s;
}

.m-game-card:hover .m-card-logo img,
.m-gcf-link:hover .m-card-logo img {
    transform: scale(0.9);
}

.m-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 9999px;
    box-shadow: 0 0 60px 10px var(--game-color, var(--hc-primary));
    opacity: 0.3;
    transition: opacity 0.2s;
    z-index: -1;
    pointer-events: none;
}

.m-game-card:hover .m-card-glow,
.m-gcf-link:hover .m-card-glow {
    opacity: 0.6;
}

.m-card-gradient .m-card-bg-wrap {
    background: linear-gradient(135deg, var(--game-color, #0f3460) 0%, #0a0a1a 100%);
}

.m-card-title-overlay {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0.45);
}

.m-card-title-overlay span {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.m-card-title-overlay em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--hc-primary);
    margin-top: 0.4rem;
}

.m-game-card-body {
    padding: 1rem 0.25rem;
}

.m-game-card-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    color: #fff;
}

.m-game-card-title a {
    color: inherit;
    text-decoration: none;
}

.m-game-card-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.5rem;
    font-weight: 400;
}

/* Platform icons */
.m-platforms {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    margin-top: 0.5rem;
}

.m-platforms .m-platform-icon {
    position: relative;
    color: #fff;
    transition: color 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.m-platforms .m-platform-icon:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -0.55rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.25);
}

.m-platform-icon i,
.m-platform-icon img {
    opacity: 0.5;
    transition: transform 0.3s, opacity 0.3s;
}

.m-platform-icon:hover {
    color: var(--hc-primary);
}

.m-platform-icon:hover i,
.m-platform-icon:hover img {
    opacity: 1;
    display: inline-block;
    transform: scale(1.25);
}

.m-platforms i {
    font-size: 1.5rem;
    width: 1.5rem;
    text-align: center;
}

.m-epic-icon {
    height: 1.5rem;
    width: auto;
    vertical-align: middle;
    filter: invert(1);
}

.m-epic-icon-lg {
    height: 2.25rem;
}

.m-platforms-lg {
    gap: 1.5rem;
}

.m-platforms-lg .m-platform-icon i,
.m-platforms-lg .m-platform-icon img {
    opacity: 1;
}

.m-platforms-lg .m-platform-icon:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.75rem;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.m-platforms-lg i {
    font-size: 2rem;
}

/* Game Cards (full-width — games listing page) */
.m-games-listing-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.m-games-listing {
    display: flex;
    flex-direction: column;
}

/* Card wrapper — divider lines between cards */
.m-gcw {
    position: relative;
    padding: 2rem 0;
}

.m-gcw:not(:first-of-type)::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: -3.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.m-gcf {
    position: relative;
}

.m-gcf-link {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    background: transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.m-gcf-image-wrap {
    position: relative;
}

.m-gcf-col {
    width: 100%;
}

/* Image container */
.m-gcf-image {
    position: relative;
    width: 100%;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.8));
}

/* Glow behind image */
.m-gcf-image::after {
    content: '';
    position: absolute;
    display: block;
    border-radius: 9999px;
    opacity: 0.3;
    transition-duration: 0.2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    will-change: opacity;
    z-index: -1;
    box-shadow: 0 0 100px 30px var(--primary-color, var(--hc-primary));
}

.m-gcf-link:hover .m-gcf-image::after {
    opacity: 0.6;
}

/* Logo overlay */
.m-gcf-logo-wrap {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-gcf-logo {
    position: relative;
    z-index: 20;
    display: block;
    max-width: 85%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 10px rgba(0,0,0,0.8));
    transition: transform 0.5s;
    transform-origin: center;
}

.m-gcf-link:hover .m-gcf-logo {
    transform: scale(0.9);
}

/* Background with clip-path mask */
.m-gcf-bg {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #171614;
    clip-path: url(#card-mask);
    aspect-ratio: 16 / 9;
}

.m-gcf-bg-img {
    position: absolute;
    top: 0;
    left: -2.5rem;
    max-width: none;
    width: calc(100% + 4rem);
    height: calc(100% + 2rem);
    object-fit: cover;
    transition: transform 0.7s;
    will-change: transform;
}

.m-gcf-link:hover .m-gcf-bg-img {
    transform: translateX(0.75rem);
}

/* Foreground parallax layers — clipped with card-layer-mask */
.m-gcf-layers {
    position: absolute;
    z-index: 10;
    top: -2.5rem;
    left: 0;
    display: block;
    width: 100%;
    overflow: hidden;
    height: calc(100% + 2.5rem);
    clip-path: url(#card-layer-mask);
}

.m-gcf-layer {
    position: absolute;
    top: 0;
    left: -4rem;
    max-width: none;
    width: calc(100% + 6em);
    height: calc(100% + 2rem);
    object-fit: cover;
    transition: transform 0.7s;
    will-change: transform;
}

.m-gcf-layer:nth-child(1) { z-index: 10; }
.m-gcf-layer:nth-child(2) { z-index: 9; }
.m-gcf-layer:nth-child(3) { z-index: 8; }
.m-gcf-layer:nth-child(4) { z-index: 7; }
.m-gcf-layer:nth-child(5) { z-index: 6; }

/* Hover: each layer shifts right at different speeds */
.m-gcf-link:hover .m-gcf-layer:nth-child(1) { transform: translateX(4rem); }
.m-gcf-link:hover .m-gcf-layer:nth-child(2) { transform: translateX(3rem); }
.m-gcf-link:hover .m-gcf-layer:nth-child(3) { transform: translateX(2rem); }
.m-gcf-link:hover .m-gcf-layer:nth-child(4),
.m-gcf-link:hover .m-gcf-layer:nth-child(5) { transform: translateX(1rem); }

/* Title */
.m-gcf-title {
    display: block;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.5s;
    letter-spacing: normal;
}

.m-gcf-link:hover .m-gcf-title {
    color: var(--hc-primary);
}

/* Release date */
.m-gcf-release-label {
    display: block;
    color: var(--hc-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1.125rem;
    padding-top: 0.75rem;
}

.m-gcf-release-date {
    color: #fff;
    font-weight: 400;
    font-size: 1.125rem;
    text-transform: none;
}

/* Available for label */
.m-gcf-avail-label {
    display: block;
    color: var(--hc-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1.125rem;
    padding-top: 1.25rem;
}

/* Platform icons in full card */
.m-gcf-platforms {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    padding-top: 1.25rem;
}

.m-gcf-platform {
    position: relative;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
}

.m-gcf-platform:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.75rem;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.m-gcf-platform-icon {
    display: block;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}

.m-gcf-platform-icon i {
    font-size: 2.25rem;
}

.m-gcf-platform:hover .m-gcf-platform-icon {
    color: var(--hc-primary);
    transform: scale(1.25);
}

/* Overview column */
.m-gcf-overview {
    position: relative;
}

/* Overview text */
.m-gcf-text {
    color: var(--hc-text-mid);
    line-height: 1.556;
    font-size: 1.125rem;
}

.m-gcf-text p {
    margin: 0 0 1rem;
}

/* Desktop layout */
@media (min-width: 1024px) {
    .m-gcf-link {
        display: grid;
        grid-template-columns: 58% 42%;
        grid-template-rows: auto auto;
        column-gap: 0;
        row-gap: 2rem;
        align-items: start;
        flex-wrap: initial;
    }

    .m-gcf-col {
        position: relative;
        width: auto;
    }

    .m-gcf-col-image {
        grid-column: 1;
        grid-row: 1;
        padding-left: 2rem;
        padding-right: 4rem;
    }

    .m-gcf-info {
        grid-column: 1;
        grid-row: 2;
        padding-left: 2rem;
        padding-right: 4rem;
        padding-bottom: 3rem;
    }

    .m-gcf-overview {
        grid-column: 2;
        grid-row: 1 / span 2;
        padding-left: 4rem;
        padding-top: 0;
        padding-bottom: 3rem;
        align-self: start;
    }

    .m-gcf-overview > .m-gcf-avail-label:first-child {
        padding-top: 0;
    }

    .m-gcf-overview::before {
        content: '';
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 2px;
        background: rgba(255,255,255,0.1);
    }

    .m-gcf-title {
        font-size: 2.125rem;
        line-height: 2.125rem;
    }

    .m-gcw {
        padding: 3.5rem 0;
    }

    .m-gcw:not(:first-of-type)::before {
        top: -3.5rem;
    }

    .m-gcf-platforms {
        gap: 2.5rem;
    }

    .m-gcf-platform:not(:first-child)::before {
        left: -1.25rem;
    }

    .m-gcf-platform-icon i {
        font-size: 2.25rem;
    }
}

/* News Page Hero */
.m-news-hero {
    position: relative;
    padding: 60px 2rem 900px;
    background: var(--hc-bg-darker);
    overflow: hidden;
}

.m-news-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, var(--hc-bg-darker) 80%);
    z-index: 1;
}

.m-news-featured-section {
    background: transparent;
    margin-top: -820px;
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 0;
}

.m-news-grid-section {
    padding-top: 1rem !important;
}

.m-news-hero-bg {
    position: absolute;
    top: -10%;
    left: -25%;
    width: 150%;
    height: 160%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.4;
}

.m-news-hero-content {
    position: relative;
    z-index: 2;
}

.m-news-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.m-news-heading {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--hc-primary);
    margin: 0;
}

.m-news-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.m-news-search-label {
    color: var(--hc-primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.m-news-search-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    width: 250px;
    transition: border-color 0.3s;
}

.m-news-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.m-news-search-input:focus {
    outline: none;
    border-color: var(--hc-primary);
}

/* Featured News Card */
.m-news-featured {
    display: grid;
    grid-template-columns: 3fr 2fr;
    background: var(--hc-bg-card);
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
    position: relative;
}

.m-news-featured-image {
    clip-path: url(#card-mask);
}

.m-news-featured-image {
    position: relative;
    overflow: hidden;
}

.m-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-news-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
}

.m-news-featured-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 3.5rem 3.5rem;
    border-color: transparent transparent var(--hc-primary) transparent;
    z-index: 10;
}

.m-news-featured-body::after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0.6rem;
    right: 0.5rem;
    font-size: 1rem;
    color: #000;
    z-index: 11;
}

.m-news-featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0 1rem;
    line-height: 1.2;
}

.m-news-featured .m-news-card-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* News Cards */
.m-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.m-news-card {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.m-news-card:hover {
    transform: translateY(-4px);
}

.m-news-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.m-news-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    clip-path: url(#card-mask);
}

.m-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-news-card-corner {
    display: none;
}

.m-news-card-body {
    position: relative;
}

.m-news-card-body::before {
    content: '';
    position: absolute;
    top: -3rem;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 3rem 3rem;
    border-color: transparent transparent var(--hc-primary) transparent;
    z-index: 10;
}

.m-news-card-body::after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -1.4rem;
    right: 0.5rem;
    font-size: 1rem;
    color: #000;
    z-index: 11;
}

.m-news-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--hc-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
}

.m-news-card-body {
    padding: 1.25rem;
    background: var(--hc-bg-card);
    flex: 1;
}

.m-news-card-date {
    color: var(--hc-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.m-news-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 0.5rem;
}

.m-news-card-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Welcome / About Section */
.m-welcome {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .m-welcome {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4rem;
    }

    .m-welcome-logo {
        width: 35%;
        flex-shrink: 0;
    }

    .m-welcome-content {
        width: 65%;
    }
}

.m-welcome-logo svg {
    width: 100%;
    height: auto;
    display: block;
}

.m-welcome-bg {
    position: relative;
    top: -2.5rem;
    display: block;
    width: 100%;
    height: calc(100% + 5rem);
    opacity: 0.25;
    filter: saturate(0);
    mix-blend-mode: color-dodge;
    background-size: cover;
    background-position: center;
}

.m-welcome-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    color: #000;
    text-transform: uppercase;
}

.m-welcome-text {
    color: rgba(0,0,0,0.85);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.m-welcome-buttons {
    display: flex;
    gap: 1rem;
}

/* Community Section */
.m-community {
    text-align: center;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 6rem;
    margin-top: -2rem;
    z-index: 5;
    overflow: hidden;
}

.m-community-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.7;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 40%);
    mask-image: linear-gradient(180deg, transparent 20%, #000 40%);
    z-index: 0;
}

.m-community::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 1) 0%,
        rgba(13, 13, 13, 0.6) 20%,
        rgba(13, 13, 13, 0.2) 35%,
        rgba(21, 21, 21, 0.35) 55%,
        rgba(21, 21, 21, 0.6) 68%,
        rgba(21, 21, 21, 0.92) 82%,
        rgba(21, 21, 21, 1) 92%
    );
}

.m-community-inner {
    position: relative;
    z-index: 1;
}

.m-community-subtitle {
    color: var(--hc-primary);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: normal;
    margin-bottom: -0.25rem;
}

.m-community-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.75rem;
}

.m-community-text {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.4;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.m-community-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.m-community-social a {
    color: #fff;
    font-size: 3.5rem;
    transition: color 0.3s;
    text-decoration: none;
    padding: 0 2rem;
    position: relative;
}

.m-community-social a i {
    transition: transform 0.3s;
}

.m-community-social a:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    height: 70%;
    width: 2px;
    background: rgba(255,255,255,0.3);
}

.m-community-social a:hover {
    color: var(--hc-primary);
}

.m-community-social a:hover i {
    display: inline-block;
    transform: scale(1.15);
}

/* Skull icon */
.m-skull-icon {
    color: #fff;
    margin-bottom: -1rem;
    position: relative;
    z-index: 10;
}

/* Footer */
.m-footer {
    margin: 0;
    padding: 0;
}

.m-footer-inner {
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main footer — cream/light background */
.m-footer-main {
    background: #f8f3f0;
    padding: 4rem 0 5rem;
}

.m-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.75rem 5rem;
}

.m-footer-heading {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--hc-text-dark);
    margin: 0 0 0.75rem;
}

.m-footer-col p {
    font-size: 0.9375rem;
    color: var(--hc-text-dark);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.m-footer-col a {
    color: var(--hc-text-dark);
    text-decoration: underline;
    font-weight: 600;
}

.m-footer-col a:hover {
    color: var(--hc-primary);
}

.m-footer-social {
    display: flex;
    gap: 0.75rem;
}

.m-footer-social a {
    color: var(--hc-text-dark);
    font-size: 1.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.m-footer-social a:hover {
    color: var(--hc-primary);
}

.m-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.75rem;
}

.m-footer-newsletter input[type="email"] {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--hc-bg-input);
    border: 1px solid #ccc;
    color: var(--hc-text-dark);
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
}

.m-footer-newsletter input::placeholder {
    color: #999;
}

.m-footer-newsletter button {
    padding: 0.625rem 1.5rem;
    background: var(--hc-primary);
    color: #fff;
    border: none;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.m-footer-newsletter button:hover {
    background: var(--hc-secondary);
}

.m-footer-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.75rem 0;
    font-size: 0.8125rem;
    color: var(--hc-text);
    cursor: pointer;
}

.m-footer-newsletter-consent input[type="checkbox"] {
    flex: none;
    width: auto;
    margin-top: 0.2rem;
}

.m-footer-newsletter-consent span {
    flex: 1;
}

.m-footer-newsletter-msg {
    padding: 0.625rem 0.875rem;
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid currentColor;
}

.m-footer-newsletter-success {
    background: rgba(46, 160, 67, 0.12);
    color: #1f7a31;
}

.m-footer-newsletter-error {
    background: rgba(207, 34, 46, 0.12);
    color: #b02a37;
}

/* Secondary footer — light background */
.m-footer-secondary {
    background: #e1e0de;
    padding: 2.5rem 0;
    text-align: center;
}

.m-footer-skull-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    height: 0;
    overflow: visible;
}

.m-footer-skull-wrap svg {
    margin-top: -20px;
}

.m-footer-skull {
    color: var(--hc-text-dark);
}

.m-footer-secondary p {
    font-size: 0.8125rem;
    color: var(--hc-text);
    margin: 0.25rem 0;
    line-height: 1.6;
}

.m-footer-secondary a {
    color: var(--hc-text-dark);
    text-decoration: underline;
}

.m-footer-secondary a:hover {
    color: var(--hc-primary);
}

.m-footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Game Detail Page */
.m-game-hero {
    position: relative;
    height: 720px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.m-game-hero-bg,
.m-game-hero-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.m-game-hero-bg { z-index: 0; }
.m-game-hero-layer:nth-of-type(1) { z-index: 1; }
.m-game-hero-layer:nth-of-type(2) { z-index: 2; }
.m-game-hero-layer:nth-of-type(3) { z-index: 3; }
.m-game-hero-layer:nth-of-type(4) { z-index: 4; }
.m-game-hero-layer:nth-of-type(5) { z-index: 5; }

.m-game-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 6;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(21,21,21,1) 100%);
    pointer-events: none;
}

.m-game-hero-content {
    position: relative;
    z-index: 10;
}

/* Hero platform buttons */
.m-game-hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.m-game-hero-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 1rem;
    transition: color 0.2s, transform 0.2s;
}

.m-game-hero-platform i,
.m-game-hero-platform .m-epic-icon {
    font-size: 1.75rem;
    height: 1.75rem;
    width: auto;
}

.m-game-hero-platform:hover {
    color: var(--hc-primary);
    transform: translateY(-2px);
}

/* Detail body */
.m-game-detail-section {
    padding-top: 5rem;
    padding-bottom: 0;
}

.m-game-detail-title {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 3rem;
    letter-spacing: normal;
    text-align: left;
}

.m-game-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .m-game-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        position: relative;
    }

    .m-game-detail-grid > .m-game-detail-col + .m-game-detail-col {
        position: relative;
    }

    .m-game-detail-grid > .m-game-detail-col + .m-game-detail-col::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -3rem;
        width: 1px;
        background: rgba(255, 255, 255, 0.2);
    }
}

.m-game-detail-heading {
    color: var(--hc-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.m-game-detail-body {
    color: var(--hc-text-mid);
    font-size: 1.125rem;
    line-height: 1.6;
}

.m-game-detail-body p {
    margin: 0 0 1.25rem;
}

.m-game-detail-body em {
    font-style: italic;
}

.m-game-detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--hc-text-mid);
    font-size: 1.125rem;
    line-height: 1.6;
}

.m-game-detail-features li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.m-game-detail-features li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--hc-primary);
    transform: rotate(45deg);
}

/* Section separator with horizontal lines */
.m-section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.5rem 0;
}

.m-section-separator::before,
.m-section-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.m-section-separator-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.m-section-separator-link svg {
    color: var(--hc-primary);
}

.m-section-separator-link:hover {
    color: var(--hc-primary);
}

.m-section-separator .m-btn {
    flex-shrink: 0;
}

/* Media gallery */
.m-game-media-section {
    padding-top: 0 !important;
    padding-bottom: 4rem !important;
}

.m-game-media-heading {
    color: var(--hc-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1.5rem;
    text-align: left;
    margin: 0 0 1.25rem;
}

.m-game-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.m-game-media-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    transition: transform 0.3s;
}

.m-game-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.m-game-media-item:hover img {
    transform: scale(1.05);
}

.m-game-media-video {
    position: relative;
}

.m-game-media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
    transition: transform 0.3s, color 0.3s;
    pointer-events: none;
}

.m-game-media-video:hover .m-game-media-play {
    color: var(--hc-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .m-game-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .m-game-media-grid {
        grid-template-columns: 1fr;
    }
}

/* Media darkbox / lightbox overlay */
.m-darkbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.m-darkbox.active {
    display: flex;
}

.m-darkbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
}

.m-darkbox-video {
    display: none;
    width: 90vw;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
}

.m-darkbox-video iframe {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
}

.m-darkbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: #fff;
    font-size: 1.5rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    line-height: 1;
    transition: background 0.2s;
    z-index: 10;
}

.m-darkbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Login darkbox */
.m-login-darkbox {
    cursor: default;
}

.m-login-card {
    position: relative;
    background: var(--hc-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    color: #fff;
}

.m-login-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
    text-align: center;
    color: var(--hc-primary);
}

.m-login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.m-login-form input[type="email"],
.m-login-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.m-login-form input[type="email"]:focus,
.m-login-form input[type="password"]:focus {
    border-color: var(--hc-primary);
}

.m-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.m-login-form label.m-login-remember {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.m-login-form label.m-login-remember span {
    padding-top: 0.05rem;
}

.m-login-form label.m-login-remember input[type="checkbox"] {
    accent-color: var(--hc-primary);
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
}

.m-login-remember a {
    color: var(--hc-primary);
    text-decoration: none;
}

.m-login-remember a:hover {
    text-decoration: underline;
}

.m-login-forgot {
    color: var(--hc-primary);
    text-decoration: none;
}

.m-login-forgot:hover {
    text-decoration: underline;
}

.m-login-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.m-btn-loading {
    cursor: wait;
    opacity: 0.8;
}

.m-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    vertical-align: -0.15em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: m-spin 0.75s linear infinite;
}

@keyframes m-spin {
    to { transform: rotate(360deg); }
}

.m-login-social {
    margin-top: 1.5rem;
    text-align: center;
}

.m-login-social-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.m-login-social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.m-login-social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.m-login-social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--hc-primary);
    color: var(--hc-primary);
}

.m-login-signup {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.m-login-signup a {
    color: var(--hc-primary);
    text-decoration: none;
}

.m-login-signup a:hover {
    text-decoration: underline;
}

.m-login-consent {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.m-login-consent a {
    color: var(--hc-primary);
    text-decoration: none;
}

.m-login-consent a:hover {
    text-decoration: underline;
}

.m-login-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.m-login-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.m-login-form input[type="text"]:focus {
    border-color: var(--hc-primary);
}

.m-login-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

.m-darkbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

.m-darkbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.m-darkbox-arrow-left {
    left: 1.5rem;
}

.m-darkbox-arrow-right {
    right: 1.5rem;
}

/* Support / Official Site section */
.m-game-links-section {
    padding-top: 0 !important;
    padding-bottom: 3rem !important;
}

.m-game-partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
}

.m-game-partner-logos img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.m-game-partner-logos img:hover {
    opacity: 1;
}

.m-game-detail h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.m-game-detail p {
    color: var(--hc-text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.m-game-meta {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--hc-bg-card);
    border-radius: 4px;
}

.m-game-meta-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hc-primary);
    margin-bottom: 0.25rem;
}

.m-game-meta-item span {
    font-size: 0.9375rem;
}

/* News Detail Page */
/* Breadcrumbs */
.m-breadcrumbs {
    padding-top: 9rem;
    padding-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    max-width: 960px;
    margin: 0 auto;
}

.m-breadcrumbs a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.m-breadcrumbs a:hover {
    color: #fff;
}

.m-breadcrumb-sep {
    margin: 0 0.5rem;
    font-size: 1rem;
    color: var(--hc-primary);
}

.m-breadcrumbs span:last-child {
    color: #fff;
}

/* Article */
.m-article {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.m-article-page {
    position: relative;
    overflow: hidden;
}

.m-article-page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    filter: blur(8px);
    opacity: 0.35;
    z-index: 0;
    transform: scale(1.1);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.4) 75%, rgba(0,0,0,0) 90%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.4) 75%, rgba(0,0,0,0) 90%);
}

.m-article-page .m-breadcrumbs {
    position: relative;
    z-index: 2;
}

.m-article-hero-outer {
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.7));
}

.m-article-hero {
    position: relative;
    clip-path: url(#card-mask);
    z-index: 1;
    margin-bottom: 0;
}

.m-article-hero-image {
    width: 100%;
    display: block;
}

.m-article-hero .m-article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    margin-bottom: 0;
}

.m-article-header-no-image {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 1rem;
}

.m-article-category {
    display: inline-block;
    background: var(--hc-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.m-article-content-wrap {
    background: #141414;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.6), 0 4px 20px rgba(0,0,0,0.4);
    padding: 2.5rem 3rem 3rem;
}

.m-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.m-article-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.m-article-date {
    color: var(--hc-primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.m-article-body {
    color: var(--hc-text-mid);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.m-article-body p {
    margin-bottom: 1.5rem;
}

.m-article-body h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.m-article-body img {
    max-width: 100%;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.m-article-body a {
    color: #ff8201;
    text-decoration: underline;
}

.m-article-body a:hover {
    color: #fff;
}

.m-article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.m-article-body ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.m-article-body ul li::before {
    content: '\25C6';
    color: var(--hc-primary);
    position: absolute;
    left: 0;
    font-size: 0.85rem;
    top: 0.25em;
}

.m-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
    counter-reset: ol-counter;
}

.m-article-body ol li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    counter-increment: ol-counter;
}

.m-article-body ol li::before {
    content: counter(ol-counter) '.';
    color: var(--hc-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Studio Page */
.m-studio-hero {
    padding-top: 8rem;
    text-align: center;
}

.m-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.m-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
}

.m-timeline-item {
    position: relative;
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.m-timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--hc-primary);
    text-align: right;
    padding-right: 1.5rem;
}

.m-timeline-content {
    padding-left: 1.5rem;
    color: var(--hc-text-mid);
    line-height: 1.6;
}

.m-timeline-content strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

/* Placeholder image */
.m-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.875rem;
    width: 100%;
    height: 100%;
}

/* Studio Page */
.m-studio-hero {
    padding: 112px 0 208px;
    text-align: center;
    position: relative;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.m-studio-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: visible;
}

.m-studio-hero-bg-wrapper {
    position: relative;
    inset: -56px 0 56px;
    width: 100%;
    height: calc(100% + 112px);
    background: rgb(255, 130, 1);
}

.m-studio-hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 0.4;
    mix-blend-mode: overlay;
    display: block;
}

.m-studio-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: rgb(0,0,0);
    margin-bottom: 1.5rem;
    line-height: 1;
    font-style: normal;
}

.m-studio-intro {
    color: rgb(0,0,0);
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Our Story title row with lines */
.m-story-title-row {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.m-story-title-row::before,
.m-story-title-row::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #000;
}

.m-story-label {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #000;
    margin: 0;
    padding: 0 1.25rem;
    flex-shrink: 0;
}

.m-story-section {
    background: transparent;
    padding: 80px 0;
    margin-top: -8rem;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.m-story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0d0d0d;
    clip-path: url(#section-1);
    z-index: -1;
}

/* Timeline slider */
.m-timeline-slider {
    position: relative;
    padding: 0 56px;
    max-width: 1408px;
    margin: 0 auto;
}

.m-timeline-viewport {
    overflow: hidden;
    height: 480px;
}

.m-timeline-track {
    display: flex;
    will-change: transform;
    align-items: flex-start;
}

/* Timeline arrows */
.m-tl-arrow {
    position: absolute;
    top: 160px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-tl-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.m-tl-arrow-prev {
    left: 0;
}

.m-tl-arrow-next {
    right: 0;
}

/* Year navigation */
.m-tl-years {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 0 56px;
    gap: 0;
    max-width: 1408px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.m-tl-years-line {
    position: absolute;
    top: 50%;
    left: 56px;
    right: 56px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    transform: translateY(-50%);
    z-index: 0;
}

.m-tl-year-dot {
    background: #fff;
    border: 2px solid #fff;
    color: transparent;
    font-size: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.m-tl-year-dot:not(:last-child) {
    margin-right: auto;
}

.m-tl-year-dot::before {
    content: attr(data-year);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: transparent;
    white-space: nowrap;
    transition: color 0.3s;
    pointer-events: none;
}

.m-tl-year-dot.active {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    width: 16px;
    height: 16px;
    margin-top: -2px;
    margin-bottom: -2px;
    box-shadow: 0 0 12px rgba(255, 98, 1, 0.5);
}

.m-tl-year-dot.active::before {
    color: var(--hc-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.m-tl-year-dot:hover {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
}

.m-tl-year-dot:hover::before {
    color: rgba(255,255,255,0.8);
}

.m-tl-item {
    flex: 0 0 432px;
    padding: 0 12px;
    text-align: left;
}

.m-tl-img {
    width: 408px;
    height: 230px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1.25rem;
    display: block;
    clip-path: url(#card-mask);
}

.m-tl-year {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-align: left;
}

.m-tl-item strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.25rem;
}

.m-tl-item p {
    font-size: 1rem;
    color: var(--hc-text-mid);
    line-height: 1.5;
    margin: 0;
}

/* Studio split layout */
.m-studio-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.m-studio-split-reverse {
    direction: rtl;
}

.m-studio-split-reverse > * {
    direction: ltr;
}

.m-studio-split-img img {
    width: 100%;
    clip-path: url(#card-mask);
}

.m-studio-subtitle {
    color: var(--hc-primary);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin: 0 0 0.5rem;
}

.m-studio-split-text .m-section-title {
    font-size: 4.5rem;
    font-style: normal;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.m-studio-split-text p {
    color: var(--hc-text-mid);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Careers */
.m-careers-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0 0;
    margin-top: -16px;
}

.m-careers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hc-bg-lighter);
    clip-path: url(#section-1);
    z-index: 0;
}

.m-careers-section > * {
    position: relative;
    z-index: 1;
}

.m-careers-section .m-studio-subtitle {
    font-size: 1.125rem;
}

.m-careers-section .m-section-title {
    font-size: 4.5rem;
    font-style: normal;
    color: rgb(23, 22, 20);
    line-height: 0.9;
}

.m-careers-section .m-studio-split-text p {
    color: rgb(47, 46, 44);
    font-size: 1.125rem;
    line-height: 1.625;
}

.m-careers-benefits {
    color: rgb(47, 46, 44);
    line-height: 1.625;
    margin: 1rem 0 2rem;
    padding-left: 1.5rem;
}

.m-careers-benefits li {
    font-size: 1.125rem;
}

/* Studio photos grid */
.m-studio-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.m-studio-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    clip-path: url(#card-mask);
}

@media (max-width: 768px) {
    .m-studio-photos {
        grid-template-columns: 1fr;
    }
}

/* Section background variants */
.m-section-dark {
    background: var(--hc-bg-dark);
    padding: 112px 0;
    margin-top: -16px;
}

.m-section-darker {
    position: relative;
    background: transparent;
    margin-top: -12px;
    padding: 56px 2rem 96px;
    z-index: 2;
}

.m-section-darker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hc-bg-darker);
    clip-path: url(#section-1);
    z-index: 0;
}

.m-section-darker > * {
    position: relative;
    z-index: 1;
}

/* Studio page split sections: Team, Studio Life, Location */
.m-section-darker.m-section:has(.m-studio-split) {
    padding: 112px 0;
    margin-top: -16px;
}

/* Page section (top padding for fixed header) */
.m-page-section {
    padding-top: 8rem;
}

/* Hero fallback styles */
.m-hero-slide-fallback {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--hc-bg-dark) 100%);
}

.m-hero-title-fallback {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Studio hero content layout */
.m-studio-hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Studio skull SVG */
.m-studio-skull {
    margin: 0 auto 1.5rem;
    display: block;
    color: rgba(0,0,0,0.85);
}

/* Story section inner (no padding) */
.m-story-section-inner {
    padding: 0;
    margin-top: -7rem;
    position: relative;
    z-index: 2;
}

/* Stacked image spacing */
.m-img-stack {
    margin-bottom: 1rem;
}

/* Careers sub-heading */
.m-careers-heading {
    color: var(--hc-primary);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1rem;
    margin-top: 2rem;
}

/* Welcome section image */
.m-welcome-img {
    width: 100%;
    border-radius: 4px;
}

/* Muted text */
.m-text-muted {
    color: var(--hc-text-mid);
}

/* Game detail hero logo */
.m-game-hero-logo {
    max-width: 550px;
    width: 90%;
}

/* Game detail hero title */
.m-game-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Inline platforms display */
.m-platforms-inline {
    display: inline-flex;
    gap: 0.75rem;
}

/* Game store links row */
.m-game-store-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Small button variant */
.m-btn-sm {
    font-size: 0.8125rem;
}

/* News grid 2-column variant */
.m-news-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Responsive */
@media (max-width: 1024px) {
    .m-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-welcome-title {
        font-size: 2.5rem;
    }
    .m-studio-split {
        grid-template-columns: 1fr;
    }
    .m-studio-split-reverse {
        direction: ltr;
    }
    .m-studio-title {
        font-size: 2.5rem;
    }
    .m-nav {
        display: none;
    }
    .m-social-links {
        display: none;
    }
    .m-nav-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .m-news-grid {
        grid-template-columns: 1fr;
    }
    .m-footer-grid {
        grid-template-columns: 1fr;
    }
    .m-section-title {
        font-size: 1.75rem;
    }
    .m-community-title {
        font-size: 2.5rem;
    }
    .m-game-meta {
        flex-direction: column;
        gap: 1rem;
    }
    .m-article-title {
        font-size: 1.75rem;
    }
}

/* Legal Pages */
.m-section-legal {
    background: var(--hc-bg-dark);
    padding: 10rem 2rem 6rem;
    min-height: 80vh;
}

.m-legal-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2rem;
}

.m-legal-content {
    color: var(--hc-text-mid);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.m-legal-content .white-panel {
    background: none;
    padding: 0;
}

.m-legal-content h1 {
    display: none;
}

.m-legal-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #fff;
}

.m-legal-content p {
    margin: 0 0 1rem;
}

.m-legal-content a {
    color: var(--hc-primary);
    text-decoration: underline;
}

.m-legal-content ul, .m-legal-content ol {
    margin: 0 0 1rem 1.5rem;
}

.m-legal-content li {
    margin-bottom: 0.5rem;
}

/* ========================================
   HexWar Mini-site
   ======================================== */

.m-hexwar-hero {
    height: 500px;
    min-height: 350px;
}

.m-hexwar-hero .m-game-hero-bg {
    object-position: center center;
}

.m-hexwar-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.m-hexwar-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.m-hexwar-breadcrumb a:hover {
    color: #fff;
}

.m-breadcrumb-sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.m-hexwar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.m-hexwar-category {
    margin-bottom: 3rem;
}

.m-hexwar-category .m-game-detail-heading {
    margin-bottom: 0.25rem;
}

.m-hexwar-cat-desc {
    color: rgba(255,255,255,0.6);
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.m-hexwar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.m-hexwar-card {
    color: #fff;
    background: var(--hc-bg-card);
    border-radius: 6px;
    overflow: hidden;
}

.m-hexwar-card-img {
    display: block;
    aspect-ratio: 460 / 215;
    overflow: hidden;
    background: #111;
    clip-path: url(#card-mask);
}

.m-hexwar-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m-hexwar-card:hover .m-hexwar-card-img img {
    transform: scale(1.05);
}

.m-hexwar-card-body {
    padding: 1rem 0.25rem;
}

.m-hexwar-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.m-hexwar-card-body h3 a {
    color: #fff;
    text-decoration: none;
}

.m-hexwar-card-body h3 a:hover {
    color: var(--hc-primary);
}

.m-hexwar-card-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.m-hexwar-card-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* HexWar detail page */
.m-hexwar-detail {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.m-hexwar-detail-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.m-hexwar-detail-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
}

.m-hexwar-meta {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.25rem;
}

.m-hexwar-meta-item {
    margin-bottom: 1rem;
}

.m-hexwar-meta-item:last-child {
    margin-bottom: 0;
}

.m-hexwar-meta-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

.m-hexwar-meta-item span {
    color: #fff;
    font-size: 0.95rem;
}

.m-hexwar-meta-item a {
    color: var(--accent, #ff6201);
    text-decoration: none;
}

.m-hexwar-meta-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .m-hexwar-detail {
        grid-template-columns: 1fr;
    }
    .m-hexwar-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}
