* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
    --bg-1: #090013;
    --bg-2: #12021e;
    --bg-3: #05010b;
    --cyan: #8ffcff;
    --pink: #ff4da6;
    --white-soft: rgba(255,255,255,.82);
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background:
        radial-gradient(circle at top, rgba(255, 70, 170, 0.22), transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(0, 220, 255, 0.16), transparent 18%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
    overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 20px; }

.stars {
    position: fixed; inset: 0; pointer-events: none; opacity: .28;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 32px 32px; z-index: 0; animation: drift 18s linear infinite;
}
.stars::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px);
    background-size: 54px 54px; opacity: .45; animation: twinkle 4s ease-in-out infinite;
}
.wrap { position: relative; z-index: 1; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

header {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(10px); background: rgba(0, 0, 0, 0.34);
    border-bottom: 1px solid rgba(255, 0, 153, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.logo-top { font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: #9cefff; opacity: .8; margin-bottom: 6px; }
.logo-main {
    font-size: clamp(34px, 6vw, 62px); font-weight: 900; letter-spacing: .16em;
    text-transform: uppercase; color: #ffc3ef;
    text-shadow: 0 0 12px rgba(255, 0, 153, .7), 0 0 26px rgba(255, 0, 153, .45);
    animation: pulseGlow 3s ease-in-out infinite;
}
nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
nav a {
    color: #d6fbff; border: 1px solid rgba(0,255,255,.28); background: rgba(0,0,0,.24);
    padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: bold;
    text-transform: uppercase; letter-spacing: .18em; transition: .2s ease;
}
nav a:hover, nav a.active {
    transform: translateY(-1px) scale(1.03); border-color: rgba(255, 0, 153, .45);
    color: #ffd0f3; box-shadow: 0 0 16px rgba(255, 0, 153, .18);
}

.hero {
    position: relative; min-height: 68vh; display: grid; grid-template-columns: 1.08fr .92fr;
    gap: 32px; align-items: center; padding: 44px 0 56px;
}
.badge {
    display: inline-block; padding: 10px 16px; border-radius: 999px;
    border: 1px solid rgba(255,0,153,.28); background: rgba(255,0,153,.10);
    color: #ffd7f1; font-size: 11px; font-weight: 700; letter-spacing: .35em;
    text-transform: uppercase; box-shadow: 0 0 18px rgba(255,0,153,.12);
}
.hero h1 { margin: 20px 0 0; font-size: clamp(42px, 8vw, 88px); line-height: .94; text-transform: uppercase; letter-spacing: .06em; }
.hero h1 span { color: var(--cyan); text-shadow: 0 0 18px rgba(0,255,255,.75); }
.hero p { max-width: 760px; margin: 24px 0 0; font-size: 18px; line-height: 1.9; color: var(--white-soft); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
    display: inline-block; padding: 14px 22px; border-radius: 999px; text-transform: uppercase;
    letter-spacing: .22em; font-size: 12px; font-weight: 800; transition: .2s ease;
}
.btn-primary { background: rgba(255,0,153,.20); border: 1px solid rgba(255,0,153,.45); color: #ffd3ee; box-shadow: 0 0 18px rgba(255,0,153,.12); }
.btn-secondary { background: rgba(0,255,255,.12); border: 1px solid rgba(0,255,255,.30); color: #cdfcff; }
.btn:hover { transform: scale(1.05); }

.visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.sun {
    position: absolute; top: 22px; width: min(290px, 58vw); aspect-ratio: 1/1; border-radius: 50%;
    background: linear-gradient(180deg, #ffd36b 0%, #ff4d94 100%);
    box-shadow: 0 0 80px rgba(255,86,166,.32); animation: sunFloat 5s ease-in-out infinite;
}
.sun::before, .sun::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.28); }
.sun::before { top: 36%; box-shadow: 0 52px 0 rgba(255,255,255,.22), 0 104px 0 rgba(255,255,255,.18); }
.sun::after { top: 18%; box-shadow: 0 156px 0 rgba(255,255,255,.12); }
.screen {
    position: relative; width: 100%; max-width: 540px; min-height: 430px; margin-top: 92px; overflow: hidden;
    border-radius: 34px; border: 1px solid rgba(255,0,153,.30);
    background: linear-gradient(180deg, rgba(18,2,30,.76) 0%, rgba(5,1,11,.92) 100%);
    box-shadow: 0 0 80px rgba(255,0,153,.18);
}
.screen::before { content: ''; position: absolute; inset: auto 0 0; height: 210px; background: linear-gradient(to top, rgba(0,255,255,.18), transparent); }
.grid-perspective {
    position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
    background-image: linear-gradient(rgba(0,255,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,255,.24) 1px, transparent 1px);
    background-size: 40px 30px; transform: perspective(700px) rotateX(74deg); transform-origin: bottom; animation: gridMove 9s linear infinite;
}
.screen-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 430px; padding: 26px; }
.live {
    display: inline-block; align-self: flex-start; padding: 8px 12px; border-radius: 999px; font-size: 10px; font-weight: 700;
    letter-spacing: .32em; text-transform: uppercase; color: #d7feff; border: 1px solid rgba(0,255,255,.25); background: rgba(0,0,0,.24);
}
.screen-title { text-align: center; margin-top: 18px; }
.screen-title strong {
    display: block; font-size: clamp(38px, 7vw, 66px); text-transform: uppercase; letter-spacing: .12em; color: #ffd3f0;
    text-shadow: 0 0 16px rgba(255,0,153,.75);
}
.screen-title span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: #a7f7ff; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.news-box, .section-card, .info-card {
    background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.10); border-radius: 20px;
    padding: 14px; text-align: left; transition: .2s ease;
}
.news-box:hover, .section-card:hover, .info-card:hover, .card:hover { transform: translateY(-3px); border-color: rgba(0,255,255,.20); }
.news-box small, .section-card small, .info-card small {
    display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .3em; color: rgba(156,239,255,.8);
}
.news-box strong, .section-card h3, .info-card strong {
    display: block; margin-top: 8px; font-size: 18px; line-height: 1.4; color: rgba(255,255,255,.92);
}
.news-strip {
    margin-bottom: 28px; border: 1px solid rgba(0,255,255,.18); border-radius: 999px;
    background: rgba(0,255,255,.07); overflow: hidden;
}
.news-strip span {
    display: inline-block; white-space: nowrap; padding: 14px 0; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .18em; color: #d6fbff; animation: marquee 24s linear infinite;
}

.panel {
    margin-bottom: 26px; padding: 28px; border-radius: 34px; background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,0,153,.18); box-shadow: 0 12px 40px rgba(0,0,0,.18); backdrop-filter: blur(8px);
}
.panel-top { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .35em; color: rgba(255,196,239,.82); }
.panel h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; letter-spacing: .06em; }
.panel-pill {
    white-space: nowrap; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(0,255,255,.24);
    background: rgba(0,255,255,.08); color: #d2fbff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em;
}
.cards, .content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .section-card, .info-card {
    background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.10); border-radius: 26px; padding: 22px; transition: .2s ease;
}
.card:hover, .section-card:hover, .info-card:hover { transform: translateY(-4px); border-color: rgba(255,0,153,.36); background: rgba(0,0,0,.34); box-shadow: 0 0 22px rgba(255,0,153,.08); }
.card-icon {
    width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px;
    background: rgba(255,0,153,.12); border: 1px solid rgba(255,0,153,.28); font-size: 28px;
}
.card h3 { margin: 18px 0 0; font-size: 24px; text-transform: uppercase; color: #bdfbff; letter-spacing: .04em; }
.card p, .section-card p, .info-card p { margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.8; }
.card a { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .24em; color: #ffd0ef; }
.feature-image { border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 30px rgba(255,0,153,.08); min-height: 220px; object-fit: cover; width: 100%; }

.bottom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-bottom: 36px; }
.counter-box, .manifesto-box, .contact-box {
    padding: 26px; border-radius: 30px; backdrop-filter: blur(8px);
}
.counter-box { border: 1px solid rgba(0,255,255,.18); background: rgba(0,255,255,.06); }
.manifesto-box, .contact-box { border: 1px solid rgba(255,0,153,.18); background: rgba(255,0,153,.06); }
.counter-number {
    margin-top: 14px; font-family: 'Courier New', monospace; font-size: clamp(40px, 6vw, 72px);
    font-weight: 900; color: #c6fdff; text-shadow: 0 0 14px rgba(0,255,255,.55);
}
.bottom-grid h3, .contact-box h3 { margin: 10px 0 0; font-size: 34px; text-transform: uppercase; color: #ffd0f0; letter-spacing: .06em; }
.bottom-grid p, .contact-box p { margin: 16px 0 0; font-size: 16px; line-height: 1.95; color: rgba(255,255,255,.8); }
.contact-list { margin-top: 18px; display: grid; gap: 12px; }
.contact-item { padding: 14px 16px; border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10); }

.flash { margin-bottom: 20px; padding: 16px 18px; border-radius: 18px; line-height: 1.7; border: 1px solid rgba(255,255,255,.12); }
.flash ul { margin: 8px 0 0 18px; padding: 0; }
.flash-success { background: rgba(0,255,170,.10); border-color: rgba(0,255,170,.30); color: #d8fff2; }
.flash-error { background: rgba(255,90,120,.10); border-color: rgba(255,90,120,.30); color: #ffe1ea; }
.contact-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-single { display: grid; gap: 8px; }
.contact-form label { font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: #bffcff; font-weight: bold; }
.contact-form input, .contact-form textarea {
    width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28);
    color: #fff; padding: 14px 16px; font: inherit; outline: none; transition: .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: rgba(255,0,153,.45); box-shadow: 0 0 0 3px rgba(255,0,153,.10);
}
.contact-form textarea { resize: vertical; min-height: 180px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-note { color: rgba(255,255,255,.70); font-size: 14px; }
.form-note code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
}
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-table th { color: #bdfbff; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.admin-table td { color: rgba(255,255,255,.82); line-height: 1.7; }

footer { border-top: 1px solid rgba(255,0,153,.24); background: rgba(0,0,0,.30); backdrop-filter: blur(8px); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; color: rgba(255,255,255,.68); font-size: 14px; }
.footer-tag { text-transform: uppercase; letter-spacing: .26em; color: rgba(156,239,255,.82); }

@keyframes pulseGlow { 0%,100% { text-shadow: 0 0 12px rgba(255,0,153,.7), 0 0 26px rgba(255,0,153,.45);} 50% { text-shadow: 0 0 18px rgba(255,0,153,.95), 0 0 42px rgba(255,0,153,.62);} }
@keyframes sunFloat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(10px);} }
@keyframes gridMove { 0% { background-position: 0 0, 0 0;} 100% { background-position: 0 30px, 40px 0;} }
@keyframes twinkle { 0%,100% { opacity: .25;} 50% { opacity: .55;} }
@keyframes drift { 0% { transform: translateY(0);} 50% { transform: translateY(8px);} 100% { transform: translateY(0);} }
@keyframes marquee { 0% { transform: translateX(100%);} 100% { transform: translateX(-100%);} }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; padding-top: 30px; }
    .visual { min-height: auto; }
    .cards, .content-grid { grid-template-columns: 1fr 1fr; }
    .bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .header-inner, .panel-top, .footer-inner { display: block; }
    nav { justify-content: flex-start; margin-top: 12px; }
    .news-grid, .cards, .content-grid, .form-grid { grid-template-columns: 1fr; }
    .panel-pill { display: inline-block; margin-top: 14px; }
    .screen, .screen-inner { min-height: 420px; }
    .screen-inner { padding: 20px; }
}


.poster-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.poster-card {
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    overflow: hidden;
    transition: .2s ease;
}
.poster-card:hover { transform: translateY(-4px); border-color: rgba(255,0,153,.36); box-shadow: 0 0 22px rgba(255,0,153,.08); }
.poster-meta { padding: 16px 18px 18px; }
.poster-meta h3 { margin: 0; color:#bdfbff; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.poster-meta p { margin: 10px 0 0; color: rgba(255,255,255,.76); line-height: 1.7; font-size: 14px; }

.badge-row { display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.tiny-badge {
    display:inline-block; padding:8px 12px; border-radius:999px; font-size:11px;
    text-transform:uppercase; letter-spacing:.18em; background: rgba(0,255,255,.10);
    border:1px solid rgba(0,255,255,.24); color:#d2fbff;
}

.game-wrap {
    display:grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}
.arcade-stage {
    background: rgba(0,0,0,.36);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    padding: 18px;
}
#retroGame {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    background: #05010b;
    border-radius: 18px;
    border: 1px solid rgba(0,255,255,.18);
    box-shadow: 0 0 22px rgba(0,255,255,.10);
}
.game-side {
    background: rgba(255,0,153,.06);
    border: 1px solid rgba(255,0,153,.18);
    border-radius: 26px;
    padding: 20px;
}
.game-side h3 { margin-top: 0; color:#ffd0f0; text-transform: uppercase; }
.game-side p { color: rgba(255,255,255,.78); line-height: 1.8; }
.game-score {
    font-family: 'Courier New', monospace;
    color: #c6fdff;
    font-weight: 900;
    font-size: 34px;
    text-shadow: 0 0 14px rgba(0,255,255,.55);
}

.guestbook-entry {
    background: rgba(0,0,0,.24);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    padding: 18px;
}
.guestbook-entry h3 {
    margin: 0;
    color:#bdfbff;
    font-size: 20px;
}
.guestbook-entry .meta {
    margin-top: 8px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.guestbook-entry p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.82);
    line-height: 1.9;
}

@media (max-width: 1100px) {
    .poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .game-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .poster-grid { grid-template-columns: 1fr; }
}
