:root {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --accent-purple-start: #8b5cf6;
  --accent-purple-end: #a855f7;
  --accent-green-start: #22c55e;
  --accent-green-end: #4ade80;
  --glow-purple: rgba(139, 92, 246, 0.35);
  --glow-green: rgba(34, 197, 94, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --sidebar-width-collapsed: 90px;
  --sidebar-width-expanded: 240px;
  --gradient-purple: linear-gradient(135deg, #8b5cf6, #a855f7);
  --gradient-green: linear-gradient(135deg, #22c55e, #4ade80);
  --gradient-mixed: linear-gradient(135deg, #8b5cf6, #4ade80);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================== LAYOUT ===================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  margin-left: var(--sidebar-width-collapsed);
  flex: 1;
  min-width: 0;
  transition: margin-left var(--transition);
}

.sidebar:hover ~ .main-content {
  margin-left: var(--sidebar-width-expanded);
}

/* ===================== SIDEBAR ===================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-width-collapsed);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-right: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width var(--transition);
  overflow: hidden;
}

.sidebar:hover {
  width: var(--sidebar-width-expanded);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--glass-border);
  min-height: 80px;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-logo-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--gradient-mixed);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 18px var(--glow-purple);
}

.sidebar-logo-text {
  font-size: 13px;
  font-weight: 700;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.sidebar:hover .sidebar-logo-text {
  opacity: 1;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
  width: 3px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--accent-purple-start);
  border-radius: 2px;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 12px 0 8px 28px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.sidebar:hover .nav-section-label {
  opacity: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  color: var(--text-secondary);
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gradient-mixed);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-item:hover,
.nav-item.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
}

.nav-item:hover::before,
.nav-item.active::before {
  opacity: 1;
}

.nav-item.active {
  background: rgba(139, 92, 246, 0.18);
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.08);
}

.nav-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-item.active .nav-icon {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 14px var(--glow-purple);
}

.nav-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.sidebar:hover .nav-label {
  opacity: 1;
}

.sidebar-bottom {
  padding: 16px 0;
  border-top: 1px solid var(--glass-border);
}

/* Mobile toggle */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  background: var(--gradient-purple);
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 18px var(--glow-purple);
  transition: box-shadow var(--transition);
}

.mobile-menu-btn:hover {
  box-shadow: 0 0 28px var(--glow-purple);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 120px 48px 80px;
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.96) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(2, 6, 23, 0.9) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 6px;
  height: 6px;
  background: var(--accent-purple-start);
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  box-shadow: 0 0 12px var(--accent-purple-start);
}

.particle:nth-child(2) {
  width: 4px;
  height: 4px;
  background: var(--accent-green-start);
  top: 60%;
  left: 25%;
  animation-delay: 2s;
  box-shadow: 0 0 10px var(--accent-green-start);
}

.particle:nth-child(3) {
  width: 8px;
  height: 8px;
  background: var(--accent-purple-end);
  top: 35%;
  left: 70%;
  animation-delay: 4s;
  box-shadow: 0 0 16px var(--accent-purple-end);
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  background: var(--accent-green-end);
  top: 75%;
  left: 60%;
  animation-delay: 1s;
  box-shadow: 0 0 12px var(--accent-green-end);
}

.particle:nth-child(5) {
  width: 3px;
  height: 3px;
  background: var(--accent-purple-start);
  top: 50%;
  left: 45%;
  animation-delay: 3s;
  box-shadow: 0 0 8px var(--accent-purple-start);
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  background: var(--accent-green-start);
  top: 10%;
  left: 80%;
  animation-delay: 5s;
  box-shadow: 0 0 14px var(--accent-green-start);
}

.hero-streak {
  position: absolute;
  height: 1px;
  background: var(--gradient-mixed);
  opacity: 0.3;
  animation: streak-slide 6s ease-in-out infinite;
}

.hero-streak:nth-child(7) {
  width: 200px;
  top: 30%;
  left: -200px;
  animation-delay: 0s;
}

.hero-streak:nth-child(8) {
  width: 150px;
  top: 65%;
  left: -150px;
  animation-delay: 3s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  animation: fade-in-up 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-purple-end);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green-start);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title-line1 {
  display: block;
  color: var(--text-primary);
}

.hero-title-line2 {
  display: block;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-legal {
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  animation: fade-in-right 0.8s 0.3s ease both;
}

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.25), 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 6, 23, 0.7) 0%,
    transparent 60%
  );
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-image-badge-icon {
  font-size: 24px;
}

.hero-image-badge-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-image-badge-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 80px 48px;
}

.section-alt {
  background: var(--bg-secondary);
}

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

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-green-start);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title span {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ===================== STATS ROW ===================== */
.stats-row {
  padding: 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(22px);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-mixed);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--glow-purple);
}

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

.stat-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

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

/* ===================== GAME SECTION ===================== */
.game-section {
  max-width: 1200px;
  margin: 0 auto;
}

.game-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.game-frame-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 40px var(--glow-purple), 0 20px 60px rgba(0, 0, 0, 0.5);
  background: var(--bg-secondary);
}

.game-frame-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--glass-border);
}

.game-frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.game-frame-dot:nth-child(1) { background: #ef4444; }
.game-frame-dot:nth-child(2) { background: #f59e0b; }
.game-frame-dot:nth-child(3) { background: #22c55e; }

.game-frame-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.game-iframe-container {
  position: relative;
  width: 100%;
  height: 480px;
  background: var(--bg-primary);
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-info {
  padding: 8px 0;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green-start);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.game-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.game-title span {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.game-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.game-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.game-feature-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent-green-start);
}

.game-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===================== FEATURES GRID ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  backdrop-filter: blur(22px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--gradient-mixed);
  opacity: 0;
  transition: opacity var(--transition);
  filter: blur(30px);
  transform: translateY(50%);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-card:hover::after {
  opacity: 0.15;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon-wrap.purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 20px var(--glow-purple);
}

.feature-icon-wrap.green {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 20px var(--glow-green);
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===================== IMAGE SHOWCASE ===================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
}

.showcase-item.large {
  grid-row: span 2;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 200px;
}

.showcase-item.large img {
  min-height: 440px;
}

.showcase-item:hover img {
  transform: scale(1.06);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(139, 92, 246, 0.5) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-overlay-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-title span {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-legal {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-mixed);
  color: white;
  box-shadow: 0 0 24px var(--glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--glow-purple), 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 20px var(--glow-purple);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 56px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-mixed);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-purple-end);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

/* ===================== GLASS CARD ===================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  padding: 80px 48px 48px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.page-header-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, var(--glow-purple) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-breadcrumb a {
  color: var(--accent-purple-end);
  transition: opacity var(--transition);
}

.page-breadcrumb a:hover {
  opacity: 0.8;
}

.page-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
}

/* ===================== CONTENT PAGES ===================== */
.content-section {
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.content-block h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  margin-top: 20px;
}

.content-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-block ul, .content-block ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.content-block ul li, .content-block ol li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.content-block ul {
  list-style: disc;
}

/* ===================== ABOUT PAGE ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: var(--gradient-mixed);
  box-shadow: 0 0 24px var(--glow-purple);
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--text-muted);
}

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

.value-card {
  padding: 28px;
}

.value-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  padding: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-info-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form-card {
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

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

/* ===================== RESPONSIBLE GAMING ===================== */
.rg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.rg-stat-card {
  padding: 28px 24px;
  text-align: center;
}

.rg-stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.rg-stat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rg-stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.warning-box-icon {
  font-size: 24px;
  min-width: 32px;
}

.warning-box-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.warning-box-text strong {
  color: #f87171;
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
  box-shadow: 0 0 60px var(--glow-purple);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.modal-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--gradient-mixed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.modal-step-text {
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 4px;
  line-height: 1.6;
}

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

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

@keyframes streak-slide {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(calc(100vw + 200px));
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--glow-purple);
  }
  50% {
    box-shadow: 0 0 40px var(--glow-purple), 0 0 60px var(--glow-green);
  }
}

.fade-in-up {
  animation: fade-in-up 0.7s ease both;
}

.glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

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

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

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

  .showcase-item.large {
    grid-row: span 1;
    grid-column: span 2;
  }

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

  .rg-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width-expanded);
    transition: transform var(--transition);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar-logo-text,
  .nav-label,
  .nav-section-label {
    opacity: 1;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }

  .main-content {
    margin-left: 0 !important;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .section {
    padding: 56px 24px;
  }

  .stats-row {
    padding: 40px 24px;
  }

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

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

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

  .showcase-item.large {
    grid-column: span 1;
  }

  .cta-section {
    padding: 72px 24px;
  }

  footer {
    padding: 48px 24px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-note {
    text-align: center;
  }

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

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

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

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

  .btn-lg {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .page-header {
    padding: 80px 24px 40px;
  }

  .content-section {
    padding: 48px 24px;
  }

  .game-iframe-container {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }
}