.gry-page {
  padding-top: 0;
  background: linear-gradient(135deg, rgba(74, 138, 77, 0.05) 0%, rgba(255, 107, 53, 0.02) 100%);
  min-height: 100vh;
}

.game-hero {
  position: relative;
  background: linear-gradient(-45deg, #0f172a, #1e3a5f, #134e4a, #1e3a5f);
  background-size: 400% 400%;
  animation: heroGradientFlow 15s ease infinite;
  color: white;
  padding: 8rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
  overflow: hidden;
}

.game-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(74, 138, 77, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.game-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 70%);
  animation: heroRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes heroGradientFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes heroRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.game-hero h1 {
    font-family: 'Rajdhani', sans-serif;
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 0 80px rgba(74, 138, 77, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTextShine 3s ease-in-out infinite;
}

@keyframes heroTextShine {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 200% center;
  }
}

/* Hero Inner Layout */
.game-hero .hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.game-hero .hero-content {
  flex: 1;
  text-align: left;
}

.game-hero .hero-description {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  max-width: 560px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.game-hero .hero-description p {
  margin: 0;
}

.game-hero .hero-description ul,
.game-hero .hero-description ol {
  margin: 0.4em 0 0 1.2em;
  padding-left: 1.1em;
}

.game-hero .hero-description b,
.game-hero .hero-description strong {
  color: #fef9c3;
}

.game-hero .hero-description i,
.game-hero .hero-description em {
  color: #c7d2fe;
}

/* Hero Logo Styles */
.game-hero .hero-logo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.game-hero .hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(74, 138, 77, 0.6) 0%, rgba(99, 102, 241, 0.3) 40%, transparent 70%);
  filter: blur(40px);
  animation: logoGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.game-hero .hero-logo {
  position: relative;
  width: 200px;
  height: 200px;
  object-fit: contain;
  animation: logoFloat 6s ease-in-out infinite, logoMorph 8s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(74, 138, 77, 0.5)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.2));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-hero .hero-logo:hover {
  transform: scale(1.1) rotateY(15deg);
  filter: drop-shadow(0 0 50px rgba(74, 138, 77, 0.8)) drop-shadow(0 0 100px rgba(255, 255, 255, 0.4));
}

@keyframes logoGlowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }

  25% {
    transform: translateY(-15px) rotateY(5deg);
  }

  50% {
    transform: translateY(0) rotateY(0deg);
  }

  75% {
    transform: translateY(-10px) rotateY(-5deg);
  }
}

@keyframes logoMorph {

  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

.game-selector {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.game-tab {
  padding: 1rem 2.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.game-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.game-tab.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  color: #0f172a;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.game-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.game-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.game-container section h2 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

[data-theme="dark"] .game-container section h2 {
  color: #fff;
}

.description-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .description-section {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.description-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .description-section p {
  color: #ccc;
}

.description-section h1 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 2em;
  margin: 0.67em 0;
  font-weight: bold;
  color: var(--text-dark);
}

.description-section h2 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 1.5em;
  margin: 0.75em 0;
  font-weight: bold;
  color: var(--text-dark);
}

.description-section h3 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 1.17em;
  margin: 0.83em 0;
  font-weight: bold;
  color: var(--text-dark);
}

[data-theme="dark"] .description-section h1,
[data-theme="dark"] .description-section h2,
[data-theme="dark"] .description-section h3 {
  color: #fff;
}

.description-section ul,
.description-section ol {
  margin: 1rem 0;
  padding-left: 40px;
  color: var(--text-secondary);
}

[data-theme="dark"] .description-section ul,
[data-theme="dark"] .description-section ol {
  color: #ccc;
}

.description-section ul li,
.description-section ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.description-section ul {
  list-style-type: disc;
}

.description-section ol {
  list-style-type: decimal;
}

.description-section a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.description-section a:hover {
  color: #0052a3;
}

.description-section strong,
.description-section b {
  font-weight: 700;
}

.description-section em,
.description-section i {
  font-style: italic;
}

.description-section u {
  text-decoration: underline;
}

.screenshots-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .screenshots-section {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
  gap: 2rem;
  justify-content: center;
}

.screenshot-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.reviews-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .reviews-section {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: 2rem;
  justify-content: center;
}

.review-card {
  background: rgba(74, 138, 77, 0.08);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--light-green);
  transition: all 0.3s ease;
}

[data-theme="dark"] .review-card {
  background: rgba(74, 138, 77, 0.15);
}

.review-card:hover {
  box-shadow: 0 5px 20px rgba(74, 138, 77, 0.2);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-header h4 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

[data-theme="dark"] .review-header h4 {
  color: #fff;
}

.review-rating {
  display: flex;
  gap: 0.3rem;
}

.review-rating .star {
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .review-text {
  color: #bbb;
}

.requirements-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .requirements-section {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.requirements-box {
  background: rgba(74, 138, 77, 0.08);
  padding: 2rem;
  border-radius: 8px;
  border-top: 3px solid var(--light-green);
}

[data-theme="dark"] .requirements-box {
  background: rgba(74, 138, 77, 0.15);
}

.requirements-box h3 {
    font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  color: var(--light-green);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.requirements-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-box li {
  padding: 0.8rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
}

[data-theme="dark"] .requirements-box li {
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-box li:last-child {
  border-bottom: none;
}

.requirements-box strong {
  color: var(--text-dark);
  font-weight: 600;
}

[data-theme="dark"] .requirements-box strong {
  color: #fff;
}

.platform-section {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

[data-theme="dark"] .platform-section {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.platform-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

[data-theme="dark"] .platform-section p {
  color: #ccc;
}

.platform-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  background: var(--light-green);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(74, 138, 77, 0.3);
}

.platform-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(74, 138, 77, 0.4);
  background: var(--accent-orange);
}

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

  .game-hero .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .game-hero .hero-content {
    text-align: center;
  }

  .game-hero .hero-logo {
    width: 150px;
    height: 150px;
  }

  .game-hero .hero-logo-glow {
    width: 200px;
    height: 200px;
  }

  .game-selector {
    gap: 1rem;
  }

  .game-tab {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .game-container {
    gap: 2rem;
  }

  .game-container section {
    padding: 2rem !important;
  }

  .game-container section h2 {
    font-size: 1.5rem;
  }

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

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

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