:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --accent: #4ade80;
  --accent-dark: #22c55e;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

#root {
  min-height: 100vh;
}

.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(74, 222, 128, 0.18), transparent),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.game-frame-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(74, 222, 128, 0.08);
  background: #000;
}

.game-frame-wrapper iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: none;
}

.video-frame-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(74, 222, 128, 0.08);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.video-placeholder__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.35) 72%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.video-placeholder__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  pointer-events: none;
}

.video-placeholder__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.video-placeholder__play .local-iconify {
  margin-left: 3px;
}

.video-placeholder__bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.video-placeholder__progress {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.video-placeholder__time {
  font-family: 'Roboto', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.video-placeholder__badge {
  position: absolute !important;
  top: 14px;
  left: 14px;
  background: rgba(10, 14, 23, 0.88) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
}

.local-iconify {
  flex-shrink: 0;
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  opacity: 0.12;
  color: var(--accent);
}

.float-1 { top: 12%; left: 8%; }
.float-2 { top: 22%; right: 12%; }
.float-3 { top: 48%; left: 4%; }
.float-4 { bottom: 28%; right: 8%; }
.float-5 { bottom: 14%; left: 18%; }

.game-frame-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 14, 23, 0.82);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quality-point {
  padding: 6px 0;
}

.feature-icon-wrap {
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.08);
}

.MuiChip-icon {
  margin-left: 8px !important;
  margin-right: -2px !important;
}

.MuiButton-startIcon .local-iconify {
  margin-right: 0;
}

@media (max-width: 900px) {
  .game-frame-wrapper iframe {
    height: 56vw;
    min-height: 320px;
    max-height: 480px;
  }
}
