/* Global Styles */
:root {
  --primary-color: #1a1b3e;
  --secondary-color: #252664;
  --accent-color: #00d4ff;
  --accent-secondary: #ff6b35;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #ff6b35 100%);
  --purple-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --orange-gradient: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --bg-color: #ffffff;
  --bg-dark: #0f1419;
  --card-bg: #f8f9fa;
  --card-dark: #1e2328;
  --border-color: #e9ecef;
  --header-height: 80px;
  --footer-height: 60px;
  --max-width: 1200px;
  --border-radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.25);
  --glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.1);
}

.btn:hover:before {
  opacity: 1;
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow);
  height: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.logo i {
  margin-right: 10px;
  font-size: 2rem;
  color: var(--accent-color);
}

.logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  color: var(--text-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 30px;
  line-height: 1.1;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

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

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--purple-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.game-card:hover::before {
  opacity: 0.05;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.game-animation {
  width: 100%;
  height: 200px;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.game-animation-1 {
  background-color: #3498db;
}

.game-animation-1:before {
  content: '🎮';
}

.game-animation-2 {
  background-color: #e74c3c;
}

.game-animation-2:before {
  content: '⚡';
}

.game-animation-3 {
  background-color: #2ecc71;
}

.game-animation-3:before {
  content: '👥';
}

.game-info {
  padding: 20px;
}

.game-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.game-desc {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Guides Section */
.guides {
  padding: 80px 0;
  background-color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

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

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-desc {
  opacity: 0.9;
}

/* News Section */
.news {
  padding: 80px 0;
  position: relative;
}

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

.news-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(122, 73, 165, 0.2);
}

.news-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--gradient-bg);
  color: white;
  padding: 15px;
  width: 80px;
  min-width: 80px;
}

.news-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.9rem;
}

.news-content {
  padding: 20px;
  flex: 1;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.news-excerpt {
  margin-bottom: 15px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.news-link {
  display: inline-block;
  font-weight: 500;
  color: var(--accent-color-light);
  transition: all 0.3s ease;
}

.news-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.news-link:hover i {
  transform: translateX(3px);
}

/* Newsletter */
.newsletter {
  margin-top: 60px;
  padding: 50px 40px;
  background: var(--purple-gradient);
  border-radius: var(--border-radius);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
}
}

.newsletter h3 {
  margin-bottom: 15px;
}

.newsletter p {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 40px 0;
}

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

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color-light);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

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

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

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

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

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 1.8rem;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    transition: 0.4s;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 20px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}