:root {
  --primary-color: #2A9D8F;
  --secondary-color: #E9C46A;
  --accent-color: #F4A261;
  --dark-color: #264653;
  --light-color: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-medium: #E9ECEF;
  --gray-dark: #495057;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

img, svg {
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  position: relative;
  text-align: center;
}

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

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--gray-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: 2px solid var(--secondary-color);
}

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

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

.btn-outline:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 20px 0;
  background-color: rgba(38, 70, 83, 0.95);
}

.header.scrolled {
  padding: 15px 0;
  background-color: var(--dark-color);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  color: var(--light-color);
  font-weight: 700;
  font-size: 1.8rem;
  font-family: 'Raleway', sans-serif;
}

.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

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

.nav-link {
  color: var(--light-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  font-size: 1rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  color: var(--light-color);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    flex-direction: column;
    background-color: var(--dark-color);
    width: 250px;
    height: 100vh;
    padding: 80px 0 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 10;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0;
  }
  
  .nav-link {
    display: block;
    padding: 12px 30px;
  }
  
  .nav-toggle {
    display: block;
    z-index: 20;
  }
}
/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M30 10 L50 10 L50 30 L70 30 L70 50 L50 50 L50 70 L30 70 L30 50 L10 50 L10 30 L30 30 Z' stroke='rgba(255,255,255,0.05)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: var(--light-color);
  padding: 0 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 25px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
  }
  
  .btn {
    width: 100%;
  }
}

/* Features Section */
.features {
  background-color: var(--gray-light);
}

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

.feature-card {
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-text {
  color: var(--gray-dark);
}
/* Games Section */
.games {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  position: relative;
}

.games::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 20 L30 40 M20 30 L40 30' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.games .section-title {
  color: var(--light-color);
}

.games .section-title::after {
  background: var(--secondary-color);
}

.games .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.game-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 25px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.game-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.game-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.game-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--secondary-color);
}

.game-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--light-color);
}

.game-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.game-link {
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.game-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.game-link:hover {
  color: var(--accent-color);
}

.game-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* About Section */
.about {
  position: relative;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-content {
  flex: 1;
}

.about-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text {
  margin-bottom: 30px;
}

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

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary-color);
  top: 15px;
  left: 15px;
  border-radius: var(--radius);
  z-index: -1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-title {
  font-size: 0.9rem;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }
}
/* Contact Section */
.contact {
  background-color: var(--gray-light);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--light-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-details p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

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

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 0;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--light-color);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: 'Raleway', sans-serif;
}

.footer-logo svg {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.footer-logo-text {
  display: inline-block;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  color: var(--light-color);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--light-color);
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 50px;
  background-color: var(--secondary-color);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.contact-info .contact-item {
  margin-bottom: 15px;
}

.contact-info .contact-item:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
  margin-top: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}
