/* ===== PLAYNORAA THEME ===== */

:root {
  --bg: #080912;
  --surface: #111321;
  --surface-light: #191c30;
  --purple: #9147ff;
  --blue: #36a5ff;
  --text: #f5f5ff;
  --muted: #9295aa;
  --border: rgba(255,255,255,0.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVBAR */

.navbar {
  height: 76px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(8,9,18,0.95);
}

.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span {
  color: var(--purple);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions select {
  background: var(--surface);
  color: white;
  border: 1px solid var(--border);
  padding: 9px;
  border-radius: 8px;
}

.login-btn {
  background: transparent;
  color: white;
  border: 1px solid var(--purple);
  padding: 10px 19px;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 490px;
  padding: 90px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, #25134d 0%, transparent 45%),
    linear-gradient(120deg, #0c0d1b, #101126);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -3px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--purple);
  text-shadow: 0 0 30px rgba(145,71,255,0.5);
}

.hero-description {
  color: var(--muted);
  line-height: 1.8;
  margin: 23px 0 30px;
  max-width: 390px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(100deg, var(--purple), #5d68ff);
  color: white;
  padding: 15px 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(115,67,255,0.25);
  transition: 0.25s;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(115,67,255,0.45);
}

.hero-decoration {
  width: 330px;
  height: 330px;
  position: relative;
  display: grid;
  place-items: center;
}

.glow-orb {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: linear-gradient(135deg, #792cff, #176dff);
  filter: blur(65px);
  opacity: 0.45;
}

.hero-symbol {
  position: relative;
  font-size: 250px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  text-shadow: 0 0 45px rgba(145,71,255,0.35);
}

/* SECTIONS */

.section {
  padding: 65px 8%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 28px;
}

.view-all {
  color: var(--blue);
  font-size: 13px;
}

/* GAME CARDS */

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  transition: 0.25s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 12px 35px rgba(95,55,200,0.18);
}

.game-art {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.chess-art {
  background: radial-gradient(circle, #54328d, #17142c);
}

.puzzle-art {
  background: radial-gradient(circle, #155b85, #111a31);
}

.card-art {
  background: radial-gradient(circle, #81346f, #24152f);
}

.game-icon {
  font-size: 85px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.game-tag {
  position: absolute;
  bottom: 13px;
  left: 15px;
  font-size: 10px;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.35);
  padding: 7px 10px;
  border-radius: 5px;
}

.game-info {
  padding: 18px;
}

.game-info h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.game-info p {
  font-size: 12px;
  color: var(--muted);
}

/* CATEGORIES */

.categories {
  padding-top: 20px;
  padding-bottom: 80px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.category-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 15px;
  text-align: center;
  color: var(--muted);
  transition: 0.25s;
}

.category-item span {
  display: block;
  color: var(--purple);
  font-size: 27px;
  margin-bottom: 10px;
}

.category-item:hover {
  color: white;
  border-color: var(--purple);
  background: var(--surface-light);
}

/* FOOTER */

.footer {
  padding: 30px 8%;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer p {
  font-size: 12px;
  color: var(--muted);
}