﻿:root {
  --blue: #0f4c81;
  --blue-dark: #092c4d;
  --accent: #26b0ff;
  --accent-2: #3fe6ff;
  --panel: rgba(7, 18, 36, 0.82);
  --line: rgba(255, 255, 255, 0.06);
  --text: #e6f0ff;
  --muted: #9db7d9;
  --red: #e60035;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --card-w: 160px;
  --card-gap: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PT Sans", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(140% 140% at 20% 20%, rgba(48, 120, 200, 0.18), transparent 60%),
    radial-gradient(120% 120% at 80% 0%, rgba(24, 120, 255, 0.12), transparent 55%),
    linear-gradient(140deg, #0a1222 0%, #0c1c35 100%);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: clamp(65px, 8vw, 80px);
  padding-bottom: clamp(42px, 5vw, 55px);
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(80% 80% at 50% 50%, rgba(0, 0, 0, 0.6), transparent 80%);
  z-index: 0;
}

.top {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 30px 38px 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-mark {
  position: relative;
  width: 120px;
  height: 120px;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(38, 176, 255, 0.3));
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-weight: 900;
  font-size: 42px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(90deg, #fff, #26b0ff, #fff, #3fe6ff, #fff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease-in-out infinite;
  letter-spacing: 0.08em;
}

@keyframes titleShimmer {
  0% { background-position: 100% center; }
  100% { background-position: -100% center; }
}

.brand-sub {
  font-size: 16px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 450px;
}

.screen {
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 20px 30px;
  width: 100%;
}

.cta {
  margin-top: -10px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  animation: ctaBounce 1.5s ease-in-out infinite;
}

@keyframes ctaBounce {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.03);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.03);
  }
}

.cta-word {
  animation: breatheRed 3s ease-in-out infinite;
}

@keyframes breatheRed {
  0%, 100% {
    color: var(--text);
  }
  50% {
    color: #ff5555;
    text-shadow: 0 0 20px rgba(255, 85, 85, 0.5);
  }
}

.wheel-zone {
  margin-top: 26px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 16px;
}

.case-window {
  position: relative;
  width: min(960px, 96vw);
  overflow: hidden;
  padding: 26px 0;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(9, 43, 93, 0.9), rgba(4, 10, 26, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.center-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.14;
  filter: saturate(0.9);
}

.center-logo img {
  width: min(260px, 46vw);
  height: auto;
  object-fit: contain;
}

.case-track {
  position: relative;
  display: flex;
  gap: var(--card-gap);
  padding: 0;
  transform: translateX(0);
  transition: transform 7s cubic-bezier(0.16, 0.86, 0.37, 0.99);
}

.case-card {
  flex: 0 0 var(--card-w);
  height: 200px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-rows: 1fr auto;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.case-card .label {
  padding: 8px 10px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
  color: #e8f2ff;
  background: rgba(0, 0, 0, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.case-fade.left {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 10, 26, 0.8), transparent);
}

.case-fade.right {
  right: 0;
  background: linear-gradient(-90deg, rgba(4, 10, 26, 0.8), transparent);
}

.case-highlight {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: calc(var(--card-w) + 14px);
  transform: translateX(-50%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 24px rgba(38, 176, 255, 0.18);
  pointer-events: none;
  z-index: 3;
}

.case-pointer {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--accent-2);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.file-btn {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.case-window.drag-hover {
  outline: 2px dashed rgba(38, 176, 255, 0.7);
  outline-offset: 6px;
}

.btn {
  border: none;
  border-radius: 12px;
min-height: 52px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #2173c7, #0f4c81);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.btn:active:not(:disabled) {
  transform: translateY(0px) scale(0.99);
}

.btn.primary {
  padding-inline: 26px;
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f7ff;
  backdrop-filter: blur(10px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #d4e9ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.icon-only {
  padding: 14px 14px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn.icon-only:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
}

/* Ad Banner */
.ad-banner {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 0 20px;
  background: transparent;
}

.ad-banner a {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ad-banner a:hover {
  transform: scale(1.02);
  opacity: 0.95;
  box-shadow: 0 6px 25px rgba(38, 176, 255, 0.4);
}

.ad-banner img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
}

.result-layer {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 9, 18, 0.72);
  backdrop-filter: blur(12px);
  z-index: 50;
  transition: background 0.4s ease;
}

.hidden {
  display: none;
}

.result-card {
  width: min(420px, 92vw);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stamp {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.preview img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.preview-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.final-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 150, 170, 0.18), transparent 45%),
    linear-gradient(135deg, #93001f, #22000a 65%);
  z-index: 8;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.final-screen.active {
  opacity: 1;
}

.final-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 2px,
      transparent 2px,
      transparent 12px
    ),
    radial-gradient(circle at 50% 40%, rgba(255, 80, 120, 0.25), transparent 45%);
  opacity: 0.35;
  animation: sweep 6s linear infinite;
}

.flare {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 115, 145, 0.8), transparent 55%);
  filter: blur(60px);
  animation: pulse 2.6s ease-in-out infinite;
}

.final-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
  border-radius: 20px;
  padding: 26px 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.final-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
}

.final-status {
  margin-top: 10px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 255, 255, 0.26);
}

.final-seal {
  margin: 14px auto 4px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.35));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 18px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.5) rotate(-8deg);
  opacity: 0;
}

.final-seal.pop {
  animation: stamp 0.65s ease forwards;
}

.reward-block {
  margin: 10px auto 14px;
  display: grid;
  gap: 4px;
}

.reward-label {
  font-size: 14px;
  color: #ffe4ec;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.reward-amount {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 255, 255, 0.3);
}

.reward-sub {
  font-size: 13px;
  color: #ffd9e4;
  opacity: 0.85;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #dfe9ff;
  font-size: 14px;
  backdrop-filter: blur(12px);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -6px);
}

.footer {
  margin-top: 24px;
  padding: 26px 24px 40px;
  background: rgba(4, 9, 18, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.footer-title {
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.file-list {
  margin: 8px 0;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes stamp {
  0% {
    transform: scale(0.6) rotate(-10deg);
    opacity: 0;
  }
  55% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(20px);
  }
}

/* Settings Sections */
.settings-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.section-title svg {
  color: var(--accent);
}

.setting-group-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 15px;
}

.upload-area {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.upload-area:hover {
  border-color: var(--accent);
  background: rgba(38, 176, 255, 0.05);
}

.upload-area.drag-over {
  border-color: var(--accent-2);
  background: rgba(63, 230, 255, 0.1);
}

.upload-icon {
  color: var(--accent);
  margin-bottom: 8px;
}

.upload-area p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.uploaded-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
}

.uploaded-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 11px;
}

.uploaded-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.uploaded-item button {
  margin-left: auto;
  padding: 3px 8px;
  background: rgba(230, 0, 53, 0.2);
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  transition: all 0.3s ease;
}

.uploaded-item button:hover {
  background: var(--red);
  color: white;
}

.btn-sm {
  padding: 8px 16px !important;
  font-size: 12px !important;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box .stat-value {
  font-weight: 700;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-box .stat-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Button Styles */
.btn.secondary {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.15), rgba(38, 176, 255, 0.08));
  border: 1px solid rgba(38, 176, 255, 0.3);
  color: var(--accent);
}

.btn.secondary:hover {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.25), rgba(38, 176, 255, 0.15));
  border-color: var(--accent);
}

.btn svg {
  margin-right: 8px;
}

.btn.pulse {
  animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 176, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(38, 176, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 176, 255, 0);
  }
}

/* Drag and Drop */
.case-window.drag-hover {
  box-shadow: 0 0 30px rgba(38, 176, 255, 0.4);
  border-color: var(--accent);
}

/* Settings Modal */
.settings-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.settings-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.settings-content {
  background: linear-gradient(135deg, rgba(15, 25, 45, 0.98), rgba(10, 20, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.settings-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.settings-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.setting-group {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.setting-group:hover {
  background: rgba(255, 255, 255, 0.05);
}

.setting-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.setting-label svg {
  color: var(--accent);
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.radio-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.radio-option span {
  font-size: 13px;
  color: var(--muted);
}

.radio-option input:checked + span {
  color: var(--text);
  font-weight: 500;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--muted);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--accent);
  border-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background: white;
}

/* Theme Selector */
.theme-selector {
  display: flex;
  gap: 10px;
}

.theme-option {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.theme-option:hover {
  transform: scale(1.1);
}

.theme-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(38, 176, 255, 0.2);
}

.theme-option.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.settings-footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .brand-mark {
    width: 80px;
    height: 80px;
  }

  .brand-title {
    font-size: 28px;
  }

  .brand-sub {
    font-size: 12px;
    max-width: 90vw;
  }

  .case-window {
    width: 100%;
  }

  .case-card {
    flex-basis: 140px;
    height: 180px;
  }

  .btn {
    width: 100%;
  }

  .settings-content {
    width: 95%;
  }

  .radio-group {
    flex-direction: column;
  }

  .setting-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .ad-banner {
    padding: 0 15px;
    margin-top: 8px;
  }

  .ad-banner img {
    max-width: 100%;
  }

  /* Баннер и ссылка */
  .banner-site-link {
    font-size: 12px;
    padding: 3px 0;
  }

  /* Карточка результата */
  .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .card-actions .btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  /* Пасхалка */
  .fsb-warning {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .error-code {
    font-size: 70px;
  }

  .error-text {
    font-size: 18px;
  }

  .error-sub {
    font-size: 14px;
  }

  .error-skull {
    font-size: 50px;
  }

  .max-confirm-text {
    font-size: 28px !important;
  }

  .max-confirm-box {
    padding: 30px 40px;
    margin: 15px;
  }

  .chaos-gif {
    max-width: 200px !important;
  }
}

/* Theme Variations */
body.theme-dark {
  background: linear-gradient(140deg, #000000 0%, #0a0a0a 100%);
}

body.theme-dark .background-grid {
  opacity: 0.3;
}

body.theme-purple {
  background: radial-gradient(140% 140% at 20% 20%, rgba(106, 27, 154, 0.3), transparent 60%),
    radial-gradient(120% 120% at 80% 0%, rgba(123, 31, 162, 0.2), transparent 55%),
    linear-gradient(140deg, #1a0033 0%, #2d004d 100%);
}

body.theme-purple :root,
body.theme-purple {
  --accent: #ba68c8;
  --accent-2: #ce93d8;
}

body.theme-green {
  background: radial-gradient(140% 140% at 20% 20%, rgba(27, 94, 32, 0.3), transparent 60%),
    radial-gradient(120% 120% at 80% 0%, rgba(46, 125, 50, 0.2), transparent 55%),
    linear-gradient(140deg, #0d1f0f 0%, #1b5e20 100%);
}

body.theme-green :root,
body.theme-green {
  --accent: #66bb6a;
  --accent-2: #81c784;
}

/* ============================================
   CATEGORY SELECTION STYLES
   ============================================ */

.category-section {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.05), rgba(63, 230, 255, 0.02));
  border-radius: 16px;
  padding: 20px !important;
  border: 1px solid rgba(38, 176, 255, 0.15);
}

.section-desc {
  margin: 0 0 20px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.category-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(38, 176, 255, 0.3);
  transform: translateY(-2px);
}

.category-card.active,
.category-card:has(input:checked) {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.15), rgba(38, 176, 255, 0.08));
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(38, 176, 255, 0.2), inset 0 0 20px rgba(38, 176, 255, 0.05);
}

.category-card.active .category-icon,
.category-card:has(input:checked) .category-icon {
  background: var(--accent);
  color: white;
}

.category-card.active .category-name,
.category-card:has(input:checked) .category-name {
  color: var(--accent);
}

.category-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 12px;
  color: var(--muted);
  transition: all 0.3s ease;
}

.category-icon svg {
  stroke-width: 1.5;
}

.category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.category-desc {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.8;
}

/* Active indicator */
.category-card.active::after,
.category-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .brand-mark {
    width: 60px;
    height: 60px;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    padding: 15px 10px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-icon svg {
    width: 24px;
    height: 24px;
  }

  .category-name {
    font-size: 13px;
  }

  .category-desc {
    font-size: 10px;
  }

  .banner-site-link {
    font-size: 10px;
  }

  .case-card {
    flex-basis: 120px;
    height: 150px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .btn {
    font-size: 13px;
  }

  .fsb-warning {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .error-code {
    font-size: 50px;
    letter-spacing: 5px;
  }

  .error-text {
    font-size: 14px;
  }

  .error-sub {
    font-size: 12px;
  }

  .error-skull {
    font-size: 40px;
  }

  .max-confirm-text {
    font-size: 22px !important;
  }

  .max-confirm-box {
    padding: 25px 20px;
    margin: 10px;
  }

  .max-confirm-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .chaos-gif {
    max-width: 150px !important;
  }
}

/* ============================================
   ACTION RESULT STYLES (штамп на фото)
   ============================================ */

/* Статус в заголовке карточки */
.card-status {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.card-status.show {
  opacity: 1;
  transform: scale(1);
}

/* Штамп на фото */
.photo-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg) scale(0.5);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 4px solid currentColor;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 10;
}

.photo-stamp.show {
  animation: stampIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-15deg) scale(1.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-15deg) scale(1);
  }
}

/* Состояния карточки по действиям */
.result-card.action-applied {
  transition: all 0.4s ease;
}

/* ЗАБАНЕНО - красный */
.result-layer.status-banned {
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 50, 0.4), rgba(100, 0, 20, 0.9));
}

.result-card.status-banned {
  background: linear-gradient(135deg, rgba(180, 0, 30, 0.95), rgba(100, 0, 20, 0.95));
  border-color: rgba(255, 100, 100, 0.3);
}

.result-card.status-banned .card-status {
  background: rgba(255, 50, 50, 0.3);
  color: #ff6b6b;
}

.result-card.status-banned .photo-stamp {
  color: #ff4444;
  background: rgba(255, 0, 0, 0.15);
}

/* ОГРАНИЧЕНО - оранжевый */
.result-layer.status-restricted {
  background: radial-gradient(circle at 50% 50%, rgba(255, 150, 0, 0.4), rgba(120, 60, 0, 0.9));
}

.result-card.status-restricted {
  background: linear-gradient(135deg, rgba(180, 100, 0, 0.95), rgba(120, 60, 0, 0.95));
  border-color: rgba(255, 180, 100, 0.3);
}

.result-card.status-restricted .card-status {
  background: rgba(255, 150, 50, 0.3);
  color: #ffaa55;
}

.result-card.status-restricted .photo-stamp {
  color: #ff9922;
  background: rgba(255, 150, 0, 0.15);
}

/* ЗАМЕДЛЕНО - синий */
.result-layer.status-slowed {
  background: radial-gradient(circle at 50% 50%, rgba(0, 100, 255, 0.4), rgba(0, 40, 100, 0.9));
}

.result-card.status-slowed {
  background: linear-gradient(135deg, rgba(0, 80, 180, 0.95), rgba(0, 40, 100, 0.95));
  border-color: rgba(100, 180, 255, 0.3);
}

.result-card.status-slowed .card-status {
  background: rgba(50, 150, 255, 0.3);
  color: #55aaff;
}

.result-card.status-slowed .photo-stamp {
  color: #4499ff;
  background: rgba(0, 100, 255, 0.15);
}

/* ИЗВИНЯЕТСЯ - фиолетовый */
.result-layer.status-apologize {
  background: radial-gradient(circle at 50% 50%, rgba(150, 0, 255, 0.4), rgba(60, 0, 100, 0.9));
}

.result-card.status-apologize {
  background: linear-gradient(135deg, rgba(120, 0, 180, 0.95), rgba(60, 0, 100, 0.95));
  border-color: rgba(200, 100, 255, 0.3);
}

.result-card.status-apologize .card-status {
  background: rgba(180, 50, 255, 0.3);
  color: #cc77ff;
}

.result-card.status-apologize .photo-stamp {
  color: #bb55ff;
  background: rgba(150, 0, 255, 0.15);
}

/* Кнопки после действия */
.card-done {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

/* Летающие надписи на фоне */
.flying-text {
  position: fixed;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  animation: flyIn 1.5s ease-out forwards;
}

.flying-text.status-banned { color: rgba(255, 80, 80, 0.8); }
.flying-text.status-restricted { color: rgba(255, 180, 80, 0.8); }
.flying-text.status-slowed { color: rgba(80, 180, 255, 0.8); }
.flying-text.status-apologize { color: rgba(200, 120, 255, 0.8); }

@keyframes flyIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.2) rotate(5deg);
  }
}

/* Кнопка Забанить - красная с переливом */
.btn-ban {
  border: 2px solid #ff4444 !important;
  background: linear-gradient(90deg, rgba(255, 68, 68, 0.2), rgba(255, 255, 255, 0.1), rgba(255, 68, 68, 0.2)) !important;
  background-size: 200% 100% !important;
  color: #ff6b6b !important;
  animation: banShimmer 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3), inset 0 0 10px rgba(255, 68, 68, 0.1);
}

.btn-ban:hover {
  border-color: #ff6666 !important;
  background: linear-gradient(90deg, rgba(255, 68, 68, 0.4), rgba(255, 255, 255, 0.2), rgba(255, 68, 68, 0.4)) !important;
  background-size: 200% 100% !important;
  color: #fff !important;
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5), inset 0 0 15px rgba(255, 68, 68, 0.2);
}

@keyframes banShimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* ============================================
   БАННЕРЫ СВЕРХУ И СНИЗУ
   ============================================ */

.banner {
  position: fixed;
  left: 0;
  width: 100%;
  height: clamp(38px, 5vw, 50px);
  background: rgba(113, 56, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 100;
  cursor: pointer;
}

.banner-top {
  top: 0;
}

.banner-bottom {
  bottom: 0;
}

.banner-site-link {
  position: fixed;
  top: clamp(38px, 5vw, 50px);
  left: 0;
  right: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  z-index: 101;
  padding: 4px 0;
}

.banner-site-link a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.banner-site-link a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.banner-track {
  display: flex;
  animation: bannerScroll 15s linear infinite;
}

.banner-top .banner-track {
  animation-direction: normal;
}

.banner-bottom .banner-track {
  animation-direction: reverse;
}

@keyframes bannerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.banner-content {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: 0 clamp(10px, 2vw, 20px);
  white-space: nowrap;
}

.banner-text {
  font-size: clamp(12px, 2.5vw, 18px);
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-logo {
  height: clamp(22px, 3.5vw, 32px);
  width: auto;
  animation: bannerLogoPulse 1.5s ease-in-out infinite;
}

@keyframes bannerLogoPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 15px #ffffff);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 12px #ffffff) drop-shadow(0 0 25px #ffffff);
    transform: scale(1.08);
  }
}

.banner-cta {
  color: #ffdd00;
  text-shadow: 0 0 10px rgba(255, 221, 0, 0.7);
}

.banner-feature {
  color: #00ffaa;
  text-shadow: 0 0 10px rgba(0, 255, 170, 0.7);
}

.banner-dot {
  color: #ffffff;
  font-size: clamp(10px, 2vw, 16px);
}

/* ============================================
   ПАСХАЛКА ДЛЯ МАКСА
   ============================================ */

/* Окно подтверждения */
.max-confirm {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(10px);
}

.max-confirm-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 3px solid #ff0000;
  border-radius: 20px;
  padding: 40px 60px;
  text-align: center;
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.5), 0 0 100px rgba(255, 0, 0, 0.3);
  animation: confirmShake 0.5s ease-in-out;
}

@keyframes confirmShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
}

.max-confirm-text {
  font-size: 36px;
  font-weight: 900;
  color: #ff4444;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
  animation: textPulse 0.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.max-confirm-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.max-confirm-buttons .btn {
  min-width: 120px;
}

/* Контейнер для хаоса с гифками */
.max-chaos {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  overflow: hidden;
}

.chaos-gif {
  position: absolute;
  width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
  animation: chaosGifAppear 0.5s ease-out forwards, chaosGifFloat 2s ease-in-out infinite;
}

@keyframes chaosGifAppear {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes chaosGifFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* Полицейские мигалки */
.police-flash {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  animation: policeFlash 0.2s linear infinite;
}

@keyframes policeFlash {
  0%, 49% { background: rgba(255, 0, 0, 0.3); }
  50%, 100% { background: rgba(0, 0, 255, 0.3); }
}

/* Экран ошибки */
.error-screen {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  animation: errorAppear 0.3s ease-out;
}

@keyframes errorAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.error-content {
  text-align: center;
}

.error-code {
  font-size: 120px;
  font-weight: 900;
  color: #ff0000;
  text-shadow: 0 0 50px rgba(255, 0, 0, 0.8), 0 0 100px rgba(255, 0, 0, 0.5);
  animation: errorGlitch 0.3s ease-in-out infinite;
  letter-spacing: 10px;
}

@keyframes errorGlitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-5px, 5px); }
  40% { transform: translate(5px, -5px); }
  60% { transform: translate(-3px, -3px); }
  80% { transform: translate(3px, 3px); }
}

.error-text {
  font-size: 28px;
  color: #888;
  margin-top: 20px;
  font-weight: 700;
}

.error-sub {
  font-size: 18px;
  color: #ff4444;
  margin-top: 15px;
  animation: textPulse 1s ease-in-out infinite;
}

.error-skull {
  font-size: 80px;
  margin-top: 30px;
  animation: skullBounce 1s ease-in-out infinite;
}

@keyframes skullBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Текст ФСБ ЕДЕТ К ВАМ */
.fsb-warning {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: 900;
  color: #ff0000;
  text-align: center;
  z-index: 145;
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.8),
    0 0 40px rgba(255, 0, 0, 0.6),
    0 0 60px rgba(255, 0, 0, 0.4),
    0 0 80px rgba(255, 0, 0, 0.2);
  animation: fsbPulse 0.3s ease-in-out infinite alternate, fsbShimmer 1s linear infinite;
  letter-spacing: 5px;
  white-space: nowrap;
}

@keyframes fsbPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    color: #ff0000;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    color: #ff4444;
  }
}

@keyframes fsbShimmer {
  0% {
    text-shadow:
      0 0 20px rgba(255, 0, 0, 0.8),
      0 0 40px rgba(255, 0, 0, 0.6),
      0 0 60px rgba(255, 0, 0, 0.4);
  }
  50% {
    text-shadow:
      0 0 40px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(255, 0, 0, 0.8),
      0 0 80px rgba(255, 0, 0, 0.6);
  }
  100% {
    text-shadow:
      0 0 20px rgba(255, 0, 0, 0.8),
      0 0 40px rgba(255, 0, 0, 0.6),
      0 0 60px rgba(255, 0, 0, 0.4);
  }
}

/* ============================================
   SEO H1 (визуально скрыт, но читается поисковиками)
   ============================================ */

.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SEO SPOILER STYLES
   ============================================ */

.seo-spoiler {
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.05), rgba(10, 18, 34, 0.95));
  border: 1px solid rgba(38, 176, 255, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.seo-spoiler:hover {
  border-color: rgba(38, 176, 255, 0.3);
  box-shadow: 0 4px 20px rgba(38, 176, 255, 0.1);
}

.seo-spoiler[open] {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.08), rgba(63, 230, 255, 0.03));
  border-color: rgba(38, 176, 255, 0.25);
  box-shadow: 0 8px 32px rgba(38, 176, 255, 0.15), inset 0 0 20px rgba(38, 176, 255, 0.03);
}

.seo-spoiler-toggle {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #fff);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.seo-spoiler-toggle::-webkit-details-marker {
  display: none;
}

.seo-spoiler-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent, #26b0ff);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent, #26b0ff);
  flex-shrink: 0;
}

.seo-spoiler-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent, #26b0ff);
  border-bottom: 2px solid var(--accent, #26b0ff);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.seo-spoiler[open] .seo-spoiler-toggle::after {
  transform: rotate(-135deg);
}

.seo-spoiler-toggle:hover {
  background: rgba(38, 176, 255, 0.05);
}

.seo-spoiler-content {
  padding: 5px 24px 24px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-spoiler-content .seo-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
}

.seo-spoiler-content .seo-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ============================================
   SEO FOOTER STYLES
   ============================================ */

.seo-footer {
  position: relative;
  z-index: 1;
  margin-top: 200px;
  padding: 50px 20px 100px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(38, 176, 255, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 15%, rgba(10, 18, 34, 0.98) 100%);
  border-top: 1px solid rgba(38, 176, 255, 0.2);
}

.seo-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #26b0ff), transparent);
}

.seo-footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.seo-section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-section:last-of-type {
  border-bottom: none;
}

.seo-footer h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #fff);
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3px;
}

.seo-footer h2::before {
  content: "";
  width: 3px;
  height: 18px;
  background: linear-gradient(180deg, var(--accent, #26b0ff), var(--accent-2, #3fe6ff));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(38, 176, 255, 0.4);
}

.seo-footer h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #8899aa);
  margin: 0 0 15px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seo-footer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted, #8899aa);
  margin: 0 0 12px 0;
}

.seo-footer a {
  color: var(--accent, #26b0ff);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.seo-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.seo-footer strong {
  color: var(--text, #fff);
}

.seo-footer em {
  color: var(--accent-2, #3fe6ff);
  font-style: normal;
}

/* How to play - ordered list */
.seo-howto ol {
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-howto ol li {
  position: relative;
  padding: 12px 16px 12px 50px;
  font-size: 13px;
  color: var(--muted, #8899aa);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.seo-howto ol li:hover {
  background: rgba(38, 176, 255, 0.05);
  border-color: rgba(38, 176, 255, 0.15);
}

.seo-howto ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent, #26b0ff), var(--accent-2, #3fe6ff));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #0a1222;
  box-shadow: 0 2px 8px rgba(38, 176, 255, 0.3);
}

/* Features list */
.seo-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.seo-features ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted, #8899aa);
  transition: all 0.2s ease;
}

.seo-features ul li:hover {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.08), rgba(38, 176, 255, 0.03));
  border-color: rgba(38, 176, 255, 0.2);
  transform: translateX(3px);
}

.seo-features ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent, #26b0ff);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent, #26b0ff);
}

/* FAQ */
.seo-faq details {
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.seo-faq details:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(38, 176, 255, 0.15);
}

.seo-faq details[open] {
  background: rgba(38, 176, 255, 0.05);
  border-color: rgba(38, 176, 255, 0.2);
}

.seo-faq summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #fff);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::before {
  content: "?";
  font-size: 12px;
  font-weight: 700;
  color: #0a1222;
  background: var(--accent, #26b0ff);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.seo-faq details[open] summary::before {
  content: "!";
  background: linear-gradient(135deg, var(--accent, #26b0ff), var(--accent-2, #3fe6ff));
  box-shadow: 0 0 10px rgba(38, 176, 255, 0.5);
}

.seo-faq details p {
  padding: 0 18px 14px 50px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Links navigation */
.seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.seo-nav a {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.seo-nav a:hover {
  background: rgba(38, 176, 255, 0.2);
  text-decoration: none;
}

/* Keywords tags */
.seo-keywords {
  opacity: 0.9;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.seo-tags span {
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.08), rgba(38, 176, 255, 0.03));
  border: 1px solid rgba(38, 176, 255, 0.15);
  border-radius: 20px;
  font-size: 11px;
  color: var(--muted, #8899aa);
  transition: all 0.2s ease;
  cursor: default;
}

.seo-tags span:hover {
  background: linear-gradient(135deg, rgba(38, 176, 255, 0.15), rgba(38, 176, 255, 0.08));
  border-color: rgba(38, 176, 255, 0.3);
  color: var(--text, #fff);
  transform: translateY(-1px);
}

/* Copyright */
.seo-copyright {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
}

.seo-copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 176, 255, 0.3), transparent);
}

.seo-copyright p {
  margin: 8px 0;
  font-size: 13px;
}

.seo-copyright a {
  background: linear-gradient(90deg, var(--accent, #26b0ff), var(--accent-2, #3fe6ff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.seo-disclaimer {
  font-size: 11px !important;
  opacity: 0.5;
  font-style: italic;
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
  .seo-footer {
    padding: 40px 15px 130px;
    margin-top: 150px;
  }

  .seo-footer h2 {
    font-size: 16px;
  }

  .seo-features ul {
    grid-template-columns: 1fr;
  }

  .seo-spoiler-toggle {
    padding: 14px 18px;
    font-size: 14px;
  }

  .seo-spoiler-content {
    padding: 5px 18px 18px;
  }

  .seo-tags span {
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .seo-footer {
    padding: 30px 12px 140px;
    margin-top: 120px;
  }

  .seo-footer h2 {
    font-size: 15px;
  }

  .seo-footer p,
  .seo-howto ol li,
  .seo-features ul li {
    font-size: 12px;
  }

  .seo-spoiler {
    border-radius: 12px;
  }

  .seo-spoiler-toggle {
    padding: 12px 14px;
    font-size: 13px;
  }

  .seo-faq summary {
    font-size: 13px;
    padding: 12px 14px;
  }

  .seo-faq details p {
    padding: 0 14px 12px 46px;
    font-size: 12px;
  }

  .seo-howto ol li {
    padding: 10px 12px 10px 44px;
  }

  .seo-howto ol li::before {
    left: 10px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .seo-tags {
    gap: 6px;
  }
}
