﻿:root {
    --bg: #05060d;
    --bg-soft: #0b1020;
    --card: rgba(12, 18, 34, 0.9);
    --card-strong: rgba(17, 24, 39, 0.96);
    --text: #f8fbff;
    --muted: #96a3b8;
    --accent: #00f5ff;
    --accent-strong: #f72585;
    --gold: #b8ff2c;
    --line: rgba(0, 245, 255, 0.22);
    --line-hot: rgba(247, 37, 133, 0.42);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background:
        linear-gradient(rgba(0, 245, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 18% 10%, rgba(247, 37, 133, 0.22), transparent 30rem),
        radial-gradient(circle at 82% 18%, rgba(0, 245, 255, 0.2), transparent 32rem),
        linear-gradient(180deg, #05060d 0%, #08101e 48%, #03040a 100%);
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 46%, rgba(0, 245, 255, 0.08) 47% 48%, transparent 49% 100%),
        radial-gradient(circle, rgba(184, 255, 44, 0.7) 1px, transparent 1.5px);
    background-size: 220px 220px, 120px 120px;
    opacity: 0.38;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 5vw, 70px);
    background: rgba(5, 6, 13, 0.9);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 0 28px rgba(0, 245, 255, 0.12);
    backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; background: #0b1020; border: 1px solid var(--accent); border-radius: 10px; box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), inset 0 0 18px rgba(247, 37, 133, 0.18); }
.brand-mark::before { content: 'G'; color: var(--gold); font-weight: 900; text-shadow: 0 0 12px var(--gold); }

.site-nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 700; }
.site-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .section-head a:hover { color: var(--accent); border-color: var(--accent); text-shadow: 0 0 12px rgba(0, 245, 255, 0.85); }
.menu-toggle { display: none; color: var(--accent); font-size: 1.5rem; background: transparent; border: 0; }

.hero, .section, .notice-grid, .game-detail { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 28px; align-items: center; padding: 72px 0 38px; }
.hero > * { min-width: 0; }
.eyebrow, .pill, .game-card span { display: inline-block; max-width: 100%; color: var(--gold); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; overflow-wrap: anywhere; text-shadow: 0 0 12px rgba(184, 255, 44, 0.55); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1 { max-width: 880px; margin-top: 14px; font-size: clamp(2.4rem, 7vw, 5.8rem); letter-spacing: -0.05em; text-transform: uppercase; text-shadow: 0 0 26px rgba(0, 245, 255, 0.24); }
h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 3vw, 2.35rem); text-transform: uppercase; }
p { color: var(--muted); line-height: 1.7; }
.hero-copy p { max-width: 760px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; color: #031014; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; background: linear-gradient(135deg, var(--accent), var(--gold)); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; box-shadow: 0 0 20px rgba(0, 245, 255, 0.22); cursor: pointer; }
.button.secondary { color: var(--text); background: rgba(0, 245, 255, 0.06); border-color: var(--line); }
.button:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(0, 245, 255, 0.36); }

.neon-card, .content-box, .game-card, .notice-grid article, .detail-panel, .filters, details { background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(7, 11, 22, 0.94)); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 0 0 1px rgba(247, 37, 133, 0.08), 0 18px 55px rgba(0, 0, 0, 0.35); }
.neon-card { min-width: 0; max-width: 100%; padding: 26px; text-align: center; overflow: hidden; }
.neon-card p, .hero-copy p, .hero-copy h1 { overflow-wrap: anywhere; }
.game-orb { position: relative; width: 180px; height: 180px; margin: 0 auto 22px; background: radial-gradient(circle at 35% 35%, #ffffff, var(--accent) 24%, #101827 55%, var(--accent-strong) 100%); border: 2px solid var(--accent); border-radius: 16px; box-shadow: 0 0 40px rgba(0, 245, 255, 0.48), inset 0 0 28px rgba(247, 37, 133, 0.28); }
.game-orb::before { content: ''; position: absolute; inset: 40px 22px; border-top: 10px solid var(--gold); border-bottom: 10px solid var(--gold); filter: drop-shadow(0 0 10px var(--gold)); }
.game-orb::after { content: ''; position: absolute; inset: 22px 40px; border-left: 10px solid var(--accent-strong); border-right: 10px solid var(--accent-strong); filter: drop-shadow(0 0 10px var(--accent-strong)); }

.notice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; margin-bottom: 44px; }
.notice-grid article { padding: 18px; }
.notice-grid strong, .notice-grid span { display: block; }
.notice-grid strong { margin-bottom: 6px; color: var(--accent); text-transform: uppercase; }
.notice-grid span { color: var(--muted); font-size: 0.92rem; }
.section { padding: 42px 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.game-card { overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-hot); box-shadow: 0 0 36px rgba(247, 37, 133, 0.18); }
.game-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(1.18) contrast(1.05); }
.game-card div { padding: 18px; }
.game-card h3 { margin: 8px 0; font-size: 1.18rem; }
.game-card p { min-height: 76px; font-size: 0.94rem; }

.filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px; margin-bottom: 16px; }
input, select, textarea { width: 100%; color: var(--text); font: inherit; background-color: rgba(0, 245, 255, 0.055); border: 1px solid var(--line); border-radius: 8px; outline: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
input, select { height: 48px; padding: 0 14px; }
select { padding-right: 44px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%), linear-gradient(180deg, rgba(0,245,255,.18), rgba(247,37,133,.18)); background-position: calc(100% - 23px) 20px, calc(100% - 16px) 20px, calc(100% - 44px) 50%; background-size: 7px 7px, 7px 7px, 1px 28px; background-repeat: no-repeat; cursor: pointer; }
input:hover, select:hover, textarea:hover { background-color: rgba(0, 245, 255, 0.09); border-color: var(--accent); }
input:focus, select:focus, textarea:focus { background-color: rgba(0, 245, 255, 0.1); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 255, 44, 0.12); }
textarea { padding: 14px; resize: vertical; }
option { color: var(--text); background: #0b1020; }
.muted { color: var(--muted); }

.game-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-top: 44px; }
.iframe-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 0 42px rgba(0,245,255,.18); }
.iframe-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-panel { position: sticky; top: 96px; align-self: start; padding: 18px; }
.detail-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; background: rgba(255,255,255,.06); border-radius: 8px; }
.detail-panel h1 { margin: 10px 0; font-size: clamp(1.65rem, 2.6vw, 2.65rem); }
.legal-mini { padding: 14px; color: var(--gold); background: rgba(184,255,44,.08); border: 1px solid rgba(184,255,44,.24); border-radius: 8px; }
.content-box { padding: 24px; }
.content-box img, .content-box iframe { max-width: 100%; }
.content-box p:first-child { margin-top: 0; }
.content-box p:last-child { margin-bottom: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; }
label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--muted); }
.success-message { color: var(--gold); font-weight: 800; }
.faq-list { display: grid; gap: 14px; }
details { padding: 18px 22px; }
summary { color: var(--text); font-weight: 900; cursor: pointer; }
.legal { width: min(980px, calc(100% - 36px)); max-width: 980px; overflow-wrap: anywhere; word-break: normal; }
.legal h2 { margin-top: 28px; margin-bottom: 10px; color: var(--accent); }
.legal h2:first-child { margin-top: 0; }
.legal ul { display: grid; gap: 8px; padding-left: 22px; margin: 12px 0 20px; color: var(--muted); }
.legal li { line-height: 1.65; }
.legal li::marker { color: var(--gold); }

.site-footer { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; padding: 34px clamp(18px, 5vw, 70px); margin-top: 56px; background: rgba(3, 4, 10, 0.94); border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; color: var(--muted); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .site-nav { position: absolute; top: 76px; right: 18px; display: none; flex-direction: column; align-items: flex-start; width: min(300px, calc(100vw - 36px)); padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; }
    .site-nav.open { display: flex; }
    .hero, .split, .game-detail, .contact-layout, .site-footer { grid-template-columns: 1fr; }
    .game-detail { gap: 18px; padding-top: 26px; }
    .detail-panel { position: static; display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start; }
    .detail-panel img { grid-row: span 4; margin-bottom: 0; }
    .notice-grid, .games-grid, .filters { grid-template-columns: repeat(2, 1fr); }
    .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
    .site-header { padding: 14px 16px; }
    .brand { font-size: 1.05rem; }
    .brand-mark { width: 36px; height: 36px; }
    .site-nav { top: 66px; right: 12px; left: 12px; width: auto; }
    .hero, .section, .notice-grid, .game-detail { width: min(100% - 24px, 1180px); }
    h1 { font-size: clamp(2rem, 12vw, 3.1rem); }
    h2 { font-size: 1.35rem; }
    p, li { font-size: 0.98rem; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 22px; }
    .hero-copy, .neon-card { width: 100%; min-width: 0; }
    .hero-actions, .section-head { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .neon-card, .content-box, .detail-panel, .filters, details { border-radius: 8px; }
    .neon-card { padding: 18px; }
    .game-orb { width: min(138px, 52vw); height: min(138px, 52vw); }
    .notice-grid, .games-grid, .filters { grid-template-columns: 1fr; }
    .game-card p { min-height: auto; }
    .detail-panel { grid-template-columns: 1fr; }
    .detail-panel img { grid-row: auto; aspect-ratio: 16 / 9; }
    .iframe-wrap { border-radius: 8px; }
    .content-box { padding: 18px; }
    .legal { width: min(100% - 24px, 980px); padding: 18px; }
    .legal h2 { margin-top: 24px; font-size: 1.18rem; line-height: 1.22; }
    .legal ul { gap: 7px; padding-left: 18px; margin-bottom: 18px; }
    .site-footer { gap: 14px; padding: 26px 18px; }
    .site-footer nav { flex-direction: column; gap: 10px; }
}