
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #121826;
  --bg-tertiary: #1a2332;
  --accent-primary: #ff6b35;
  --accent-secondary: #5865f2;
  --accent-glow: rgba(255, 107, 53, 0.3);
  --text-primary: #e8eaed;
  --text-secondary: #9ba3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(88, 101, 242, 0.15);
}

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

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(88, 101, 242, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Animated background grid */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
h1 {
  /* font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  margin-bottom: 48px;
  letter-spacing: -0.02em; */
  position: relative;
  text-align: center;
  /* animation: slideDown 0.8s ease-out;
  text-shadow: 0 0 80px var(--accent-glow); */
}

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

h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  border-radius: 2px;
}

/* Game iframe container */
.game-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  margin: 48px 0;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.6s ease-out 0.2s both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.game-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--glow) 0%, transparent 50%);
  pointer-events: none;
}

.game-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
  display: block;
  background: #000;
}

/* Thumbnail */
.thumbnail {
  width: 100%;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px var(--accent-glow);
}

/* Headings */
h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 64px 0 24px 0;
  padding-left: 20px;
  border-left: 4px solid var(--accent-primary);
  letter-spacing: -0.01em;
  position: relative;
  animation: slideRight 0.6s ease-out;
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Table of Contents */
.table-of-contents {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.table-of-contents li {
  margin: 12px 0;
  padding-left: 24px;
  position: relative;
  transition: transform 0.2s ease;
}

.table-of-contents li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.table-of-contents li:hover, #similar li:has(a):hover {
  transform: translateX(4px);
}

.table-of-contents li:hover::before {
  transform: translateX(4px);
}

.table-of-contents a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.table-of-contents a:hover {
  color: var(--accent-primary);
}

/* Paragraphs */
p {
  color: var(--text-secondary);
  margin: 16px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 80ch;
}

/* Lists */
ul, ol {
  margin: 24px 0;
  padding-left: 28px;
  color: var(--text-secondary);
}

ul li, ol li {
  margin: 12px 0;
  line-height: 1.7;
  font-size: 1.05rem;
  position: relative;
}

ul li::marker {
  color: var(--accent-primary);
}

ol li::marker {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Code/Strong elements */
strong {
  color: var(--text-primary);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95em;
  background: rgba(255, 107, 53, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* FAQ Section */
.faq {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.faq h3 {
  color: var(--accent-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.faq p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.faq p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Content sections */
section {
  margin: 48px 0;
  scroll-margin-top: 80px;
}

/* Cards for similar games */
.similar-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.game-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 20px var(--accent-glow);
}

/* Highlighted sections */
.highlight-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-secondary);
  border-radius: 12px;
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 6px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 24px 16px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .game-container {
    padding: 16px;
  }
  
  .game-container iframe {
    height: 400px;
  }
  
  .table-of-contents {
    padding: 20px;
  }
}

/* Section markers */
.section-marker {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Animated entrance for sections */
section {
  animation: fadeInUp 0.6s ease-out both;
}

section:nth-child(even) {
  animation-delay: 0.1s;
}

section:nth-child(odd) {
  animation-delay: 0.2s;
}

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



  /* Vote buttons */
 #like-btn { color: #22c55e; }     /* green */
#dislike-btn { color: #ef4444; }  /* red */
#fullScreen {color: #e5b60f}

.vote-buttons button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  border: 0px solid #e5e7eb;
  background: #23363efa;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;

}

.vote-buttons button:hover {
  background: #f9fafb;

}
.vote-buttons {
  display: flex;
  gap: 10px;

}

.rating-box{display: none;margin-top:10px;font-family:Arial}
.rating-score{font-weight:bold;margin-bottom:4px}
.rating-bar{width:100%;height:8px;background:#ddd;border-radius:10px;overflow:hidden}
#rating-fill{height:100%;width:0%;transition:width .4s ease;border-radius:10px}
.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.game-name { 
  font-size: 30px !important;
}

a {
  text-decoration: none;
  color: var(--accent-primary)
}
a: hover {
  transform: translateX(4px);
  transform: scale(2, 2);
}

#logo img {
  width: 120px;
}

 .media-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;

        }
 .video-container
         {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
            border: 2px solid rgba(255, 107, 107, 0.3);
           
        }
.video-container iframe {
  width: 100%;
  height: auto;
  border-radius: 13px;
  aspect-ratio: 16 / 9;
}

 .video-container h3,
       {
            margin-top: 0;
            margin-bottom: 15px;
            color: #ff6b6b;
            font-size: 1.3em;
        }
  
