* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
  color: #e8e8f0;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: #667eea; text-decoration: none; transition: all 0.3s; }
a:hover { color: #f093fb; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }
nav { display: flex; gap: 5px; }
nav a { color: #a0a0b8; padding: 8px 14px; border-radius: 20px; }
nav a:hover { color: #fff; background: rgba(102, 126, 234, 0.2); }

/* Game Section */
.game-section { padding: 30px 0 20px; text-align: center; }
h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #667eea, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Game Layout - 3 columns */
.game-layout { display: flex; gap: 15px; justify-content: center; align-items: flex-start; }

/* Game Sidebar */
.game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
}
.game-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px;
  background: linear-gradient(135deg, #252542, #1a1a2e);
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.game-thumb:hover { border-color: #667eea; transform: translateY(-2px); }
.game-thumb.active { border-color: #f093fb; background: linear-gradient(135deg, #3a3a5c, #252542); }
.game-thumb.empty { opacity: 0.5; cursor: default; min-height: 70px; }
.game-thumb.empty:hover { border-color: transparent; transform: none; }
.game-thumb.empty::before { content: '?'; font-size: 28px; margin-bottom: 5px; }
.game-thumb.empty::after { content: 'Coming Soon'; font-size: 10px; color: #a0a0b8; text-align: center; line-height: 1.2; }
.thumb-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8px;
  padding: 2px 5px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
}
.thumb-icon { font-size: 28px; margin-bottom: 5px; }
.thumb-name { font-size: 10px; color: #a0a0b8; text-align: center; line-height: 1.2; }

/* Main Game Area */
.game-main { flex: 1; max-width: 900px; }
.game-container {
  width: 100%;
  height: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #252542, #1a1a2e);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.game-container iframe { width: 100%; height: 100%; border: none; }
.game-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 0 5px;
}
.game-info {
  color: #a0a0b8;
  font-size: 0.85rem;
}
.game-actions {
  display: flex;
  gap: 8px;
}
.action-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #252542, #1a1a2e);
  color: #a0a0b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.action-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  transform: scale(1.05);
}

/* Content Sections */
h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
h2::before { content: ''; width: 4px; height: 22px; background: linear-gradient(135deg, #667eea, #f093fb); border-radius: 2px; }
h3 { font-size: 1.1rem; margin: 18px 0 10px; color: #e8e8f0; }
p { margin-bottom: 14px; color: #b0b0c8; }
.content-section {
  background: linear-gradient(135deg, rgba(37, 37, 66, 0.8), rgba(26, 26, 46, 0.8));
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
  border: 1px solid rgba(102, 126, 234, 0.15);
}
ul { margin-left: 20px; color: #b0b0c8; }
li { margin-bottom: 8px; }
li::marker { color: #667eea; }

/* Related Keywords */
.related-keywords { margin: 40px auto; text-align: center; }
.related-keywords h2 { justify-content: center; }
.related-keywords h2::before { display: none; }
.keyword-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 15px; }
.keyword-links a {
  background: linear-gradient(135deg, rgba(37, 37, 66, 0.9), rgba(26, 26, 46, 0.9));
  padding: 8px 18px;
  border-radius: 20px;
  color: #a0a0b8;
  font-size: 0.85rem;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.keyword-links a:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

/* Footer */
footer {
  background: rgba(26, 26, 46, 0.95);
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
  color: #a0a0b8;
  font-size: 0.85rem;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
}

/* Mobile */
@media (max-width: 900px) {
  .game-layout { flex-wrap: wrap; }
  .game-sidebar { flex-direction: row; width: 100%; justify-content: center; order: 2; }
  .game-sidebar.left { order: 2; }
  .game-sidebar.right { order: 3; }
  .game-main { order: 1; width: 100%; max-width: 100%; }
  .game-thumb { width: 70px; padding: 8px 4px; }
  .thumb-icon { font-size: 22px; }
  .thumb-name { font-size: 9px; }
}
@media (max-width: 600px) {
  .game-container { height: 400px; }
  h1 { font-size: 2rem; }
  .game-sidebar { gap: 6px; }
  .game-thumb { width: 55px; }
}