/* Root Variables */
:root {
  --primary-color: #9b4dff;
  --secondary-color: #ff1493;
  --accent-color: #00d4ff;
  --gold-color: #ffa500;
  --dark-bg: #0a0a1f;
  --dark-purple: #1a0a2e;
  --text-light: #ffffff;
  --text-gray: #cccccc;
}

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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-purple) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header */
.header {
  background: rgba(10, 10, 31, 0.95);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-color);
}

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

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(155, 77, 255, 0.8);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--gold-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 50px;
  font-size: 20px;
}

.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.8);
  }
}

/* Features Section */
.features {
  padding: 60px 0;
  background: rgba(26, 10, 46, 0.6);
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(155, 77, 255, 0.1), rgba(0, 212, 255, 0.1));
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(155, 77, 255, 0.3);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(155, 77, 255, 0.4);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 14px;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(155, 77, 255, 0.3);
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background: rgba(26, 10, 46, 0.6);
}

.section-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-gray);
  font-size: 18px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.game-card {
  background: rgba(10, 10, 31, 0.8);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(155, 77, 255, 0.5);
}

.game-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.game-card h3 {
  padding: 20px 20px 10px;
  font-size: 22px;
  color: var(--accent-color);
}

.game-card p {
  padding: 0 20px 20px;
  color: var(--text-gray);
}

.games-cta {
  text-align: center;
}

/* Security Section */
.security-section {
  padding: 80px 0;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.security-content p {
  margin-bottom: 20px;
  color: var(--text-gray);
  line-height: 1.8;
}

.security-image img {
  width: 100%;
  border-radius: 20px;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: rgba(26, 10, 46, 0.6);
}

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

.benefit-item {
  text-align: center;
}

.benefit-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.benefit-item p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(155, 77, 255, 0.2), rgba(0, 212, 255, 0.2));
}

.cta-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-gray);
}

/* Footer */
.footer {
  background: rgba(10, 10, 31, 0.95);
  padding: 60px 0 20px;
  border-top: 2px solid var(--primary-color);
}

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

.footer-col h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-col p {
  color: var(--text-gray);
  line-height: 1.8;
}

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

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

.footer-col ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(155, 77, 255, 0.3);
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 31, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .about-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-grid .security-content {
    order: 2;
  }

  .security-grid .security-image {
    order: 1;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .btn-large {
    padding: 15px 35px;
    font-size: 18px;
  }
}
