/* ============================================
   HOT GAMING ZONE - MAIN STYLESHEET
   ============================================ */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff4444;
  --primary-hover: #cc0000;
  --secondary-color: #ff6b6b;
  --dark-bg: rgba(0, 0, 0, 0.8);
  --light-bg: rgba(0, 0, 0, 0.6);
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #333333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: var(--dark-bg);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff4444, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
}

/* Games Grid (Homepage) */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.game-card {
  background: var(--light-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
  border-color: var(--primary-color);
}

.game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #333;
}

.game-card-content {
  padding: 1.5rem;
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.game-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Game Landing Page Styles */
.game-hero {
  text-align: center;
  padding: 3rem 0;
  background: var(--light-bg);
  margin: 2rem 0;
  border-radius: 15px;
}

.game-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.game-hero .value-proposition {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.gameplay-video {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: scale(1.05);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Screenshots Gallery */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.screenshot-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* FAQ Section */
.faq-item {
  background: var(--light-bg);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(255, 68, 68, 0.1);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

/* Similar Games */
.similar-games {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.similar-game-link {
  background: var(--light-bg);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.similar-game-link:hover {
  border-color: var(--primary-color);
  background: rgba(255, 68, 68, 0.1);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--dark-bg);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-link {
  color: var(--text-color);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Popup */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s;
}

.popup-container.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  animation: scaleIn 0.6s ease-in-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.popup-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.popup-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.popup-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s;
  gap: 0.5rem;
}

.popup-social-btn:hover {
  transform: translateY(-2px);
}

.popup-social-btn.facebook {
  background: linear-gradient(135deg, #3b5998, #8b9dc3);
}

.popup-social-btn.twitter {
  background: linear-gradient(135deg, #1da1f2, #87ceeb);
}

.close-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s;
}

.close-btn:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .game-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

