:root {
  --primary: #ff5e00;

  --secondary: #0077ff;

  --dark: #111111;
  --darker: #0a0a0a;
  --light: #ffffff;
  --gray: #f4f4f4;
  --text-color: #333333;
  --text-light: #666666;
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
  color: #fff;
}

.btn-secondary {
  background: var(--dark);
  color: var(--light);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--dark);
}

.featured-game .section-title h2,
.featured-game .section-title p {
  color: var(--light);
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.accent-text {
  color: var(--primary);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled {
  background: rgba(17, 17, 17, 0.95);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

header.scrolled .nav-link {
  color: var(--light);
}

header.scrolled .logo-text {
  color: var(--light);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

header.scrolled .logo {
  color: var(--dark);
}

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

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

.nav-link {
  color: var(--light);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--light);
  margin: 5px;
  transition: var(--transition);
}

header.scrolled .burger-menu div {
  background-color: var(--light);
}

@media screen and (max-width: 991px) {
  .burger-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: var(--light);
    width: 300px;
    height: 100vh;
    padding-top: 100px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .nav-links.nav-active {
    right: 0;
  }

  .nav-link {
    color: var(--dark) !important;
    font-size: 1.2rem;
  }

  .burger-menu.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--dark);
  }

  .burger-menu.toggle .line2 {
    opacity: 0;
  }

  .burger-menu.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--dark);
  }
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--darker);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--light);
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

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

.feature-card {
  background: var(--light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-img img {
  transform: scale(1.1);
}

.feature-content {
  padding: 30px;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.services-section {
  background: var(--dark);
  color: var(--light);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.service-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  fill: var(--primary);
}

.service-item h3 {
  color: var(--light);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-item p {
  color: #aaa;
  font-size: 0.95rem;
}

.stats-section {
  background: var(--gray);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h2 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.testimonials {
  background: var(--light);
}

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

.testimonial-card {
  padding: 40px;
  background: var(--gray);
  border-radius: 15px;
  position: relative;
}

.testimonial-card::before {
  content: '\"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.05);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--primary);
}

.about-snippet {
  background: var(--light);
}

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

.about-img {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  background: var(--darker);
  color: var(--light);
  padding: 80px 0 30px;
}

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

.footer-col h3,
.footer-col h4 {
  color: var(--light);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-col p,
.footer-col ul li {
  color: #aaaaaa;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

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

.footer-col ul li a {
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
  font-size: 0.9rem;
}

.page-banner {
  height: 400px;
  background: var(--darker);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
}

.page-banner h1 {
  color: var(--light);
  font-size: 3rem;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

.content-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--light);
}

.content-section p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.content-section h2,
.content-section h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.content-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-light);
}

.content-section ul li {
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}

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

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--light);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 15px;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: all 0.3s ease;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gray);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
}

.modal-close svg {
  fill: var(--dark);
  transition: var(--transition);
}

.modal-close:hover svg {
  fill: var(--light);
}

.modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.modal-meta {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.modal-body p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .features-grid,
  .gallery-grid,
  .testimonial-grid,
  .services-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .section-title h2 {
    font-size: 1.4rem;
    word-break: break-word;
    hyphens: auto;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav-container {
    padding: 0 10px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .content-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.policy-container {
  max-width: 900px;
  background: #fff;
  padding: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: -50px;
  border-radius: 10px;
  position: relative;
  z-index: 5;
}

@media (max-width: 480px) {
  .policy-container {
    padding: 20px;
  }
}