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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo h1 {
  font-size: 24px;
  font-weight: bold;
  color: #1f2937;
}

.accent {
  color: #f97316;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #f97316;
}

.contact-btn {
  background: #f97316 !important;
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background: #ea580c !important;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #4b5563;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

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

.hero-text h2 {
  font-size: 4rem;
  font-weight: bold;
  color: #1f2937;
  line-height: 1.1;
  margin-bottom: 32px;
}

.chart-topping {
  color: #f97316;
  position: relative;
}

.underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: #fef3c7;
  z-index: -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 0;
}

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

.stat-icon {
  width: 64px;
  height: 64px;
  background: #fef3e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #f97316;
  font-size: 32px;
}

.stat-label {
  font-weight: bold;
  color: #1f2937;
  font-size: 18px;
}

.stat-sublabel {
  font-size: 14px;
  color: #6b7280;
}

.company-description {
  background: #f9fafb;
  padding: 24px;
  border-radius: 16px;
  margin-top: 32px;
}

.company-description p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.game-showcase {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #ef4444);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-logo {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
  transition: transform 0.3s;
  z-index: 10;
}

.game-logo:hover {
  transform: rotate(0deg);
}

.game-logo h3 {
  font-size: 32px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 8px;
}

.game-logo p {
  color: #f97316;
  font-weight: 600;
  font-size: 18px;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
}

.element-1 {
  width: 64px;
  height: 64px;
  background: #fbbf24;
  top: 10%;
  left: 10%;
  animation: bounce 2s infinite;
}

.element-2 {
  width: 48px;
  height: 48px;
  background: #3b82f6;
  bottom: 15%;
  right: 15%;
  border-radius: 8px;
  animation: pulse 2s infinite;
}

.element-3 {
  width: 32px;
  height: 32px;
  background: #10b981;
  top: 50%;
  left: 5%;
  animation: ping 2s infinite;
}

.background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  padding: 16px;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  height: 100%;
}

.pattern-grid::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 20px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.game-card.featured {
  ring: 2px solid #fed7aa;
}

.game-image {
  position: relative;
  height: 200px;
  background: #e5e7eb;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f97316;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-content {
  padding: 24px;
}

.game-title {
  font-size: 18px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.game-card:hover .game-title {
  color: #f97316;
}

.game-description {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.download-btn {
  width: 100%;
  background: #f97316;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.download-btn:hover {
  background: #ea580c;
}

/* Google Play icon in download button */
.google-play-icon {
  height: 32px;
  width: auto;
  margin-right: 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-company {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: bold;
  color: #1f2937;
}

.footer-company p {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-links a:first-child {
  background: #1877f2;
}

.social-links a:first-child:hover {
  background: #166fe5;
}

.social-links a:last-child {
  background: #6b7280;
}

.social-links a:last-child:hover {
  background: #4b5563;
}

.footer-links h4,
.footer-legal h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #f97316;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-text h2 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .game-showcase {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

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

  .hero-text h2 {
    font-size: 2rem;
  }

  .game-logo h3 {
    font-size: 24px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}

.store-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  width: 112px;
  height: 56px;
  min-width: 152px;
  min-height: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.store-btn:hover {
  background: #e5e7eb;
  box-shadow: 0 4px 16px rgba(249,115,22,0.08);
  transform: scale(1.06);
}

.store-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
}

.google-play-btn {
  background: #f97316;
}
.google-play-btn:hover {
  background: #ea580c;
}

.app-store-btn {
  background: #2563eb;
}
.app-store-btn:hover {
  background: #1d4ed8;
}
