:root {
  --primary: #6c5ce7;
  --primary-dark: #5541d7;
  --secondary: #00cec9;
  --accent: #fdcb6e;
  --dark: #2d3436;
  --light: #dfe6e9;
  --white: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --success: #00b894;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--primary);
}

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

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
  margin-bottom: 5rem;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-image {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 60%;
  max-width: 800px;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 206, 201, 0.8) 0%, transparent 50%);
  opacity: 0.6;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '↓';
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 4rem;
}

.games-container {
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game {
  display: flex;
  align-items: center;
  margin-bottom: 8rem;
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.game:nth-child(even) {
  flex-direction: row-reverse;
}

.game-info {
  flex: 1;
  padding: 2rem;
}

.game-visual {
  flex: 1;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.game-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease;
}

.game-visual img:first-child {
  opacity: 1;
}

.game-visual img:last-child {
  opacity: 0;
}

.game-visual:hover img:first-child {
  opacity: 0;
}

.game-visual:hover img:last-child {
  opacity: 1;
}

.game-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.game-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.game-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1rem;
  color: var(--text);
}

.game-cta {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.game-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.game-cta svg {
  margin-right: 0.5rem;
}

.game-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.1;
  z-index: -1;
}

.game:nth-child(odd) .game-decoration {
  top: -50px;
  left: -50px;
}

.game:nth-child(even) .game-decoration {
  bottom: -50px;
  right: -50px;
}

.about-section {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(108, 92, 231, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(0, 206, 201, 0.05) 0%, transparent 30%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--light);
}

.team-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  margin: auto;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-image {
    width: 70%;
    right: -15%;
  }

  .game {
    flex-direction: column;
  }

  .game:nth-child(even) {
    flex-direction: column;
  }

  .game-info,
  .game-visual {
    width: 100%;
  }

  .game-visual {
    height: 400px;
    margin-bottom: 2rem;
  }

  .game:nth-child(even) .game-info {
    order: 2;
  }

  .game:nth-child(even) .game-visual {
    order: 1;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .game-title {
    font-size: 1.8rem;
  }

  .game {
    margin-bottom: 5rem;
  }
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
}

.dropdown-content a {
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--light);
  color: var(--primary);
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

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