:root {
    --bg: #070707;
    --bg-soft: #0d0e10;
    --surface: #121318;
    --surface-2: #191a20;
    --surface-3: #202126;
    --text: #f6f4ed;
    --muted: #b7b8bd;
    --dim: #7f8188;
    --yellow: #ffd21f;
    --yellow-2: #ffb300;
    --gold: #c89423;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 210, 31, 0.45);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
    --container: min(1160px, calc(100% - 40px));
    --font-display: "Rajdhani", "Inter", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 210, 31, 0.08), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
        var(--bg);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.26;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 80px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 70px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
    mix-blend-mode: screen;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 14px;
    color: #070707;
    background: var(--yellow);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 7, 7, 0.82);
    backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(7, 7, 7, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #2a2a2a, #080808);
    border: 1px solid var(--line-strong);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.brand-logo::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 0;
    font-family: var(--font-display);
    line-height: 0.86;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand-copy span {
    color: var(--yellow);
    font-size: 0.92rem;
    font-weight: 700;
}

.brand-copy strong {
    color: var(--text);
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 10px 12px;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    width: 46px;
    height: 42px;
    display: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: #0c0c0c;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    background: var(--yellow);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
    margin-top: 5px;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: center;
    padding: 112px 0 84px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, 0.97), rgba(7, 7, 7, 0.84) 44%, rgba(7, 7, 7, 0.42)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(7, 7, 7, 0.86)),
        url("../img/hero-bg.png") center / cover no-repeat,
        #080808;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.34;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 74%, rgba(255, 210, 31, 0.16) 74% 75%, transparent 75%),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.09) 39px, transparent 41px),
        radial-gradient(circle at 72% 34%, rgba(255, 210, 31, 0.1), transparent 25%);
    mask-image: linear-gradient(90deg, transparent, #000 36%, #000);
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: 0;
    height: 18px;
    background: repeating-linear-gradient(135deg, var(--yellow) 0 16px, #151515 16px 32px);
    opacity: 0.9;
    transform: skewX(-18deg);
    transform-origin: left bottom;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    right: 7%;
    bottom: 18px;
    width: min(34vw, 420px);
    height: min(58vh, 520px);
    opacity: 0.34;
    background:
        linear-gradient(#080808, #080808) 42% 18% / 12% 58% no-repeat,
        linear-gradient(#080808, #080808) 23% 28% / 52% 10% no-repeat,
        linear-gradient(#080808, #080808) 42% 8% / 42% 10% no-repeat,
        linear-gradient(135deg, transparent 47%, #080808 48% 52%, transparent 53%) 0 0 / 42px 42px repeat;
    clip-path: polygon(38% 0, 70% 0, 70% 14%, 58% 14%, 60% 100%, 42% 100%, 44% 14%, 32% 14%, 32% 0);
}

.hero-overlay::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 12%;
    height: 70px;
    opacity: 0.18;
    background:
        radial-gradient(circle at 20px 35px, transparent 0 5px, var(--yellow) 5px 6px, transparent 7px) 0 0 / 52px 38px repeat-x,
        linear-gradient(8deg, transparent 47%, rgba(255, 210, 31, 0.55) 48% 52%, transparent 53%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--yellow);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 0.96;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(4rem, 10vw, 8.8rem);
    font-weight: 700;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.58);
}

.hero h1 span,
.page-hero h1 span {
    color: var(--yellow);
}

.hero-slogan {
    margin: 16px 0 0;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions,
.cta-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-actions {
    margin-top: 32px;
}

.btn {
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: rgba(12, 12, 12, 0.92);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-2));
    transform: translateX(-102%);
    transition: transform 0.22s ease;
}

.btn:hover {
    color: #090909;
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    color: #080808;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-2));
    border-color: var(--yellow);
}

.btn-primary::before {
    background: #ffffff;
}

.btn-ghost {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-meta span,
.mini-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-panel {
    position: relative;
    min-height: 480px;
    padding: 30px;
    background:
        linear-gradient(155deg, rgba(255, 210, 31, 0.13), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(14, 15, 18, 0.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.hero-panel::before,
.feature-card::before,
.event-card::before,
.price-card::before,
.contact-card::before,
.rule-block::before,
.form-card::before,
.text-panel::before,
.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 42px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
    mix-blend-mode: screen;
}

.hero-logo-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: min(78%, 310px);
    aspect-ratio: 1;
    margin: 20px auto 28px;
    background:
        radial-gradient(circle, rgba(255, 210, 31, 0.2), transparent 58%),
        linear-gradient(145deg, #202126, #080808);
    border: 1px solid var(--line-strong);
    clip-path: polygon(8% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 8%);
}

.hero-logo-frame::after {
    content: "PJ";
    position: absolute;
    color: rgba(255, 210, 31, 0.11);
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 700;
    z-index: -1;
}

.hero-logo-frame img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
}

.status-strip {
    position: relative;
    display: grid;
    gap: 7px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 210, 31, 0.28);
}

.status-strip span,
.info-card span,
.contact-card span,
.footer-contact span,
.price-badge {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-strip strong,
.info-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.05;
}

.copy-button,
.small-link {
    width: max-content;
    padding: 7px 10px;
    border: 1px solid rgba(255, 210, 31, 0.35);
    color: var(--yellow);
    background: rgba(255, 210, 31, 0.06);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.copy-button:hover,
.small-link:hover {
    color: #080808;
    background: var(--yellow);
}

.hud-lines {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: grid;
    gap: 8px;
    width: 86px;
}

.hud-lines span {
    height: 2px;
    background: rgba(255, 210, 31, 0.42);
}

.hud-lines span:nth-child(2) {
    width: 62%;
    margin-left: auto;
}

.hud-lines span:nth-child(3) {
    width: 78%;
    margin-left: auto;
}

.section {
    position: relative;
    padding: clamp(70px, 8vw, 112px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.page-hero h1,
.application-copy h2,
.cta-panel h2 {
    font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.section-heading p:not(.eyebrow),
.text-panel p,
.application-copy p,
.cta-panel p,
.contact-card p,
.market-note p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.feature-card,
.event-card,
.price-card,
.contact-card,
.rule-block,
.form-card,
.text-panel,
.cta-panel,
.info-card,
.market-note,
.rules-index,
.application-copy {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.feature-card,
.event-card,
.price-card,
.contact-card,
.rule-block,
.form-card,
.text-panel,
.cta-panel,
.info-card,
.market-note {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.feature-card {
    min-height: 260px;
    padding: 24px;
}

.feature-card::after,
.event-card::after,
.price-card::after,
.contact-card::after,
.rule-block::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, transparent 0 48%, var(--yellow) 49% 53%, transparent 54%);
    opacity: 0.8;
}

.card-number {
    display: inline-flex;
    margin-bottom: 38px;
    color: rgba(255, 210, 31, 0.82);
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
}

.feature-card h3,
.event-card h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.feature-card p,
.event-card p,
.rule-block li,
.price-card li {
    color: var(--muted);
}

.section-angled {
    background:
        linear-gradient(112deg, rgba(255, 210, 31, 0.12) 0 18%, transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.text-panel,
.application-copy,
.form-card,
.cta-panel {
    padding: clamp(24px, 4vw, 42px);
}

.text-panel p,
.application-copy p {
    margin: 0;
    font-size: 1.04rem;
}

.mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.server-section {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 210, 31, 0.035)),
        var(--bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.info-card {
    min-height: 150px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 22px;
}

.section-poster {
    background:
        linear-gradient(180deg, rgba(7, 7, 7, 0.88), rgba(7, 7, 7, 0.94)),
        url("../img/poster-bg.png") center / cover no-repeat,
        #0a0a0a;
}

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

.event-card {
    min-height: 260px;
    padding: 30px;
    border-color: rgba(255, 210, 31, 0.3);
}

.event-card span {
    position: absolute;
    left: 30px;
    bottom: 24px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.cta-section {
    padding-top: 0;
}

.cta-panel {
    justify-content: space-between;
    gap: 28px;
    border-color: rgba(255, 210, 31, 0.3);
    background:
        linear-gradient(110deg, rgba(255, 210, 31, 0.16), transparent 35%),
        var(--surface-2);
}

.cta-panel p {
    max-width: 680px;
    margin-bottom: 0;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050505;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 0.7fr;
    gap: 26px;
    align-items: center;
}

.footer-brand {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
}

.site-footer p {
    margin: 8px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.footer-links a {
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--yellow);
}

.footer-contact {
    display: grid;
    justify-items: end;
}

.footer-contact a {
    color: var(--text);
    font-weight: 700;
}

.page-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    align-items: end;
    padding: 130px 0 82px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.74)),
        url("../img/poster-bg.png") center / cover no-repeat,
        #090909;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background:
        repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.07) 42px 44px),
        linear-gradient(122deg, transparent 0 68%, rgba(255, 210, 31, 0.13) 68% 76%, transparent 76%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p:not(.eyebrow) {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.rules-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.rules-index {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 20px;
    border-color: rgba(255, 210, 31, 0.22);
}

.rules-index strong {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.rules-index a {
    padding: 8px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rules-index a:hover {
    color: var(--yellow);
}

.rules-list {
    display: grid;
    gap: 18px;
}

.rule-block {
    padding: clamp(24px, 4vw, 36px);
}

.rule-title {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.rule-title span {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.rule-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.rule-block ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.rule-block li::marker {
    color: var(--yellow);
    font-weight: 700;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.application-copy {
    border-color: rgba(255, 210, 31, 0.24);
}

.form-card form {
    display: grid;
    gap: 18px;
}

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

label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    background: rgba(0, 0, 0, 0.28);
    outline: none;
    padding: 13px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--yellow) 50%),
        linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 210, 31, 0.14);
    background: rgba(0, 0, 0, 0.44);
}

.form-submit {
    justify-self: start;
}

.success-message {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
    padding: 16px;
    color: #080808;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-2));
    font-weight: 700;
}

.success-message strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.price-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 28px;
}

.price-card.is-recommended {
    border-color: var(--yellow);
    background:
        linear-gradient(160deg, rgba(255, 210, 31, 0.22), rgba(255, 210, 31, 0.02) 36%),
        var(--surface-2);
    transform: translateY(-10px);
}

.price-card h2 {
    margin: 18px 0 12px;
    font-size: 2.2rem;
}

.price {
    margin: 0;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
}

.price span {
    color: var(--muted);
    font-size: 1rem;
}

.price-card ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 20px;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.price-card .btn {
    margin-top: auto;
}

.market-note {
    margin-top: 24px;
    padding: 22px;
    border-color: rgba(255, 210, 31, 0.24);
}

.market-note strong {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.market-note p {
    margin: 6px 0 0;
}

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

.contact-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.contact-card h2 {
    margin: 14px 0;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    word-break: break-word;
}

.contact-card .btn {
    margin-top: auto;
    width: max-content;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .nav-toggle {
        display: grid;
    }

    .nav-menu {
        position: fixed;
        inset: 76px 0 auto 0;
        display: grid;
        gap: 0;
        padding: 18px var(--page-gutter, 20px) 24px;
        background: rgba(7, 7, 7, 0.98);
        border-bottom: 1px solid rgba(255, 210, 31, 0.2);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.2rem;
    }

    .nav-link::after {
        left: 0;
        right: auto;
        width: 56px;
    }

    .hero {
        min-height: auto;
        padding-top: 98px;
    }

    .hero-grid,
    .split-layout,
    .form-layout,
    .rules-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
    }

    .event-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .rules-index {
        position: relative;
        top: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 28px, 1160px);
    }

    .nav-shell {
        min-height: 68px;
    }

    .brand-copy strong {
        font-size: 1.05rem;
    }

    .brand-copy span {
        font-size: 0.82rem;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .nav-menu {
        top: 68px;
    }

    .hero {
        padding: 90px 0 66px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 18vw, 4.4rem);
    }

    .hero-actions,
    .cta-panel {
        align-items: stretch;
    }

    .btn,
    .contact-card .btn {
        width: 100%;
    }

    .feature-grid,
    .pricing-grid,
    .info-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 220px;
    }

    .page-hero {
        min-height: 360px;
        padding: 104px 0 62px;
    }

    .price-card.is-recommended {
        transform: none;
    }

    .price-card {
        min-height: auto;
    }

    .footer-links {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.flash-wrap {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 120;
    transform: translateX(-50%);
    pointer-events: none;
}

.alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    color: var(--text);
    background: rgba(18, 19, 24, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.alert-success {
    border-color: rgba(86, 211, 100, 0.55);
}

.alert-warning {
    border-color: rgba(255, 210, 31, 0.62);
}

.alert-danger {
    border-color: rgba(255, 86, 86, 0.62);
}

.nav-auth {
    margin-left: 8px;
}

.nav-steam {
    min-height: 42px;
    padding: 10px 14px;
    white-space: nowrap;
}

.user-menu {
    position: relative;
}

.user-menu summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 210, 31, 0.35);
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    list-style: none;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.user-menu summary::-webkit-details-marker {
    display: none;
}

.user-menu summary img,
.profile-card > img,
.wallet-head img,
.mini-avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border: 1px solid rgba(255, 210, 31, 0.45);
}

.user-menu summary span {
    max-width: 132px;
    overflow: hidden;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    min-width: 210px;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid rgba(255, 210, 31, 0.35);
    box-shadow: var(--shadow);
}

.user-dropdown strong {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.user-dropdown a,
.user-dropdown button {
    width: 100%;
    padding: 9px 0;
    border: 0;
    color: var(--muted);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    color: var(--yellow);
}

.auth-layout {
    display: grid;
    place-items: center;
}

.auth-card,
.wallet-head,
.balance-card,
.product-card,
.profile-card,
.panel-card,
.staff-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.auth-card {
    width: min(100%, 560px);
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
}

.auth-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.auth-card h2,
.wallet-head h2,
.product-title h2,
.profile-card h2,
.panel-card h2,
.staff-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.auth-card p,
.balance-card p,
.product-card p,
.profile-card span,
.panel-card p,
.staff-card p,
.empty-text {
    color: var(--muted);
}

.wallet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: clamp(24px, 4vw, 34px);
    border-color: rgba(255, 210, 31, 0.28);
}

.wallet-head img {
    width: 82px;
    height: 82px;
}

.balance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.balance-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.balance-card span,
.wallet-chip span {
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.balance-card h2 {
    margin-top: 10px;
    color: var(--yellow);
    font-size: 2.3rem;
}

.balance-card form,
.product-card form {
    margin-top: auto;
}

.market-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.wallet-chip {
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 210, 31, 0.35);
    background: rgba(255, 210, 31, 0.06);
}

.wallet-chip strong {
    display: block;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.category-tabs a {
    padding: 9px 12px;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.category-tabs a:hover,
.category-tabs a.is-active {
    color: #080808;
    background: var(--yellow);
    border-color: var(--yellow);
}

.product-grid,
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.product-media {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #090909;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
}

.product-media span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 9px;
    color: #090909;
    background: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
}

.product-title {
    display: grid;
    gap: 8px;
}

.product-title strong {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.product-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--dim);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 28px;
    padding: 5px 9px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.is-success {
    color: #091009;
    background: #62d96b;
}

.status-badge.is-warning {
    color: #090909;
    background: var(--yellow);
}

.status-badge.is-danger {
    color: #fff;
    background: #b63e3e;
}

.status-badge.is-muted {
    color: var(--text);
    background: rgba(255, 255, 255, 0.12);
}

.profile-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.profile-card {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 14px;
    justify-items: center;
    padding: 28px;
    text-align: center;
}

.profile-card > img {
    width: 118px;
    height: 118px;
}

.profile-balance {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 210, 31, 0.3);
    background: rgba(255, 210, 31, 0.06);
}

.profile-balance small,
.activity-list span {
    display: block;
    color: var(--muted);
}

.profile-balance strong {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 2rem;
}

.profile-content,
.profile-columns {
    display: grid;
    gap: 18px;
}

.profile-columns {
    grid-template-columns: repeat(2, 1fr);
}

.panel-card {
    padding: clamp(22px, 4vw, 32px);
}

.panel-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.panel-title a {
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.panel-title a.btn-primary {
    color: #080808;
}

.panel-title a.btn-primary:hover {
    color: #080808;
}

.dark-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.dark-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.dark-table th,
.dark-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: middle;
}

.dark-table th {
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.dark-table td {
    color: var(--muted);
}

.activity-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-list li {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.activity-list strong {
    color: var(--text);
}

.staff-card {
    min-height: 360px;
    display: grid;
    gap: 18px;
    padding: 26px;
}

.staff-card img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 1px solid rgba(255, 210, 31, 0.45);
}

.staff-card span {
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.staff-card strong {
    color: var(--text);
}

.staff-card em {
    margin-top: 12px;
    font-style: normal;
}

.staff-directory {
    display: grid;
    gap: clamp(34px, 6vw, 70px);
}

.staff-group-section {
    position: relative;
    display: grid;
    gap: 22px;
}

.staff-group-section::before {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background: linear-gradient(90deg, var(--staff-color, var(--yellow)), transparent);
    opacity: 0.7;
}

.staff-group-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(260px, 1fr);
    gap: 20px;
    align-items: end;
}

.staff-group-heading h2 {
    color: var(--text);
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.staff-group-heading p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.staff-member-card {
    border-color: color-mix(in srgb, var(--staff-color, var(--yellow)) 42%, rgba(255, 255, 255, 0.12));
}

.staff-member-card span {
    color: var(--staff-color, var(--yellow));
}

.staff-member-card .btn {
    width: max-content;
    margin-top: 14px;
}

.role-badge,
.balance-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 9px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.role-badge {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-badge {
    color: #080808;
    background: var(--yellow);
}

.balance-badge.is-plus {
    background: #62d96b;
}

.balance-badge.is-minus {
    color: #fff;
    background: #b63e3e;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 210, 31, 0.28);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.pagination a:hover,
.pagination .is-active {
    color: #080808;
    background: var(--yellow);
    border-color: var(--yellow);
}

.pagination .is-disabled {
    opacity: 0.45;
}

.rule-title p {
    margin: 8px 0 0;
    color: var(--muted);
    font-family: var(--font-body);
    text-transform: none;
}

.rule-card-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.rule-card-list li {
    position: relative;
    padding: 16px 16px 16px 52px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.rule-card-list li::before {
    content: counter(list-item, decimal-leading-zero);
    position: absolute;
    left: 14px;
    top: 16px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.rule-card-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.rule-card-list p {
    margin: 0;
    color: var(--muted);
}

.ticket-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.ticket-thread {
    display: grid;
    gap: 16px;
}

.ticket-message {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.ticket-message.is-admin {
    border-color: rgba(255, 210, 31, 0.34);
    background: linear-gradient(145deg, rgba(255, 210, 31, 0.09), rgba(255, 255, 255, 0.02)), var(--surface);
}

.ticket-message-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-message p {
    margin: 0;
    color: var(--muted);
    white-space: normal;
    word-break: break-word;
}

.attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.attachment-list a {
    padding: 7px 10px;
    color: var(--yellow);
    border: 1px solid rgba(255, 210, 31, 0.28);
    background: rgba(255, 210, 31, 0.06);
    font-family: var(--font-display);
    font-weight: 700;
}

.mini-avatar {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
}

input[readonly] {
    color: var(--dim);
    cursor: not-allowed;
}

@media (max-width: 1120px) {
    .balance-grid,
    .product-grid,
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .nav-auth {
        margin: 14px 0 0;
    }

    .user-menu summary,
    .nav-steam {
        width: 100%;
    }

    .user-dropdown {
        position: static;
        margin-top: 10px;
    }

    .market-top,
    .wallet-head,
    .panel-title {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-grid,
    .profile-columns {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: relative;
        top: auto;
    }

    .staff-group-heading {
        grid-template-columns: 1fr;
    }

    .ticket-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .balance-grid,
    .product-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: auto;
    }

    .category-tabs a {
        flex: 1 1 auto;
        text-align: center;
    }

    .staff-member-card .btn {
        width: 100%;
    }

    .ticket-message-head,
    .pagination {
        align-items: stretch;
        flex-direction: column;
    }
}
