/* =====================================================
   DeepWaterPlay.info - Main Stylesheet
   ===================================================== */

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

:root {
  --primary: #0a2850;
  --secondary: #00b4d8;
  --accent: #f77f00;
  --light: #e8f4f8;
  --dark: #061a35;
  --text: #1a2e40;
  --text-light: #5a7a8a;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border: #cce0ec;
  --success: #28a745;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

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

ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #e06e00;
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #0096b7;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- Header / Navigation --- */
#site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.logo-text span {
  color: var(--secondary);
}

.logo-tagline {
  font-size: 0.7rem;
  color: #8ab4c8;
  font-weight: 400;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: #c8dce8;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--secondary);
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}

.nav-cta:hover {
  background: #e06e00 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 20px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  font-size: 1.1rem;
  color: #b8d4e4;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary);
  padding: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #8ab4c8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Section Padding --- */
.section-pad {
  padding: 70px 0;
}

.section-pad-sm {
  padding: 40px 0;
}

.bg-light {
  background: var(--light);
}

.bg-dark {
  background: var(--dark);
}

/* --- Game Cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.game-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}

.game-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.game-card-body {
  padding: 20px;
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.game-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: #e0f4fb;
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-rating {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.game-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.game-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.game-platform {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Featured Game Detail --- */
.featured-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.featured-game-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.featured-game-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.featured-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.featured-game-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.featured-game-info p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.7;
}

.feature-list {
  margin: 20px 0;
}

.feature-list li {
  padding: 6px 0;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: '🎣';
  font-size: 0.9rem;
}

.rating-stars {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 6px;
}

/* --- Spin Wheel Section --- */
.wheel-section {
  background: linear-gradient(135deg, #061a35 0%, #0a2850 60%, #0d3a6e 100%);
  padding: 70px 0;
  overflow: hidden;
}

.wheel-section .section-title {
  color: var(--white);
}

.wheel-section .section-subtitle {
  color: #8ab4c8;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.wheel-wrapper {
  position: relative;
  display: inline-block;
}

#spin-canvas {
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,180,216,0.4));
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 36px solid var(--accent);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  z-index: 10;
}

.wheel-controls {
  text-align: center;
}

#spin-btn {
  font-size: 1.2rem;
  padding: 16px 48px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), #ff9a00);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(247,127,0,0.4);
  transition: transform 0.15s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#spin-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 10px 32px rgba(247,127,0,0.55);
}

#spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wheel-result {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wheel-result-fish {
  font-size: 3rem;
  margin-bottom: 6px;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wheel-result-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  animation: slideUp 0.3s ease;
}

.wheel-result-desc {
  font-size: 0.95rem;
  color: #8ab4c8;
  margin-top: 4px;
  animation: slideUp 0.35s ease;
}

.wheel-score-board {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
  min-width: 200px;
}

.wheel-score-board h4 {
  color: #8ab4c8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.wheel-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.wheel-score-label {
  font-size: 0.85rem;
  color: #8ab4c8;
}

.wheel-catches-list {
  margin-top: 14px;
  max-height: 120px;
  overflow-y: auto;
}

.catch-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #c8dce8;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* --- Newsletter / CTA --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--secondary), #0077a8);
  padding: 60px 0;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #e06e00;
}

.form-success-msg {
  display: none;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
}

/* --- Reviews / Testimonials --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}

.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.review-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #e0f4fb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-detail-text span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.09);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text);
  background: #f8fbfd;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form-submit-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.contact-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: #8ab4c8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--border);
}

/* --- Policy Pages --- */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px;
}

.policy-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.policy-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 30px 0 12px;
}

.policy-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.policy-content ul li {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.policy-content a {
  color: var(--secondary);
  text-decoration: underline;
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 18px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: #b8d4e4;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.cookie-accept:hover {
  background: #0096b7;
}

.cookie-decline {
  background: transparent;
  color: #8ab4c8;
  border: 1px solid #8ab4c8;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.cookie-decline:hover {
  background: rgba(255,255,255,0.08);
}

/* --- Footer --- */
#site-footer {
  background: var(--dark);
  color: #8ab4c8;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6a8ea0;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #6a8ea0;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #4a6a7a;
}

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

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #4a6a7a;
  transition: color 0.2s;
}

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

.age-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #4a6a7a;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-content h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

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

.value-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Games Detail Page --- */
.game-detail-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.game-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,26,53,0.9) 0%, rgba(6,26,53,0.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.game-detail-title h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.game-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.badge-genre { background: var(--secondary); color: var(--white); }
.badge-platform { background: var(--primary); color: var(--white); }
.badge-rating { background: var(--accent); color: var(--white); }

.game-detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 50px 0;
}

.game-detail-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
}

.game-detail-main p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.game-detail-main ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.game-detail-main ul li {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.game-sidebar-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.game-sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-info-row:last-child { border-bottom: none; }

.sidebar-info-row span:first-child {
  color: var(--text-light);
  font-weight: 500;
}

.sidebar-info-row span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.score-bar-wrap {
  margin-bottom: 12px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.score-bar-label span:first-child { color: var(--text-light); }
.score-bar-label span:last-child { color: var(--primary); font-weight: 700; }

.score-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 4px;
  transition: width 1s ease;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .featured-game,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .hamburger {
    display: flex;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .wheel-wrapper {
    transform: scale(0.85);
    transform-origin: center top;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
