/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #ffd700;
  --accent-hover: #ffed4e;
  --text-primary: #2c2c2c;
  --text-secondary: #666;
  --text-light: #999;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-primary);
  color: var(--bg-white);
  padding: 20px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-accept,
.btn-reject {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-accept {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.btn-accept:hover {
  background-color: var(--accent-hover);
}

.btn-reject {
  background-color: transparent;
  color: var(--bg-white);
  border: 1px solid var(--bg-white);
}

.btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bg-white);
}

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-link {
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--accent-color);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--bg-white);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--primary-color);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  z-index: 101;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 80px 20px 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin-bottom: 15px;
}

.mobile-nav-link {
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-color);
  padding-left: 10px;
}

.mobile-header-contact {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-phone-link {
  color: var(--bg-white);
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
  transition: var(--transition);
}

.mobile-phone-link:hover {
  color: var(--accent-color);
}

.mobile-btn-primary {
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.mobile-btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/gaming-pattern.svg");
  opacity: 0.1;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
  background: #b9e3f6b5;
  border-radius: 30px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: #282525;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  background-color: var(--bg-white);
  color: var(--text-primary);
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Collections Section */
.collections {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-primary);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.collection-card {
  background-color: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.collection-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-card {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-card:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Game Builder Section */
.game-builder {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--bg-white);
}

.builder-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.builder-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.builder-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.btn-builder {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.btn-builder:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Story Section */
.story {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.story-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.story-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Seasonal Section */
.seasonal {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.seasonal-content {
  text-align: center;
}

.seasonal-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.seasonal-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent-color);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--accent-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: var(--bg-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-contact a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.newsletter-form {
  margin-bottom: 15px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  margin-bottom: 10px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-subscribe {
  width: 100%;
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-subscribe:hover {
  background-color: var(--accent-hover);
}

.newsletter-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--accent-color);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  /* Burger Menu on Mobile */
  .burger-menu {
    display: flex;
  }

  .nav {
    display: none;
  }

  .header-contact {
    display: none;
  }
}
