.game-main {
  background: var(--paper);
}

.game-header-section {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, var(--ink-1000) 0%, var(--ink-900) 100%);
  border-bottom: 4px solid var(--gold);
}

.game-title {
  font-family: var(--font-display);
  font-size: 56px;
  text-align: center;
  color: #FFFFFF;
  text-shadow:
    3px 3px 0 var(--orange-fire),
    5px 5px 0 var(--violet-core);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.game-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  color: var(--ink-200);
}

.game-container-section {
  padding: 4rem 0;
  background: var(--ink-1000);
  position: relative;
}

.game-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.game-iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink-900);
  border: 8px solid var(--gold);
  border-radius: 40px;
  box-shadow:
    0 0 40px rgba(243, 198, 79, 0.4),
    0 15px 0 var(--orange-fire),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.age-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  border-radius: 50%;
  border: 5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-numeric);
  font-size: 32px;
  color: var(--ink-1000);
  font-weight: bold;
  box-shadow: 0 8px 0 var(--orange-fire);
  z-index: 100;
  opacity: 0.85;
  pointer-events: none;
}

.game-placeholder-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-loading {
  text-align: center;
  color: var(--ink-200);
}

.loading-gems {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.loading-gem {
  width: 60px;
  height: 60px;
  border-radius: 45% / 40%;
  animation: gemPulse 1.5s ease-in-out infinite;
}

.loading-gem:nth-child(1) {
  background: var(--gradient-violet);
  animation-delay: 0s;
}

.loading-gem:nth-child(2) {
  background: var(--gradient-aqua);
  animation-delay: 0.3s;
}

.loading-gem:nth-child(3) {
  background: var(--gradient-gold);
  animation-delay: 0.6s;
}

@keyframes gemPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px currentColor;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 40px currentColor;
  }
}

.game-loading p {
  font-size: 20px;
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.game-note {
  font-size: 14px;
  color: var(--ink-400);
  font-style: italic;
}

.game-details-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--ink-1000) 0%, var(--paper) 100%);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.gameplay-card {
  background: var(--ink-900);
  padding: 2.5rem;
  border-radius: 40% / 35%;
  border: 4px solid var(--violet-core);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.gameplay-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.gameplay-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(142, 91, 255, 0.6);
}

.gameplay-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px currentColor);
}

.gameplay-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.gameplay-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  text-align: center;
}

.game-features-highlight {
  background: var(--ink-900);
  padding: 3rem;
  border-radius: 30px;
  border: 4px solid var(--teal-neon);
  margin-bottom: 3rem;
  box-shadow: 0 0 30px rgba(30, 240, 193, 0.3);
}

.game-features-highlight h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--teal-neon);
  text-align: center;
  margin-bottom: 2rem;
}

.features-detailed-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.features-detailed-list li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-200);
  padding: 1.2rem 0;
  padding-left: 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--ink-700);
}

.features-detailed-list li::before {
  content: '💎';
  position: absolute;
  left: 0;
  font-size: 20px;
}

.features-detailed-list li:last-child {
  border-bottom: none;
}

.features-detailed-list strong {
  color: var(--amber-soft);
  font-weight: 700;
}

.game-reminder {
  background: linear-gradient(135deg, var(--violet-core) 0%, #6a3fb8 100%);
  padding: 2.5rem;
  border-radius: 30px;
  border: 4px solid var(--amber-soft);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  box-shadow: 0 10px 0 var(--orange-fire);
}

.reminder-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.reminder-content h4 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.reminder-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 968px) {
  .game-title {
    font-size: 42px;
  }

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

  .game-iframe-container {
    aspect-ratio: 16 / 11;
  }

  .age-overlay {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .game-title {
    font-size: 32px;
  }

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

  .game-iframe-container {
    aspect-ratio: 4 / 3;
    border-width: 4px;
  }

  .age-overlay {
    width: 50px;
    height: 50px;
    font-size: 20px;
    top: 10px;
    right: 10px;
  }

  .game-reminder {
    flex-direction: column;
    gap: 1rem;
  }

  .game-features-highlight {
    padding: 2rem 1.5rem;
  }
}