/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #4ecdc4;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #4ecdc4;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cccccc;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 150px;
}

.btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #4ecdc4;
  border: 2px solid #4ecdc4;
}

.btn-secondary:hover {
  background: #4ecdc4;
  color: #0a0a0a;
  transform: translateY(-3px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .gaming-icon {
  font-size: 15rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.3));
} */

/* Animations */
@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
  }
  to {
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.6),
      0 0 30px rgba(255, 107, 107, 0.3);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Section Styles */
.section-title {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Games Section */
.games-section {
  padding: 5rem 0;
  background: #1a1a1a;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(78, 205, 196, 0.1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(78, 205, 196, 0.1);
}

.game-image {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4ecdc4;
}

.game-card p {
  color: #cccccc;
  margin-bottom: 1rem;
}

.status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: #0a0a0a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat h3 {
  font-size: 2rem;
  color: #4ecdc4;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Code Block */
.code-block {
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.code-header {
  background: #2d2d2d;
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: #ff5f57;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #28ca42;
}

.code-content {
  padding: 1.5rem;
  font-family: "Courier New", monospace;
  color: #ffffff;
  font-size: 0.9rem;
  overflow-x: auto;
}

.keyword {
  color: #ff6b6b;
}
.function {
  color: #4ecdc4;
}
.variable {
  color: #45b7d1;
}
.string {
  color: #98d8c8;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: #1a1a1a;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #4ecdc4;
}

.contact-info p {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item .icon {
  font-size: 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: inherit;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 2rem 0;
  border-top: 1px solid rgba(78, 205, 196, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left h3 {
  font-family: "Orbitron", monospace;
  color: #4ecdc4;
  margin-bottom: 0.5rem;
}

.footer-left p,
.footer-right p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 3rem;
  }

  /* .gaming-icon {
    font-size: 10rem;
  } */

  .section-title {
    font-size: 2rem;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Navigation */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    padding: 0.5rem 2rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem 2rem 2rem;
    min-height: 100vh;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-width: 120px;
  }

  /* .gaming-icon {
    font-size: 6rem;
  } */

  /* Sections */
  .games-section,
  .about-section,
  .contact-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* Games Grid */
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .game-card {
    padding: 1.5rem;
  }

  .game-image {
    font-size: 3rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .stats {
    justify-content: space-around;
    gap: 1rem;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .code-content {
    font-size: 0.8rem;
    padding: 1rem;
  }

  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info h3 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  /* .gaming-icon {
    font-size: 4rem;
  } */

  .btn-primary,
  .btn-secondary {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    min-width: 100px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .game-card {
    padding: 1rem;
  }

  .game-image {
    font-size: 2.5rem;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .code-content {
    font-size: 0.7rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .game-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .game-card:active {
    transform: scale(0.98);
  }

  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.95);
  }
}
/* Existing styles remain the same... Add these new styles at the end */

/* Legal Pages Styles */
.legal-page {
  padding: 8rem 0 5rem;
  background: #0a0a0a;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header h1 {
  font-family: "Orbitron", monospace;
  font-size: 3rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.last-updated {
  color: #cccccc;
  font-size: 1rem;
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.legal-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(78, 205, 196, 0.1);
}

.legal-section h2 {
  font-family: "Orbitron", monospace;
  color: #4ecdc4;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(78, 205, 196, 0.3);
  padding-bottom: 0.5rem;
}

.legal-section h3 {
  color: #ff6b6b;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.legal-section p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
  color: #cccccc;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section .contact-info {
  background: rgba(78, 205, 196, 0.1);
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.legal-section .contact-info p {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

/* Footer Updates */
.footer-center {
  display: flex;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4ecdc4;
}

.logo a {
  text-decoration: none;
}

/* Mobile Responsive for Legal Pages */
@media (max-width: 768px) {
  .legal-page {
    padding: 6rem 0 3rem;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }

  .legal-section ul {
    margin-left: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .legal-header h1 {
    font-size: 1.8rem;
  }

  .legal-section {
    padding: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Replace the existing .gaming-icon styles with these */
.gaming-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.3));
}

.mobile-phone {
  width: 200px;
  height: 350px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 25px;
  position: relative;
  border: 3px solid #4ecdc4;
  box-shadow: 0 0 30px rgba(78, 205, 196, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 170px;
  height: 280px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 15px;
  position: absolute;
  top: 25px;
  left: 15px;
  border: 2px solid #333;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.game-elements {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: gamePlay 2s ease-in-out infinite alternate;
}

.game-character {
  font-size: 3rem;
  animation: bounce 1s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.5));
}

.game-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4ecdc4;
  border-radius: 50%;
  animation: dotBlink 1.5s ease-in-out infinite;
  box-shadow: 0 0 5px rgba(78, 205, 196, 0.8);
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

.game-score {
  font-family: "Orbitron", monospace;
  font-size: 0.7rem;
  color: #ff6b6b;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 107, 107, 0.8);
  letter-spacing: 1px;
}

.phone-button {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #4ecdc4, #3aa8a1);
  border-radius: 50%;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #333;
  box-shadow: inset 0 0 10px rgba(78, 205, 196, 0.3),
    0 0 15px rgba(78, 205, 196, 0.4);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes gamePlay {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

@keyframes dotBlink {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .mobile-phone {
    width: 150px;
    height: 260px;
  }

  .phone-screen {
    width: 130px;
    height: 210px;
    top: 20px;
    left: 10px;
  }

  .game-character {
    font-size: 2rem;
  }

  .game-score {
    font-size: 0.6rem;
  }

  .phone-button {
    width: 30px;
    height: 30px;
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .mobile-phone {
    width: 120px;
    height: 200px;
  }

  .phone-screen {
    width: 100px;
    height: 160px;
    top: 15px;
    left: 10px;
  }

  .game-character {
    font-size: 1.5rem;
  }

  .game-score {
    font-size: 0.5rem;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .phone-button {
    width: 25px;
    height: 25px;
    bottom: 8px;
  }
}
/* Web Games Grid */
.web-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.web-game-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: 15px;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.web-game-card:hover {
  transform: translateY(-8px);
}
.web-game-title {
  font-family: "Orbitron", monospace;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

canvas,
.game-2048 {
  background: #111;
  border: 2px solid #333;
  border-radius: 10px;
  margin: 0 auto 1.2rem;
  display: block;
}

/* 2048 specific */
.game-2048 {
  width: 320px;
  height: 320px;
  position: relative;
}

@media (max-width: 480px) {
  .web-games-grid {
    grid-template-columns: 1fr;
  }
  canvas,
  .game-2048 {
    width: 260px !important;
    height: 260px !important;
  }
}

/* Production Games Styles */
.production-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.production-game-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.production-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(78, 205, 196, 0.15);
  border-color: rgba(78, 205, 196, 0.4);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.production-game-title {
  font-family: "Orbitron", monospace;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.strategy {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}
.badge.action {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
}
.badge.puzzle {
  background: linear-gradient(45deg, #a8edea, #fed6e3);
  color: #333;
}
.badge.multiplayer {
  background: linear-gradient(45deg, #667eea, #764ba2);
}
.badge.platformer {
  background: linear-gradient(45deg, #f093fb, #f5576c);
}
.badge.rpg {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
}
.badge.rating {
  background: linear-gradient(45deg, #ffd89b, #19547b);
}

.game-preview {
  position: relative;
  margin-bottom: 1.5rem;
}

.game-preview canvas {
  width: 100%;
  max-width: 400px;
  height: 300px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border: 2px solid #333;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.game-ui {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ui-stats span {
  background: rgba(78, 205, 196, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: "Orbitron", monospace;
  font-size: 0.9rem;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.ui-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tower-btn,
.spell-btn {
  background: rgba(255, 107, 107, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 107, 107, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tower-btn:hover,
.spell-btn:hover {
  background: rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

.ui-instructions {
  text-align: center;
  color: #cccccc;
  font-size: 0.8rem;
  font-family: "Orbitron", monospace;
}

.game-description {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.game-start-btn {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

/* Game Features Section */
.game-features-section {
  margin-top: 5rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(78, 205, 196, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #4ecdc4;
  margin-bottom: 1rem;
  font-family: "Orbitron", monospace;
}

.feature-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* Active link styling */
.active-link {
  color: #4ecdc4 !important;
  position: relative;
}

.active-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .game-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .production-game-title {
    font-size: 1.5rem;
  }

  .game-preview canvas {
    height: 250px;
  }

  .ui-controls {
    flex-direction: column;
  }

  .tower-btn,
  .spell-btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
