/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Orbitron:wght@600;800;900&display=swap');

/* Variables */
:root {
  --bg-primary: #060609;
  --bg-secondary: #0e0e16;
  --bg-card: rgba(20, 20, 30, 0.6);
  --bg-card-hover: rgba(30, 30, 45, 0.85);
  
  --accent-gold: #ffb300;
  --accent-gold-rgb: 255, 179, 0;
  --accent-purple: #9d4edd;
  --accent-purple-rgb: 157, 78, 221;
  --accent-cyan: #00f2fe;
  --accent-cyan-rgb: 0, 242, 254;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #62627a;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Orbitron', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --border-glow: 1px solid rgba(255, 255, 255, 0.08);
  --border-glow-active: 1px solid rgba(157, 78, 221, 0.4);
  
  --glass-blur: blur(16px);
  --box-shadow-neon: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #252538;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Glassmorphism Classes */
.glass {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-glow);
  box-shadow: var(--box-shadow-neon);
}

/* Glow Elements */
.glow-text-gold {
  text-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.5);
}
.glow-text-purple {
  text-shadow: 0 0 10px rgba(var(--accent-purple-rgb), 0.5);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 24px 0;
  background: rgba(6, 6, 9, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.header.scrolled {
  padding: 14px 0;
  background: rgba(6, 6, 9, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--accent-gold);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width var(--transition-fast);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Header Controls (Language + Join Btn) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: 0 0 8px rgba(157, 78, 221, 0.4);
}

.btn-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6f2dbd 100%);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5), 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.15) 0%, rgba(0, 0, 0, 0) 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: linear-gradient(rgba(6, 6, 9, 0.5) 0%, rgba(6, 6, 9, 0.95) 100%), url('assets/hero_studio_bg.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 10;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, #c8c8d8 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-purple);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-secondary);
}

/* Games Section */
.games-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
  color: var(--text-primary);
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.game-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
}

.game-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform var(--transition-slow);
}

.game-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 6, 9, 0) 30%, rgba(6, 6, 9, 0.95) 90%);
  z-index: 2;
  transition: opacity var(--transition-normal);
}

.game-card-content {
  position: relative;
  z-index: 3;
  transform: translateZ(30px);
  transition: transform var(--transition-normal);
}

.game-genre {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-block;
}

.game-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.game-desc {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.game-platforms {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.game-platforms i {
  transition: color var(--transition-fast);
}

.btn-game-learn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-game-learn:hover {
  color: var(--text-primary);
}

/* Hover effects for game card */
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(157, 78, 221, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(157, 78, 221, 0.1);
}

.game-card:hover .game-card-bg {
  transform: scale(1.08);
}

.game-card:hover .game-desc {
  opacity: 1;
  max-height: 80px;
  margin-bottom: 8px;
}

.game-card:hover .game-meta {
  opacity: 1;
  transform: translateY(0);
}

/* About Us Section */
.about {
  background: radial-gradient(circle at 10% 30%, rgba(157, 78, 221, 0.05) 0%, rgba(0,0,0,0) 50%);
}

.about-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-content {
  flex: 1;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  padding: 24px;
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  flex: 1;
  position: relative;
}

.visual-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--box-shadow-neon);
  border: var(--border-glow);
}

.visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.3) 0%, rgba(0, 242, 254, 0.1) 100%);
  mix-blend-mode: color;
}

/* Careers Section */
.careers {
  background: radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.05) 0%, rgba(0,0,0,0) 50%);
}

.jobs-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.job-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(20, 20, 30, 0.4);
}

.job-title-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.job-meta-tags {
  display: flex;
  gap: 12px;
}

.job-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.job-arrow {
  color: var(--text-secondary);
  transition: transform var(--transition-fast);
}

.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(14, 14, 22, 0.6);
  padding: 0 24px;
}

.job-body-content {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.job-desc-section {
  margin-bottom: 20px;
}

.job-desc-section h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-desc-section ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.job-desc-section li {
  margin-bottom: 6px;
}

.btn-job-apply {
  margin-top: 12px;
}

/* Accordion Active States */
.job-card.active {
  border-color: rgba(157, 78, 221, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.job-card.active .job-header {
  background: rgba(20, 20, 30, 0.6);
}

.job-card.active .job-arrow {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.job-card.active .job-body {
  max-height: 1000px;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: var(--border-glow);
  transition: all var(--transition-normal);
}

.news-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.news-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-news-read {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-purple);
  transition: color var(--transition-fast);
}

/* News hover states */
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 78, 221, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-card:hover .news-card-title {
  color: var(--accent-purple);
}

.news-card:hover .btn-news-read {
  color: var(--text-primary);
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.newsletter-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, rgba(157, 78, 221, 0.2) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.newsletter-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition-fast);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0 28px;
  background: var(--accent-purple);
  border-radius: 30px;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.newsletter-btn:hover {
  background: #aa40e6;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

.form-message {
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
  min-height: 20px;
}

.form-message.success {
  color: var(--accent-cyan);
}

.form-message.error {
  color: #ff5555;
}

/* Footer Styles */
.footer {
  background: var(--bg-primary);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  grid-column: span 1.5;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-purple);
  color: var(--text-primary);
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
  transform: translateY(-2px);
}

.footer-nav-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--accent-purple);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-bottom-links a {
  transition: color var(--transition-fast);
}

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

/* Subpages: Terms & Privacy Layout */
.policy-page {
  padding-top: 160px;
  padding-bottom: 120px;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(157, 78, 221, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
}

.policy-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.policy-toc {
  width: 280px;
  position: sticky;
  top: 120px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 12px;
}

.policy-toc-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.policy-toc ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-toc a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: block;
}

.policy-toc a:hover,
.policy-toc a.active {
  color: var(--accent-purple);
  padding-left: 6px;
  border-left: 2px solid var(--accent-purple);
}

.policy-content {
  flex: 1;
}

.policy-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.policy-update-time {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: block;
}

.policy-text h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.policy-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.policy-text ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.policy-text li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-highlight-box {
  padding: 24px;
  border-radius: 12px;
  background: rgba(157, 78, 221, 0.05);
  border-left: 4px solid var(--accent-purple);
  margin: 30px 0;
}

.policy-highlight-box p {
  margin-bottom: 0;
  color: #c9a4e9;
  font-weight: 500;
}

/* Lightbox Modal styles (if needed) */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 9, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 24px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--text-primary);
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-row {
    flex-direction: column;
    gap: 40px;
  }
  .about-visual {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 100px 40px;
    align-items: flex-start;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right var(--transition-normal);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .header-controls {
    margin-right: 40px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .games-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .policy-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .policy-toc {
    display: none; /* Hide TOC on mobile */
  }
}
