/* Modern Gaming Website CSS */

/* Color Scheme 1: Cyber Neon */
.theme-cyber-neon {
  --primary-color: #00ff9d;
  --secondary-color: #00b8ff;
  --accent-color: #ff00f7;
  --background-dark: #0a0a0f;
  --background-light: #1a1a2e;
  --text-light: #80ffdb;
  --text-white: #ffffff;
  --success-color: #00ff9d;
  --warning-color: #ffdd00;
  --danger-color: #ff0055;
}

/* Color Scheme 2: Dark Forest */
.theme-dark-forest {
  --primary-color: #2ecc71;
  --secondary-color: #27ae60;
  --accent-color: #145a32;
  --background-dark: #1a2f1a;
  --background-light: #2c422c;
  --text-light: #a8e6cf;
  --text-white: #ffffff;
  --success-color: #52be80;
  --warning-color: #f1c40f;
  --danger-color: #c0392b;
}

/* Color Scheme 3: Retro Gaming */
.theme-retro-gaming {
  --primary-color: #ffd700;
  --secondary-color: #ff6b6b;
  --accent-color: #4169e1;
  --background-dark: #191970;
  --background-light: #2f2f8a;
  --text-light: #98fb98;
  --text-white: #ffffff;
  --success-color: #32cd32;
  --warning-color: #ffa500;
  --danger-color: #ff4444;
}

/* Color Scheme 4: Midnight Ocean */
.theme-midnight-ocean {
  --primary-color: #00ccff;
  --secondary-color: #0088cc;
  --accent-color: #006699;
  --background-dark: #001a33;
  --background-light: #002952;
  --text-light: #80dfff;
  --text-white: #ffffff;
  --success-color: #00ffcc;
  --warning-color: #ffcc00;
  --danger-color: #ff3366;
}

/* Color Scheme 5: Crimson Tech */
.theme-crimson-tech {
  --primary-color: #ff3333;
  --secondary-color: #cc0000;
  --accent-color: #990000;
  --background-dark: #1a0000;
  --background-light: #330000;
  --text-light: #ff9999;
  --text-white: #ffffff;
  --success-color: #00cc66;
  --warning-color: #ffcc00;
  --danger-color: #ff0033;
}


/* Modern Gaming Website CSS */
/*
:root {
  --primary-color: #7B2CBF;
  --secondary-color: #9D4EDD;
  --accent-color: #5A189A;
  --background-dark: #10002B;
  --background-light: #240046;
  --text-light: #E0AAFF;
  --text-white: #ffffff;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --danger-color: #FF5252;
}
*/

:root {
  --primary-color: #00ccff;
  --secondary-color: #0088cc;
  --accent-color: #006699;
  --background-dark: #001a33;
  --background-light: #002952;
  --text-light: #80dfff;
  --text-white: #ffffff;
  --success-color: #00ffcc;
  --warning-color: #ffcc00;
  --danger-color: #ff3366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Styles */
header {
  background-color: var(--background-light);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-white);
  text-decoration: none;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

/* Mobile Menu Styles */
.menu-toggle, .menu-close {
  display: none;
  background: var(--primary-color);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 5px;
  z-index: 1003;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover, .menu-close:hover {
  background-color: var(--secondary-color);
}

.menu-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--background-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-white);
}

.menu-close {
  background: none;
  padding: 0.5rem;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Legal Pages Styles */
.legal-section {
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.legal-section h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.last-updated {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.policy-section, .terms-section {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary-color);
}

.policy-section h2, .terms-section h2 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
}

.policy-section h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.policy-section p, .terms-section p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.policy-section ul, .terms-section ul {
  list-style-type: none;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-section ul li, .terms-section ul li {
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--text-light);
}

.policy-section ul li::before, .terms-section ul li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: -1.5rem;
  font-size: 1.2rem;
}

.policy-section a, .terms-section a {
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px dotted var(--secondary-color);
  transition: all 0.3s ease;
}

.policy-section a:hover, .terms-section a:hover {
  color: var(--primary-color);
  border-bottom-style: solid;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(to right, var(--background-dark), var(--background-light));
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-white);
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Game Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.game-card {
  background: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
  transform: translateY(-5px);
}

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

.game-card-content {
  padding: 1.5rem;
}

.game-card h3 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.game-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.rating {
  color: var(--warning-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

/* Contact Form Styles */
.contact-section {
  padding: 8rem 0 4rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
  height: fit-content;
}

.contact-method {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-form {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--accent-color);
  background: var(--background-dark);
  color: var(--text-white);
  border-radius: 5px;
  font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.success-message {
  display: none;
  background: var(--success-color);
  color: var(--text-white);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Game Review Page Styles */
.game-review {
  padding: 6rem 0 2rem;
}

.game-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.game-cover img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.game-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.game-meta span {
  color: var(--text-light);
}

.game-description {
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.features-list li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Footer */
footer {
  background-color: var(--background-light);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--text-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--text-white);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }

  nav {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }

  .menu-header {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--background-light);
    flex-direction: column;
    padding: 0;
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .nav-links a {
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:hover {
    background-color: var(--background-light);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .nav-links {
    right: 0;
  }

  body.menu-open .menu-overlay {
    display: block;
    opacity: 1;
  }

  .menu-close {
    display: block;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .game-header {
    text-align: center;
  }

  .game-meta {
    justify-content: center;
  }

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

  .features-list {
    display: inline-block;
    text-align: left;
  }

  .footer-content {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .legal-section {
    padding: 6rem 1rem 3rem;
  }

  .policy-section, .terms-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }

  .game-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .review-content {
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .legal-section h1 {
    font-size: 2rem;
  }

  .policy-section h2, .terms-section h2 {
    font-size: 1.3rem;
  }

  .policy-section, .terms-section {
    padding: 1.2rem;
  }
}
