/* Ghost Gaming - Main Stylesheet */
:root {
  --primary-color: #7B42F6;
  --secondary-color: #2E1A80;
  --accent-color: #FF5722;
  --text-color: #333333;
  --light-text: #FFFFFF;
  --dark-bg: #151020;
  --light-bg: #F9F9FF;
  --gradient-bg: linear-gradient(135deg, #7B42F6 0%, #2E1A80 100%);
  --box-shadow: 0 4px 15px rgba(123, 66, 246, 0.2);
  --border-radius: 12px;
}

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

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

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

/* Header */
header {
  background: var(--gradient-bg);
  color: var(--light-text);
  padding: 20px 0;
  position: relative;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 48px;
  height: 48px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI2MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnM+CiAgICA8cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHBhdGggZD0iTSAwIDEwIEwgNDAgMTAiIHN0cm9rZT0icmdiYSgxMjMsIDY2LCAyNDYsIDAuMSkiIHN0cm9rZS13aWR0aD0iMSIvPgogICAgICA8cGF0aCBkPSJNIDEwIDAgTCAxMCA0MCIgc3Ryb2tlPSJyZ2JhKDEyMywgNjYsIDI0NiwgMC4xKSIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMxNTEwMjAiLz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+Cjwvc3ZnPg==') no-repeat center center;
  background-size: cover;
  padding: 120px 0;
  text-align: center;
  color: var(--light-text);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e04515;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

/* Featured Games Section */
.featured-games {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

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

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

.game-card-content {
  padding: 20px;
}

.game-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.game-card p {
  margin-bottom: 15px;
}

.game-links {
  margin-top: 15px;
}

.game-links a {
  display: inline-block;
  margin-right: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.game-links a:hover {
  text-decoration: underline;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
}

/* News Section */
.news-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.news-card-content {
  padding: 20px;
}

.news-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.news-card p {
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }
  
  .testimonial-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .testimonial-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 80px 0;
  }
}
