/* ============================================
   UMBRAVORA – Mobile Game Reviews
   Aesthetic: Dark editorial with neon accents
   Fonts: Syne (display) + DM Sans (body)
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(130, 80, 255, 0.3);
  --text: #f0eeff;
  --text-muted: #8b89a8;
  --text-dim: #5a5873;
  --accent: #8250ff;
  --accent-2: #ff4fad;
  --accent-3: #4fffb0;
  --gold: #ffd700;
  --ios: #007aff;
  --android: #01875f;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(130, 80, 255, 0.15);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* Make sure overlays never prevent clicking links (especially on file:// vs hosted). */
#cookieModal { pointer-events: auto !important; }
a.store-btn { pointer-events: auto !important; }

/* ── COOKIE CONSENT ── */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.4s ease both;
}

.cookie-overlay.hidden {
  display: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(130, 80, 255, 0.2), var(--shadow);
  animation: modal-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modal-up {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.cookie-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cookie-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cookie-btn-accept {
  flex: 1;
  background: var(--accent);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(130, 80, 255, 0.35);
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(130, 80, 255, 0.55);
}

.cookie-btn-decline {
  flex: 1;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text);
}

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.logo-icon {
  color: var(--accent);
  font-size: 22px;
  animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8250ff, transparent);
  top: -200px;
  left: -200px;
  animation: drift-1 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff4fad, transparent);
  bottom: 0;
  right: -100px;
  animation: drift-2 10s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #4fffb0, transparent);
  top: 40%;
  left: 50%;
  opacity: 0.15;
  animation: drift-3 14s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -20px); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 80, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 80, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  border: 1px solid rgba(79, 255, 176, 0.3);
  background: rgba(79, 255, 176, 0.06);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 8vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all 0.25s;
  box-shadow: 0 0 40px rgba(130, 80, 255, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(130, 80, 255, 0.6);
}

/* Hero floating emojis */
.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  font-size: 40px;
  opacity: 0.15;
  animation: float-anim 6s ease-in-out infinite;
}

.f1 { top: 20%; right: 15%; animation-delay: 0s; }
.f2 { top: 60%; right: 8%; animation-delay: 1s; font-size: 50px; }
.f3 { top: 30%; right: 35%; animation-delay: 2s; }
.f4 { bottom: 20%; right: 25%; animation-delay: 0.5s; }
.f5 { top: 55%; right: 50%; animation-delay: 1.5s; font-size: 30px; }

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

/* ── SECTIONS ── */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(130, 80, 255, 0.1);
  border: 1px solid rgba(130, 80, 255, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── TOP 10 ── */
.top10-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.top10-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top10-card {
  position: relative;
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.top10-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(130, 80, 255, 0.04), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.top10-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.top10-card:hover::before { opacity: 1; }

.rank-1 {
  border-color: rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, #13131f, #1a1500);
}

.rank-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--text-dim);
}

.rank-1 .rank-badge {
  color: var(--gold);
  font-size: 15px;
}

.game-visual {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.game-info {
  flex: 1;
  min-width: 0;
}

.game-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.game-genre {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(130, 80, 255, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: -1px;
}

.stars em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.game-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.game-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.store-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.2s;
}

.store-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.store-btn.ios {
  background: rgba(0, 122, 255, 0.12);
  color: #60aaff;
  border: 1px solid rgba(0, 122, 255, 0.25);
}

.store-btn.ios:hover {
  background: rgba(0, 122, 255, 0.22);
  border-color: rgba(0, 122, 255, 0.5);
}

.store-btn.android {
  background: rgba(1, 135, 95, 0.12);
  color: #4fffb0;
  border: 1px solid rgba(1, 135, 95, 0.25);
}

.store-btn.android:hover {
  background: rgba(1, 135, 95, 0.22);
  border-color: rgba(1, 135, 95, 0.5);
}

/* ── SPOTLIGHT / DEEP REVIEW ── */
.spotlight-section {
  background: var(--bg-2);
}

.review-deep {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.review-cover {
  border-radius: var(--radius-lg);
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.review-cover-info { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.big-rating {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.big-stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
}

.review-verdict {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(79, 255, 176, 0.1);
  border: 1px solid rgba(79, 255, 176, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 8px;
}

.review-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-card);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stat-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.score-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.score-breakdown h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.score-row span {
  width: 140px;
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.score-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 100px;
  animation: bar-grow 1.2s ease both;
}

@keyframes bar-grow {
  from { width: 0 !important; }
}

.score-row em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  width: 32px;
  text-align: right;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pros, .cons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pros { border-color: rgba(79, 255, 176, 0.15); }
.cons { border-color: rgba(255, 79, 100, 0.15); }

.pros h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-3);
  margin-bottom: 14px;
}

.cons h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff6b8a;
  margin-bottom: 14px;
}

.pros li, .cons li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  list-style: none;
  padding-left: 0;
}

.reviewer-verdict {
  background: linear-gradient(135deg, rgba(130, 80, 255, 0.08), rgba(255, 79, 173, 0.06));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -16px;
}

.reviewer-verdict p {
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.reviewer {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ── RATING SECTION ── */
.rating-section { background: var(--bg); }

.rating-explainer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.rating-explainer h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.rating-explainer > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.rating-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s;
}

.pillar:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.pillar-icon { font-size: 28px; }

.pillar strong {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar span {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ── ABOUT ── */
.about-section { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-tag { display: inline-block; }

.about-text h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0 24px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.big-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat > span:last-child {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 700px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .review-deep {
    grid-template-columns: 1fr;
  }

  .review-cover {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rating-pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .top10-card {
    flex-direction: column;
    gap: 16px;
  }

  .game-visual {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .rank-badge {
    top: 12px;
    right: 16px;
  }

  .rating-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .score-row span { width: 110px; font-size: 12px; }

  .review-cover {
    flex-direction: column;
    text-align: center;
  }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links { flex-wrap: wrap; }
}
