* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'SuperComic';
  src: url('fonts/Super-Comic.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

  @font-face {
     font-family: 'Nebula';
     src: url('fonts/NebulaSans-Medium.ttf') format('ttf');
     font-weight: normal;
     font-style: normal;
   }

body {
   font-family: 'Nebula Sans', sans-serif;
  line-height: 1.6;
  color: #ffffff;
}

    .back-link {
      position: absolute;
      top: 2rem;
      left: 2rem;
      color: #ff314d;
      text-decoration: none;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .back-link:hover {
      color: #ff314d;
      transform: translateX(-4px);
    }

.custom-font {
  font-family: 'SuperComic', sans-serif;
}

.main-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}


.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px);
  opacity: 0.6;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.video-controls {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.control-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.game-icon-container {
  margin-bottom: 2rem;
}

.game-icon {
  width: 120px;
  height: 120px;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.game-icon:hover {
  transform: scale(1.1);
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #f472b6, #ef4444, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: linear-gradient(to right, #ec4899, #ef4444);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #db2777, #dc2626);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.25rem;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-item i {
  color: #fbbf24;
}

.stat-item i.fa-download {
  color: #10b981;
}

.stat-item i.fa-users {
  color: #3b82f6;
}

.stat-value {
  font-weight: 600;
}

.stat-label {
  color: #d1d5db;
}

/* Stats Section */
.stats-section {
  padding: 5rem 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

.rating-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(147, 51, 234, 0.3);
}

.downloads-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  border-color: rgba(34, 197, 94, 0.3);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.downloads-card .stat-icon {
  color: #10b981;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-title {
  color: #d1d5db;
  margin-bottom: 0.25rem;
}

.stat-subtitle {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Description Section */
.description-section {
  padding: 5rem 1rem;
}

.description-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.8;
}

.description-content p {
  margin-bottom: 1.5rem;
}

.description-content strong {
  color: white;
}

.description-content em {
  color: #f472b6;
}

/* Technologies Section */
.technologies-section {
  padding: 5rem 1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.tech-card {
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid;
}

.tech-card:hover {
  transform: scale(1.05);
}

.unity-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-color: rgba(59, 130, 246, 0.3);
}

.csharp-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(147, 51, 234, 0.3);
}

.adobe-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  border-color: rgba(34, 197, 94, 0.3);
}

.android-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
  border-color: rgba(249, 115, 22, 0.3);
}

.physics-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(249, 115, 22, 0.2));
  border-color: rgba(234, 179, 8, 0.3);
}

.audio-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(147, 51, 234, 0.2));
  border-color: rgba(99, 102, 241, 0.3);
}

.playstore-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(239, 68, 68, 0.2));
  border-color: rgba(236, 72, 153, 0.3);
}

.git-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2));
  border-color: rgba(20, 184, 166, 0.3);
}

.tech-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.tech-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tech-type {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Screenshots Section */
.screenshots-section {
  padding: 5rem 1rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.screenshot-card:hover {
  transform: scale(1.05);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* CTA Section */
.cta-section {
  padding: 5rem 1rem;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid #374151;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo span {
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-text {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 8rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .screenshots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
