:root {
  --color-purple: #6B46C1;
  --color-purple-dark: #553C9A;
  --color-purple-light: #9F7AEA;
  --color-yellow: #F6E05E;
  --color-yellow-dark: #ECC94B;
  --color-white: #FFFFFF;
  --color-gray-100: #F7FAFC;
  --color-gray-200: #EDF2F7;
  --color-gray-600: #718096;
  --color-gray-800: #2D3748;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  max-height: 110px;
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 110px;
  position: relative;
}

.logo {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  z-index: 1001;
}

.logo img {
  height: 260px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img {
    height: 320px;
  }
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-gray-800);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-purple);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-purple);
}

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

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

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 50%, var(--color-purple-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--color-yellow);
  opacity: 0.1;
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 100%;
  background: var(--color-yellow);
  opacity: 0.08;
  transform: rotate(15deg);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo img {
  width: 100%;
  max-width: 400px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 768px) {
  .hero-logo img {
    max-width: 500px;
    height: 100px;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-yellow);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-purple-dark);
}

.btn-primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-purple);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-purple);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.games-section {
  padding: 6rem 0;
  background: var(--color-gray-100);
}

.games-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.game-selector {
  background: var(--color-purple);
  padding: 1rem;
}

.game-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.game-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.game-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.game-tab.active {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-purple-dark);
}

.slider-container {
  padding: 2rem;
}

.game-info {
  text-align: center;
  margin-bottom: 2rem;
}

.game-title {
  font-size: 2rem;
  color: var(--color-purple);
  margin-bottom: 0.5rem;
}

.game-description {
  color: var(--color-gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.game-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000000;
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.app-store-btn:hover {
  background: #333333;
  transform: translateY(-2px);
}

.app-store-btn.coming-soon {
  background: var(--color-gray-600);
  cursor: default;
}

.app-store-btn.coming-soon:hover {
  background: var(--color-gray-600);
  transform: none;
}

.app-store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.app-store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-store-btn-text small {
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.app-store-btn-text strong {
  font-size: 1.1rem;
  font-weight: 600;
}

.slider {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.slider-btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-purple);
  color: var(--color-white);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--color-purple-dark);
  transform: scale(1.1);
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.indicator:hover {
  background: var(--color-purple-light);
}

.indicator.active {
  background: var(--color-purple);
  transform: scale(1.2);
}

.about-section {
  padding: 6rem 0;
  background: var(--color-white);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.15rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-purple) 100%);
  text-align: center;
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-content {
  margin-bottom: 2rem;
}

.contact-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

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

.social-link:hover {
  background: var(--color-yellow);
  color: var(--color-purple-dark);
  transform: translateY(-3px);
}

.footer {
  background: var(--color-gray-800);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.support-page {
  padding-top: 110px;
}

.support-hero {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}

.support-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.support-hero p {
  color: var(--color-yellow);
  font-size: 1.1rem;
}

.support-form-section {
  padding: 4rem 0;
  background: var(--color-gray-100);
  min-height: 60vh;
}

.support-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-600);
}

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

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .support-hero {
    padding: 3rem 0;
  }

  .support-form-section {
    padding: 2rem 0;
  }

  .support-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-container {
    padding: 1.5rem 1rem;
  }

  .game-info {
    margin-bottom: 1.5rem;
  }

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

  .games-section,
  .about-section,
  .contact-section {
    padding: 4rem 0;
  }
}

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

  .tagline {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }

  .game-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
