﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap');

:root {
  --accent: #ffd15a;
  --accent-strong: #ffb936;
  --accent-soft: rgba(255, 209, 90, 0.16);
  --accent-soft-2: rgba(255, 209, 90, 0.08);
  --surface-1: rgba(17, 17, 24, 0.92);
  --surface-2: rgba(22, 22, 31, 0.92);
  --surface-3: rgba(32, 32, 43, 0.84);
  --surface-4: rgba(10, 10, 14, 0.94);
  --surface-overlay: rgba(4, 4, 9, 0.72);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 209, 90, 0.26);
  --text-main: #f7f4eb;
  --text-soft: #c8c1b2;
  --text-muted: #918973;
  --success: #70ff9f;
  --warning: #ffd15a;
  --danger: #ff7a7a;
  --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.38);
  --shadow-strong: 0 34px 80px rgba(0, 0, 0, 0.5);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 90, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 209, 90, 0.08), transparent 28%),
    linear-gradient(145deg, #06070b 0%, #0d1018 52%, #08090e 100%);
  background-image:
    radial-gradient(circle at top left, rgba(255, 209, 90, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 209, 90, 0.08), transparent 28%),
    linear-gradient(145deg, #06070b 0%, #0d1018 52%, #08090e 100%),
    url('assets/bg.png');
  background-size: auto, auto, auto, cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.2), rgba(5, 6, 10, 0.78)),
    linear-gradient(90deg, rgba(255, 209, 90, 0.02), transparent 25%, transparent 75%, rgba(255, 209, 90, 0.02));
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
}

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

main {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 18px;
  z-index: 1000;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 18px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 46%),
    linear-gradient(160deg, rgba(19, 19, 26, 0.95), rgba(9, 9, 13, 0.98));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 209, 90, 0.18);
  box-shadow: 0 0 24px rgba(255, 209, 90, 0.16);
}

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  background: rgba(255, 209, 90, 0.08);
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.nav-icons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  flex-shrink: 0;
}

.discord-link,
.nav-more-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  color: var(--text-main);
  cursor: pointer;
}

.discord-link {
  text-decoration: none;
}

.discord-link:hover,
.nav-more-toggle:hover,
.menu-toggle:hover,
.nav-more-toggle.is-open {
  background: rgba(255, 209, 90, 0.08);
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 52px;
  width: 220px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 44%),
    linear-gradient(160deg, rgba(19, 19, 26, 0.98), rgba(9, 9, 13, 0.98));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.nav-more-menu.show {
  display: flex;
  animation: fadeIn 0.18s ease;
}

.nav-more-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-more-menu a:hover {
  background: rgba(255, 209, 90, 0.08);
  color: var(--accent);
  transform: translateX(2px);
}

.hero {
  position: relative;
  min-height: 470px;
  padding: 82px 42px 54px;
  margin-top: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: end;
  background:
    linear-gradient(120deg, rgba(6, 8, 12, 0.52), rgba(6, 8, 12, 0.82)),
    radial-gradient(circle at top right, rgba(255, 209, 90, 0.18), transparent 35%),
    url('assets/bg.png') center/cover no-repeat;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-strong);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.75) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 209, 90, 0.1);
  border: 1px solid rgba(255, 209, 90, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.3rem, 8vw, 5.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero p {
  max-width: 620px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.launch-button,
.hud-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 34px rgba(255, 185, 54, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.launch-button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.launch-button:hover,
.hud-button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255, 185, 54, 0.26);
  filter: brightness(1.04);
}

.launch-button.secondary:hover {
  box-shadow: var(--shadow-soft);
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-stat span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.hud-panel,
.rules,
.admin,
.shop {
  padding: 30px 0 72px;
}

.section-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 18px;
}

.section-title,
.shop > h1,
.admin > h1,
.rules > h1,
.form-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
}

.shop > h1,
.admin > h1,
.rules > h1,
.form-title {
  margin-bottom: 14px;
}

.update-date {
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hud-row,
.product-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hud-row + .hud-row,
.shop-section + .shop-section,
.admin-grid + .section-box,
.rule-section + .rule-section {
  margin-top: 18px;
}

.hud-card,
.rule-section,
.product-card,
.admin-card,
.form-section {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 42%),
    linear-gradient(160deg, var(--surface-2), var(--surface-4));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hud-card::before,
.rule-section::before,
.product-card::before,
.admin-card::before,
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.hud-card:hover,
.rule-section:hover,
.product-card:hover,
.admin-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
}

.hud-card,
.rule-section,
.product-card,
.admin-card,
.option-tile,
.form-group input,
.form-group textarea,
.form-group select,
.nav-links a,
.discord-link,
.nav-icons > i,
.button,
.hud-button,
.launch-button {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hud-card > i,
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: var(--accent);
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 209, 90, 0.14);
}

.hud-card h2,
.rule-section h2,
.product-card h3,
.admin-card h3,
.form-section-title {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hud-card p,
.hud-card li,
.rule-section li,
.product-card .tags,
.product-card p,
.admin-card p,
.closed-info,
.form-group label {
  color: var(--text-soft);
  line-height: 1.65;
}

.hud-card p,
.product-card p,
.admin-card p,
.closed-info {
  font-size: 0.94rem;
}

.hud-card ul,
.rule-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.hud-card li,
.rule-section li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-card li::before,
.rule-section li::before {
  content: '•';
  margin-right: 10px;
  color: var(--accent);
}

#server-status,
#player-count,
#restart-timer,
#bot-status,
#discord-count,
#uptime {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.status.online,
.online {
  color: var(--success);
}

.status.partial {
  color: var(--warning);
}

.status.offline {
  color: var(--danger);
}

.shop-section {
  margin-top: 26px;
}

.page-hero,
.feature-card,
.team-note,
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.page-hero,
.team-note,
.cta-banner,
.feature-card {
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 42%),
    linear-gradient(160deg, var(--surface-2), var(--surface-4));
}

.page-hero,
.team-note {
  padding: 30px;
  margin-bottom: 24px;
}

.page-hero::before,
.team-note::before,
.cta-banner::before,
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.page-hero h1,
.team-note h3,
.cta-banner h3,
.feature-card h3 {
  position: relative;
  z-index: 1;
}

.page-hero p,
.team-note p,
.cta-banner p,
.feature-card p {
  position: relative;
  z-index: 1;
  color: var(--text-soft);
  line-height: 1.75;
}

.page-hero p,
.cta-banner h3 {
  max-width: 760px;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.content-band {
  margin-top: 26px;
}

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

.content-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 42%),
    linear-gradient(160deg, var(--surface-2), var(--surface-4));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.content-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 209, 90, 0.18);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-card h3,
.content-card p {
  position: relative;
  z-index: 1;
}

.content-card h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.content-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

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

.media-card,
.leak-card {
  min-height: 220px;
}

.update-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.code-block {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.media-preview,
.leak-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 180px;
  margin-bottom: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 90, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(24, 24, 34, 0.96), rgba(10, 10, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

.feed-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 180px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  appearance: none;
  cursor: pointer;
}

.feed-preview img,
.feed-preview video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.feed-preview-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.82);
  border: 1px solid rgba(255, 209, 90, 0.22);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.feed-preview:hover img,
.feed-preview:hover video {
  transform: scale(1.03);
}

.feed-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.feed-button {
  border: 1px solid rgba(255, 209, 90, 0.22);
  background: rgba(255, 209, 90, 0.08);
  color: var(--accent);
  cursor: pointer;
  padding: 0 16px;
}

.feed-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
}

.feed-link:hover {
  text-decoration: underline;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2100;
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.86);
  backdrop-filter: blur(8px);
}

.media-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 36%),
    linear-gradient(160deg, rgba(16, 16, 24, 0.98), rgba(7, 7, 12, 0.98));
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-strong);
}

.media-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

.media-lightbox-body {
  overflow: hidden;
  border-radius: 20px;
}

.media-lightbox-body img,
.media-lightbox-body video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #05060a;
}

body.lightbox-open {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

.empty-card {
  grid-column: 1 / -1;
}

.panel-top-grid {
  grid-template-columns: 1.4fr 1fr;
}

.panel-auth-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.panel-input {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.panel-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

.panel-status[data-state="success"] {
  border-color: rgba(112, 255, 159, 0.22);
  background: rgba(112, 255, 159, 0.08);
  color: var(--success);
}

.panel-status[data-state="error"] {
  border-color: rgba(255, 122, 122, 0.22);
  background: rgba(255, 122, 122, 0.08);
  color: var(--danger);
}

.panel-status[data-state="pending"] {
  border-color: rgba(255, 209, 90, 0.22);
  background: rgba(255, 209, 90, 0.08);
  color: var(--accent);
}

.panel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-filter {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
}

.panel-filter.is-active {
  background: rgba(255, 209, 90, 0.14);
  border-color: rgba(255, 209, 90, 0.38);
  color: var(--accent);
}

.panel-applications-grid,
.panel-results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-card,
.results-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.application-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.application-answers {
  display: grid;
  gap: 10px;
}

.application-answer {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.application-answer strong,
.results-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
}

.application-answer span,
.results-row span,
.results-row small {
  color: var(--text-soft);
  line-height: 1.6;
}

.application-reason {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  resize: vertical;
}

.application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.results-list {
  display: grid;
  gap: 10px;
}

.results-row {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.media-preview i,
.leak-preview i {
  font-size: 2rem;
  color: var(--accent);
}

.media-preview span,
.leak-preview span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leak-preview.video {
  background:
    radial-gradient(circle at top left, rgba(255, 100, 100, 0.12), transparent 38%),
    linear-gradient(160deg, rgba(24, 24, 34, 0.96), rgba(10, 10, 16, 0.98));
}

.feature-card {
  padding: 24px;
}

.feature-card.large {
  min-height: 100%;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 209, 90, 0.18);
  color: var(--accent);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.cta-banner {
  margin-top: 26px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.shop-banner {
  margin-bottom: 10px;
}

.shop-cart-shell {
  margin: 26px 0 10px;
  display: flex;
  justify-content: flex-end;
}

.shop-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.68);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 1190;
}

.shop-cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shop-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  overflow-y: auto;
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 42%),
    linear-gradient(160deg, var(--surface-2), var(--surface-4));
  border-left: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(110%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.shop-cart-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.shop-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-cart-kicker {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-cart-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.shop-cart-close:hover {
  transform: translateY(-1px);
  border-color: var(--border-accent);
  color: var(--accent);
  background: rgba(255, 209, 90, 0.08);
}

.shop-cart-items {
  display: grid;
  gap: 12px;
}

.shop-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-cart-item span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.5;
}

.shop-cart-item-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.shop-cart-item-side button {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-weight: 700;
}

.shop-cart-summary {
  display: grid;
  gap: 10px;
}

.shop-cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
}

.shop-cart-total-row {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.shop-discount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-cart-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17, 17, 24, 0.94);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-cart-empty {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.flow-showcase {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px;
}

.showcase-panel,
.showcase-card,
.info-panel {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 42%),
    linear-gradient(160deg, var(--surface-2), var(--surface-4));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.showcase-panel::before,
.showcase-card::before,
.info-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 209, 90, 0.16);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-panel h2,
.info-panel h3,
.showcase-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.showcase-panel p,
.info-panel p,
.showcase-card p {
  color: var(--text-soft);
  line-height: 1.75;
}

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

.showcase-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 209, 90, 0.16);
}

.flow-columns {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.info-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.info-list li::before {
  content: '•';
  margin-right: 10px;
  color: var(--accent);
}

.product-card,
.admin-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card img,
.admin-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card img {
  aspect-ratio: 1 / 1;
  max-width: 190px;
  margin-inline: auto;
}

.admin-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.admin-desc {
  margin-top: 4px;
}

.price {
  margin: 6px 0 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.tags {
  margin-bottom: 18px;
}

.product-card .button,
.product-card .hud-button {
  margin-top: auto;
  width: 100%;
}

.disabled-card {
  opacity: 0.76;
}

.closed-info {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 122, 122, 0.08);
  border: 1px solid rgba(255, 122, 122, 0.16);
}

.rules {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rule-section h2 {
  margin-bottom: 14px;
  color: var(--accent);
}

.form-title {
  text-align: center;
  margin-top: 30px;
}

.form-section {
  max-width: 860px;
  margin: 20px auto 0;
}

.form-section-title {
  margin-bottom: 20px;
  color: var(--accent);
  text-align: center;
}

.form-slim {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 4px rgba(255, 209, 90, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 600;
}

.option-tile:hover {
  border-color: var(--border-accent);
  color: var(--text-main);
}

.option-tile input {
  display: none;
}

.option-tile.selected {
  background: rgba(255, 209, 90, 0.14);
  border-color: rgba(255, 209, 90, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  color: var(--accent);
}

.form-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto 24px;
  padding: 18px 22px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-shell {
    width: 100%;
  }

  .feature-strip,
  .status-strip,
  .content-grid,
  .panel-top-grid,
  .flow-showcase,
  .flow-columns,
  .hero-stats,
  .hud-row,
  .product-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-showcase {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  main,
  .navbar,
  footer {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .navbar {
    top: 10px;
    padding: 14px;
  }

  .logo {
    width: auto;
    justify-content: flex-start;
  }

  .logo-text {
    font-size: 1.45rem;
  }

  .nav-shell {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
    animation: fadeIn 0.2s ease;
  }

  .nav-links a {
    text-align: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-icons {
    justify-content: flex-end;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-more-menu {
    right: 0;
    left: auto;
    width: 210px;
  }

  .hero {
    min-height: auto;
    padding: 34px 22px 26px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-actions,
  .feature-strip,
  .status-strip,
  .content-grid,
  .panel-top-grid,
  .flow-showcase,
  .flow-columns,
  .showcase-grid,
  .hero-stats,
  .hud-row,
  .product-grid,
  .admin-grid,
  .form-buttons {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions {
    display: flex;
  }

  .launch-button,
  .hud-button,
  .button {
    width: 100%;
  }

  .hero-stats,
  .hud-row,
  .product-grid,
  .admin-grid,
  .panel-applications-grid,
  .panel-results-grid {
    display: grid;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .media-lightbox {
    padding: 12px;
  }

  .media-lightbox-dialog {
    padding: 14px;
    border-radius: 20px;
  }

  .shop-cart-panel {
    width: min(100vw, 420px);
    padding: 22px 18px;
  }

  .hud-card,
  .rule-section,
  .product-card,
  .admin-card,
  .form-section {
    padding: 18px;
  }
}


