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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #1d1d1b;
    color: #eee8d5;
    line-height: 1.6;
}

/* HEADER */

header {
    background: #252522;
    border-bottom: 4px solid #c89b3c;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #e5b64b;
}

.logo span {
    color: #f2efe6;
}

nav {
    display: flex;
    gap: 22px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #e5b64b;
}

nav a.active {
    color: #e5b64b;
    border-bottom: 2px solid #c89b3c;
}

/* HERO */

.hero {
    min-height: 650px;
    background:
        linear-gradient(
            rgba(20,20,18,.18),
            rgba(20,20,18,.52)
        ),
        url('../images/quandodad-workshop.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 70px 25px;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    max-width: 560px;
    background: rgba(20, 20, 18, 0.45);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #e5b64b;
}

.hero p {
    font-size: 21px;
    margin-bottom: 30px;
    max-width: 600px;
}

.button {
    display: inline-block;
    background: #c89b3c;
    color: #181816;
    text-decoration: none;
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 10px;
}

.button:hover {
    background: #e5b64b;
}

.button.secondary {
    background: #3b3b37;
    color: white;
    border: 1px solid #777;
}

/* MAIN SECTIONS */

section {
    padding: 70px 25px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 34px;
    margin-bottom: 12px;
    color: #e5b64b;
}

.section-intro {
    color: #bbb;
    margin-bottom: 35px;
    max-width: 700px;
}

/* CARDS */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    overflow: hidden;
}

.card-image {
    height: 190px;
    background: #3d3d38;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #555;
}

.card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 18px;
}
.card-image.ask-image {
    background-image: url('../images/ask-quandodad.png');
    background-position: center;
}

.card-image.downloads-image {
    background-image: url('../images/downloads-card.png');
    background-position: center;
}
.card-image.latest-image {
    background-image:
        linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.55)),
        url('../images/quandodad-workshop.png');
    background-position: center 30%;
    position: relative;
}

.card-image.latest-image::after {
    content: "LATEST EPISODE • COMING SOON";
    position: absolute;
    left: 18px;
    bottom: 16px;
    background: rgba(20,20,18,.82);
    color: #e5b64b;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 4px;
}

.card-content {
    padding: 23px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.card p {
    color: #bfbfb7;
    margin-bottom: 18px;
}

/* FEATURE / DAD JOKE */

.feature {
    background: #131311;
    padding: 70px 25px;
}

.feature-box {
    max-width: 1000px;
    margin: auto;
    background:
        linear-gradient(
            rgba(35,35,31,.96),
            rgba(26,26,23,.96)
        );
    border: 2px solid #65552f;
    border-left: 8px solid #c89b3c;
    padding: 32px 38px;
    border-radius: 7px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,.28);
}

.joke-label {
    display: inline-block;
    background: #c89b3c;
    color: #171715;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 6px 11px;
    margin-bottom: 16px;
    border-radius: 3px;
}

.feature-box h2 {
    color: #f2efe6;
    font-size: 28px;
    margin-bottom: 12px;
}

.feature-box p {
    color: #d0cdc3;
    font-size: 18px;
}


/* ARCADE */

.arcade {
    background: #242421;
    padding: 70px 25px;
}

.arcade-box {
    background: #111;
    border: 2px solid #c89b3c;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.arcade-box h2 {
    font-size: 38px;
    color: #e5b64b;
    margin-bottom: 15px;
}

.arcade-box p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #ccc;
}
.arcade-label {
    display: inline-block;
    color: #c89b3c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.arcade-buttons {
    margin-top: 20px;
}


/* FOOTER */

footer {
    background: #0d0d0c;
    border-top: 1px solid #444;
    padding: 35px 25px;
    text-align: center;
    color: #888;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #e5b64b;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer strong {
    color: #bbb;
}
/* ARCADE PAGE */

.arcade-page {
    min-height: 700px;
    background: #181816;
    padding: 70px 25px;
}

.arcade-page-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.arcade-page-heading h1 {
    font-size: 48px;
    color: #e5b64b;
    margin-bottom: 12px;
}

.arcade-page-heading p {
    color: #c8c5bb;
    font-size: 18px;
    margin-bottom: 25px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.game-card {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 9px;
    overflow: hidden;
}

.game-card-image {
    height: 190px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #e5b64b;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;

    border-bottom: 2px solid #c89b3c;
}

.game-card-content {
    padding: 25px;
}

.game-type {
    color: #c89b3c;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.game-card h2 {
    color: white;
    font-size: 26px;
    margin-bottom: 10px;
}

.game-card p {
    color: #bbb8ae;
    margin-bottom: 18px;
}

.score-box,
.champion-box {
    background: #1a1a18;
    border: 1px solid #45453f;
    border-radius: 5px;
    padding: 14px;
    margin-bottom: 14px;
}

.score-box strong,
.champion-box strong {
    color: #e5b64b;
    font-size: 12px;
    letter-spacing: 1px;
}

.score-box p,
.champion-box p {
    margin: 5px 0 0;
    color: #aaa79e;
}
/* MULTIPLAYER LOBBY */

.lobby-page {
    background: #181816;
    min-height: 750px;
    padding: 65px 25px;
}

.lobby-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.lobby-heading h1 {
    color: #e5b64b;
    font-size: 44px;
    margin-bottom: 10px;
}

.lobby-heading p {
    color: #bbb8ae;
    font-size: 17px;
}

.lobby-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}


/* PLAYER PANEL */

.player-panel {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    overflow: hidden;
}

.player-panel-header {
    padding: 18px;
    background: #1b1b19;
    border-bottom: 1px solid #45453f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-panel-header h2 {
    color: white;
    font-size: 20px;
}

.online-count {
    background: #c89b3c;
    color: #111;
    font-weight: bold;
    border-radius: 20px;
    padding: 3px 10px;
}

.player-help {
    color: #888;
    font-size: 12px;
    padding: 12px 15px 6px;
}

.player-list {
    padding: 8px;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}

.player-row:hover {
    background: #373732;
}

.player-row strong {
    color: #eee;
    display: block;
}

.player-row small {
    color: #888;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #72bb62;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.playing {
    background: #c89b3c;
}


/* CHAT */

.chat-panel {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.chat-header {
    background: #1b1b19;
    padding: 17px 20px;
    border-bottom: 1px solid #45453f;
}

.chat-header h2 {
    color: white;
    font-size: 20px;
}

.chat-header span {
    color: #888;
    font-size: 13px;
}

.chat-messages {
    flex: 1;
    padding: 20px;

    max-height: 420px;
    overflow-y: auto;
    min-height: 0;
}

.chat-system {
    color: #c89b3c;
    font-size: 13px;
    margin-bottom: 20px;
}

.chat-message {
    margin-bottom: 18px;
}

.chat-message strong {
    color: #e5b64b;
}

.chat-message p {
    margin-top: 3px;
    color: #d0cdc3;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #45453f;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: #181816;
    color: white;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
}

.chat-input .button {
    border: 0;
    margin: 0;
    cursor: pointer;
}


/* RIGHT CLICK MENU */

.challenge-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 220px;

    background: #22221f;
    border: 1px solid #c89b3c;
    border-radius: 6px;

    box-shadow: 0 8px 30px rgba(0,0,0,.5);
    overflow: hidden;
}

.challenge-record {
    margin: 8px 0 12px;
    padding: 8px 10px;
    background: #242421;
    border: 1px solid #4b4b45;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.4;
    color: #ddd;
}

.challenge-record strong {
    color: #e5b64b;
}

.challenge-title {
    padding: 12px 14px;
    background: #151513;
    color: #e5b64b;
    font-weight: bold;
}

.challenge-menu button {
    width: 100%;
    text-align: left;
    border: 0;
    border-top: 1px solid #3c3c37;
    background: #292926;
    color: white;
    padding: 12px 14px;
    cursor: pointer;
}

.challenge-menu button:hover {
    background: #3a3a34;
}

.challenge-menu button small {
    display: block;
    color: #888;
    margin-top: 3px;
}

.challenge-cancel {
    color: #aaa !important;
}
/* PLAYER IDENTITY */

.name-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0,0,0,.82);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.name-overlay.show {
    display: flex;
}

.name-box {
    width: 100%;
    max-width: 430px;
    background: #292926;
    border: 2px solid #c89b3c;
    border-radius: 9px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,.6);
}

.name-box h2 {
    color: white;
    font-size: 26px;
    margin-bottom: 10px;
}

.name-box p {
    color: #aaa79e;
    margin-bottom: 22px;
}

.name-box input {
    width: 100%;
    background: #181816;
    border: 1px solid #555;
    color: white;
    border-radius: 5px;
    padding: 13px;
    font-size: 17px;
    margin-bottom: 15px;
}

.name-box .button {
    border: 0;
    cursor: pointer;
}

.name-error {
    color: #e07b6b;
    font-size: 13px;
    margin-top: 10px;
}

.you-are {
    margin-top: 15px;
    color: #aaa79e;
    font-size: 14px;
}

.you-are strong {
    color: #e5b64b;
}

.you-are button {
    margin-left: 8px;
    background: none;
    border: 0;
    color: #aaa;
    text-decoration: underline;
    cursor: pointer;
}

.you-are button:hover {
    color: white;
}
/* SNEAK PEEK VIDEOS */

.sneak-peek {
    background: #20201d;
    padding: 70px 25px;
}

.sneak-heading {
    margin-bottom: 30px;
}

.sneak-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.sneak-video {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    overflow: hidden;
}

.sneak-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.sneak-caption {
    padding: 20px;
}

.sneak-caption h3 {
    color: #f2efe6;
    font-size: 21px;
    margin-bottom: 6px;
}

.sneak-caption p {
    color: #aaa79e;
}
/* GAME INVITATION */

.invite-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 6000;

    background: rgba(0,0,0,.78);

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.invite-overlay.show {
    display: flex;
}

.invite-box {
    width: 100%;
    max-width: 430px;

    background: #292926;

    border: 2px solid #c89b3c;
    border-radius: 9px;

    padding: 35px;

    text-align: center;

    box-shadow:
        0 15px 50px rgba(0,0,0,.65);
}

.invite-box h2 {
    color: #e5b64b;
    font-size: 30px;
    margin-bottom: 15px;
}

.invite-box p {
    color: #d0cdc3;
    font-size: 17px;
    margin-bottom: 25px;
}

.invite-box strong {
    color: white;
}

.invite-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.invite-buttons .button {
    border: 0;
    cursor: pointer;
    margin: 0;
}
/* MAZE RACE SETUP */

.maze-setup-page {
    background: #181816;
    min-height: 750px;
    padding: 65px 25px;
}

.maze-setup-heading {
    text-align: center;
    margin-bottom: 35px;
}

.maze-setup-heading h1 {
    color: #e5b64b;
    font-size: 48px;
    margin-bottom: 5px;
}

.maze-setup-heading p {
    color: #888;
    font-size: 13px;
}

.maze-setup-box {
    max-width: 850px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1.4fr;

    background: #292926;

    border: 1px solid #4b4b45;
    border-radius: 9px;

    overflow: hidden;
}

.maze-control {
    background: #181816;
    color: #e5b64b;

    border: 1px solid #555;
    border-radius: 5px;

    padding: 8px 10px;

    font-weight: bold;
    font-size: 15px;
}

.maze-control:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.maze-toggle {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #c89b3c;
    font-weight: bold;

    cursor: pointer;
}

.maze-toggle input {
    width: 20px;
    height: 20px;

    accent-color: #c89b3c;
}

.maze-toggle input:disabled {
    cursor: not-allowed;
}

.maze-toggle input:disabled + span {
    opacity: .65;
}
.maze-player-section,
.maze-options-section {
    padding: 30px;
}

.maze-player-section {
    background: #20201e;
    border-right: 1px solid #4b4b45;
}

.maze-player-section h2,
.maze-options-section h2 {
    color: white;
    font-size: 23px;
    margin-bottom: 20px;
}

.maze-player {
    background: #292926;

    border: 1px solid #484842;
    border-radius: 6px;

    padding: 14px;

    margin-bottom: 10px;
}

.maze-player strong {
    display: block;
    color: #eee;
}

.maze-player small {
    color: #999;
}

.maze-player.host {
    border-color: #c89b3c;
}

.host-badge {
    display: inline-block;

    color: #c89b3c;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;

    margin-top: 4px;
}

.maze-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 16px 0;

    border-bottom:
        1px solid #45453f;
}

.maze-option-row strong {
    color: #eee;
    display: block;
}

.maze-option-row small {
    color: #888;
}

.maze-setting {
    color: #c89b3c;
    font-weight: bold;
    white-space: nowrap;
}

.host-controls {
    margin-top: 28px;
    margin-bottom: 20px;
}

.host-controls p {
    color: #aaa79e;
}

.host-controls .button {
    border: 0;
    cursor: pointer;
}
.game-starting-message {
    text-align: center;
    padding: 25px 10px;
}

.game-starting-message h2 {
    color: #e5b64b;
    font-size: 26px;
    margin: 8px 0;
}

.game-starting-message p {
    color: #aaa79e;
}
/* ACTUAL MAZE GAME */

.hidden {
    display: none !important;
}

.maze-game-page {
    background: #181816;
    min-height: 750px;
    padding: 55px 25px;
}

.maze-game-heading {
    text-align: center;
    margin-bottom: 30px;
}

.maze-game-heading h1 {
    color: #e5b64b;
    font-size: 42px;
    margin-bottom: 5px;
}

.maze-game-heading p {
    color: #aaa79e;
}

.maze-game-layout {
    display: grid;
    grid-template-columns: minmax(400px, 700px) 230px;
    gap: 25px;
    justify-content: center;
    align-items: start;
}

.maze-board-wrap {
    background: #111;
    border: 2px solid #c89b3c;
    border-radius: 8px;
    padding: 15px;
}

.maze-grid {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #252522;
    border: 2px solid #777;
}

.maze-cell {
    position: relative;
    border: 1px solid #363633;
}

.maze-player-marker {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: #e5b64b;
    border: 2px solid #111;
    box-shadow: 0 0 8px rgba(0,0,0,.7);
}
.maze-player-color-1 {
    background: #e5b64b;
}

.maze-player-color-2 {
    background: #4aa3ff;
}

.maze-player-color-3 {
    background: #ff5c5c;
}

.maze-player-color-4 {
    background: #55d66b;
}

.maze-self-player-marker {
    z-index: 4;
}

.maze-other-player-marker {
    z-index: 3;
    inset: 27%;
    border-width: 2px;
}

.maze-game-sidebar {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    padding: 22px;
}

.maze-game-sidebar h2 {
    color: white;
    font-size: 18px;
    margin: 0 0 8px;
}

#positionDisplay {
    color: #e5b64b;
    font-weight: bold;
    margin-bottom: 28px;
}

.maze-controls {
    text-align: center;
}

.maze-controls button {
    width: 52px;
    height: 45px;
    margin: 3px;
    background: #3a3a36;
    color: white;
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 20px;
}

.maze-controls button:disabled {
    opacity: .45;
}

.maze-control-note {
    color: #888;
    font-size: 12px;
    text-align: center;
    margin-top: 12px;
}
.maze-cell.wall-north {
    border-top: 4px solid #e5b64b;
}

.maze-cell.wall-east {
    border-right: 4px solid #e5b64b;
}

.maze-cell.wall-south {
    border-bottom: 4px solid #e5b64b;
}

.maze-cell.wall-west {
    border-left: 4px solid #e5b64b;
}

/* MAZE RACE GAME OVER */

.game-over-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 7000;

    background: rgba(0,0,0,.82);

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.game-over-overlay.show {
    display: flex;
}

.game-over-box {
    width: 100%;
    max-width: 460px;

    background: #292926;

    border: 2px solid #c89b3c;
    border-radius: 10px;

    padding: 40px;

    text-align: center;

    box-shadow:
        0 18px 60px rgba(0,0,0,.7);
}

.game-over-flag {
    font-size: 60px;
    margin: 10px 0;
}

.game-over-box h2 {
    color: #e5b64b;
    font-size: 34px;
    margin-bottom: 12px;
}

.game-over-box p {
    color: #d0cdc3;
    font-size: 18px;
    margin-bottom: 25px;
}

.game-over-box .button {
    border: 0;
    cursor: pointer;
}

#playAgain {
    margin-right: 10px;
}

#returnToLobby {
    background: #444;
    color: #fff;
}

#returnToLobby:hover {
    background: #555;
}

.rematch-status {
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 14px;
    color: #e5b64b;
    min-height: 20px;
}

.show-results-button {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7001;
}

.game-over-overlay.viewing-maze {
    background: rgba(0, 0, 0, 0.18);
}

.game-over-overlay.viewing-maze .game-over-box {
    display: none;
}

.game-over-overlay.viewing-maze .show-results-button {
    display: block;
}

/* PLAYER TRAP */

.trap-controls {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #45453f;
    text-align: center;
}

.trap-controls .button {
    border: 0;
    cursor: pointer;
    margin: 0 0 8px;
}

.trap-controls .button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

#trapStatus {
    color: #999;
    font-size: 12px;
}

.maze-own-trap {
    position: absolute;
    inset: 28%;
    border-radius: 4px;

    background:
        repeating-linear-gradient(
            45deg,
            #e5b64b,
            #e5b64b 5px,
            #1b1b19 5px,
            #1b1b19 10px
        );

    border: 2px solid #111;

    z-index: 2;
}
.maze-board-wrap {
    position: relative;
}

.maze-alert {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 20;

    background: rgba(25, 25, 22, .96);
    color: #e5b64b;

    border: 2px solid #e5b64b;
    border-radius: 8px;

    padding: 22px 30px;

    font-size: 24px;
    font-weight: bold;
    text-align: center;

    box-shadow: 0 10px 35px rgba(0,0,0,.7);

    pointer-events: none;
}

.lobby-leaderboard-panel {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #4b4b45;
}

.lobby-leaderboard-panel h3 {
    margin: 0 0 12px;
    color: #e5b64b;
}

.leaderboard-empty {
    font-size: 14px;
    color: #aaa;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
}

.leaderboard-rank {
    width: 22px;
    color: #e5b64b;
    font-weight: bold;
}

.leaderboard-name {
    flex: 1;
}

.leaderboard-record {
    color: #e5b64b;
    white-space: nowrap;
}

/* CONTENT PAGES */

.content-hero {
    background:
        linear-gradient(rgba(16,16,14,.76), rgba(16,16,14,.9)),
        url('../images/quandodad-workshop.png');
    background-size: cover;
    background-position: center 28%;
    padding: 90px 25px;
    border-bottom: 1px solid #4b4b45;
}

.content-hero-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.eyebrow {
    color: #c89b3c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.content-hero h1 {
    color: #f2efe6;
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.content-hero h1 span {
    color: #e5b64b;
}

.content-hero p {
    max-width: 720px;
    margin: 0 auto 26px;
    color: #d0cdc3;
    font-size: 20px;
}

.content-section {
    background: #1d1d1b;
    padding: 70px 25px;
}

.content-section.muted {
    background: #161614;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.content-card {
    background: #292926;
    border: 1px solid #4b4b45;
    border-top: 4px solid #c89b3c;
    border-radius: 8px;
    padding: 28px;
}

.content-card h2,
.content-card h3 {
    color: #f2efe6;
    margin-bottom: 10px;
}

.content-card p {
    color: #bbb8ae;
    margin-bottom: 16px;
}

.content-card .status {
    display: inline-block;
    color: #e5b64b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.notice-box {
    background: #292926;
    border: 1px solid #4b4b45;
    border-left: 7px solid #c89b3c;
    border-radius: 7px;
    padding: 30px 34px;
}

.notice-box h2 {
    color: #e5b64b;
    margin-bottom: 10px;
}

.notice-box p {
    color: #d0cdc3;
    margin-bottom: 18px;
}

.step-list,
.plain-list {
    margin: 18px 0 25px 24px;
    color: #d0cdc3;
}

.step-list li,
.plain-list li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.about-split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
}

.about-copy {
    background: #292926;
    border: 1px solid #4b4b45;
    border-radius: 8px;
    padding: 32px;
}

.about-copy h2 {
    color: #e5b64b;
    margin-bottom: 12px;
}

.about-copy p {
    color: #d0cdc3;
    margin-bottom: 16px;
}

.safety-box {
    background: #111;
    border: 2px solid #65552f;
    border-radius: 8px;
    padding: 28px;
}

.safety-box h2 {
    color: #f2efe6;
    margin-bottom: 10px;
}

.safety-box p {
    color: #bbb8ae;
}

/* MOBILE */

@media (max-width: 850px) {

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
    min-height: 520px;
    background-position: left center;
}
.maze-game-layout {
    grid-template-columns: 1fr;
}

.maze-game-sidebar {
    max-width: 100%;
}
.maze-game-chat {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #4b4b45;
}

.game-chat-messages {
    height: 180px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 10px;
    background: #1d1d1a;
    border: 1px solid #4b4b45;
    border-radius: 6px;
    font-size: 14px;
}

.game-chat-message {
    margin-bottom: 8px;
    line-height: 1.35;
}

.game-chat-name {
    color: #e5b64b;
    font-weight: bold;
}

.game-chat-form {
    display: flex;
    gap: 8px;
}

.game-chat-form input {
    min-width: 0;
    flex: 1;
    padding: 9px 10px;
    background: #242421;
    color: white;
    border: 1px solid #5a5a53;
    border-radius: 5px;
}

.game-chat-form .button {
    padding: 9px 12px;
}

.hero-inner {
    justify-content: center;
    padding: 50px 20px;
}

.hero-content {
    max-width: 100%;
    padding: 22px;
    background: rgba(20, 20, 18, 0.62);
}

.hero h1 {
    font-size: 43px;
}

    .card-grid {
        grid-template-columns: 1fr;
    }
    .content-grid,
    .about-split {
        grid-template-columns: 1fr;
    }
    .content-hero {
        padding: 65px 20px;
    }
    .content-hero h1 {
        font-size: 40px;
    }
    .content-hero p {
        font-size: 18px;
    }
.game-grid {
    grid-template-columns: 1fr;
}

.arcade-page-heading h1 {
    font-size: 38px;
}
.lobby-layout {
    grid-template-columns: 1fr;
}

.lobby-stats-panel {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #4b4b45;
}

.lobby-stats-panel h3 {
    margin: 0 0 12px;
    color: #e5b64b;
}

.lobby-stat-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 7px 0;
    font-size: 14px;
}

.lobby-stat-row strong {
    color: #e5b64b;
}

.lobby-heading h1 {
    font-size: 36px;
}
.sneak-grid {
    grid-template-columns: 1fr;
}
.maze-setup-box {
    grid-template-columns: 1fr;
}

.maze-player-section {
    border-right: 0;
    border-bottom: 1px solid #4b4b45;
}

.maze-setup-heading h1 {
    font-size: 38px;
}
}
