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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(
    180deg,
    #0a0a2e 0%,
    #1a1a3a 15%,
    #2a1a4a 35%,
    #1f2a4a 55%,
    #1a1a3a 75%,
    #0a0a2e 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(120, 50, 255, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(37, 150, 190, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(147, 51, 234, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 60% 20%,
      rgba(37, 150, 190, 0.05) 0%,
      transparent 45%
    );
  pointer-events: none;
  z-index: -1;
}

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

/* Header */
header {
  background: rgba(10, 10, 46, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(120, 50, 255, 0.2);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(120, 50, 255, 0.2);
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f7fafc;
  background: linear-gradient(135deg, #2596be 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(37, 150, 190, 0.5);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.logo:hover {
  background: linear-gradient(135deg, #37b3d8 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(37, 150, 190, 0.8);
}

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

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a:hover {
  color: #2596be;
  background: rgba(37, 150, 190, 0.1);
  box-shadow: 0 0 15px rgba(37, 150, 190, 0.3);
}

.admin-btn {
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.25) 0%,
    rgba(147, 51, 234, 0.25) 100%
  ) !important;
  border: 1px solid rgba(120, 50, 255, 0.5) !important;
  color: #f7fafc !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.admin-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.4) 0%,
    rgba(147, 51, 234, 0.4) 100%
  ) !important;
  box-shadow: 0 0 25px rgba(120, 50, 255, 0.5) !important;
  border-color: rgba(37, 150, 190, 0.8) !important;
  transform: translateY(-2px) !important;
}

/* Hero Section */
.hero {
  background: transparent;
  padding: 140px 0 0px;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #f7fafc 0%, #2596be 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 20px rgba(37, 150, 190, 0.3);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #cbd5e0;
  line-height: 1.6;
  font-weight: 400;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.download-buttons a {
  transition: all 0.3s ease;
}

.download-buttons a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.download-buttons img {
  transition: all 0.3s ease;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(200%);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  border: 1.5px solid rgba(120, 50, 255, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120, 50, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  background: rgba(120, 50, 255, 0.18);
  transform: translateY(-3px);
  box-shadow:
    0 12px 48px rgba(120, 50, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(120, 50, 255, 0.7);
}

.download-btn svg {
  width: 24px;
  height: 24px;
  z-index: 1;
  position: relative;
}

/* Phone Stack */
.phone-stack {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-card {
  position: absolute;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(37, 150, 190, 0.3));
}

.phone-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 2px solid rgba(120, 50, 255, 0.4);
  transition: all 0.4s ease;
  backdrop-filter: blur(30px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Individual phone positions */
.phone-center {
  z-index: 5;
  transform: translateX(0px) rotate(0deg) scale(1.1);
}

.phone-left-1 {
  z-index: 4;
  transform: translateX(-80px) rotate(-8deg) scale(0.95);
}

.phone-left-2 {
  z-index: 3;
  transform: translateX(-140px) rotate(-15deg) scale(0.85);
  opacity: 0.8;
}

.phone-right-1 {
  z-index: 4;
  transform: translateX(80px) rotate(8deg) scale(0.95);
}

.phone-right-2 {
  z-index: 3;
  transform: translateX(140px) rotate(15deg) scale(0.85);
  opacity: 0.8;
}

/* Features Section */
.features {
  padding: 100px 0 120px;
  background: transparent;
  position: relative;
  margin-top: -20px;
}

.features h2 {
  text-align: center;
  font-size: 3.2rem;
  margin-bottom: 6rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    #7832ff 30%,
    #2596be 70%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* Gamified Features Layout */
.game-features {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.feature-timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7832ff 0%, #2596be 50%, #7832ff 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(120, 50, 255, 0.5);
}

.feature-item {
  position: relative;
  margin-bottom: 6rem;
  opacity: 1;
  transform: translateY(0);
}

.feature-number {
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7832ff 0%, #2596be 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  z-index: 10;
  box-shadow: 0 0 30px rgba(120, 50, 255, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(25px) saturate(180%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(120, 50, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-left: 50px;
  margin-right: 50px;
  text-align: left;
}

.feature-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7832ff, #2596be, #7832ff);
  transform: scaleX(1);
}

.feature-icon-game {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.3) 0%,
    rgba(147, 51, 234, 0.3) 100%
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(120, 50, 255, 0.4);
  flex-shrink: 0;
  color: #2596be;
  transition: all 0.3s ease;
}

.feature-icon-game svg {
  width: 45px;
  height: 45px;
  stroke: currentColor;
  z-index: 2;
  position: relative;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #f7fafc;
  font-weight: 600;
  background: linear-gradient(135deg, #f7fafc 0%, #2596be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-text p {
  color: #cbd5e0;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Platform Highlights Section */
.platform-highlights {
  padding: 80px 0 100px;
  background: transparent;
  position: relative;
  margin-top: -20px;
}

.platform-highlights h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    #7832ff 30%,
    #2596be 70%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(200%);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  border: 1.5px solid rgba(120, 50, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7832ff, #2596be, #7832ff);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.highlight-card:hover::before {
  transform: scaleX(1);
}

.highlight-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(120, 50, 255, 0.5);
  box-shadow:
    0 15px 40px rgba(120, 50, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.3) 0%,
    rgba(147, 51, 234, 0.3) 100%
  );
  border-radius: 20px;
  border: 2px solid rgba(120, 50, 255, 0.4);
  color: #2596be;
  transition: all 0.6s ease;
}

.highlight-icon svg {
  width: 45px;
  height: 45px;
  stroke: currentColor;
}

.highlight-card:hover .highlight-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.4) 0%,
    rgba(147, 51, 234, 0.4) 100%
  );
  border-color: rgba(37, 150, 190, 0.6);
  box-shadow: 0 8px 25px rgba(120, 50, 255, 0.3);
  transform: scale(1.05);
  color: #7832ff;
}

.highlight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #f7fafc;
  font-weight: 600;
  background: linear-gradient(135deg, #f7fafc 0%, #2596be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-card p {
  color: #cbd5e0;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* CTA Section */
.cta {
  background: transparent;
  padding: 80px 0 120px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -40px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(30px) saturate(200%);
  border-radius: 24px;
  padding: 4rem;
  border: 1.5px solid rgba(120, 50, 255, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-text {
  text-align: left;
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f7fafc 0%, #2596be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  color: #e2e8f0;
  line-height: 1.7;
}

.cta-images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.cta-phone {
  max-width: 200px;
  height: auto;
  border-radius: 20px;
  border: 2px solid rgba(120, 50, 255, 0.4);
  filter: drop-shadow(0 8px 32px rgba(120, 50, 255, 0.3));
  transition: all 0.4s ease;
  backdrop-filter: blur(30px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-phone:hover {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 16px 48px rgba(120, 50, 255, 0.5));
  border-color: #7832ff;
  box-shadow:
    0 20px 60px rgba(120, 50, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta .download-buttons {
  justify-content: flex-start;
}

.cta .download-btn {
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.2) 0%,
    rgba(147, 51, 234, 0.2) 100%
  );
  border: 2px solid rgba(37, 150, 190, 0.3);
}

.cta .download-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(37, 150, 190, 0.3) 0%,
    rgba(147, 51, 234, 0.3) 100%
  );
  border-color: #2596be;
  box-shadow: 0 8px 32px rgba(37, 150, 190, 0.4);
}

/* Footer */
footer {
  background: transparent;
  color: white;
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  margin-top: -60px;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 46, 0.05) 0%,
      rgba(10, 10, 46, 0.3) 100%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(120, 50, 255, 0.06) 0%,
      transparent 70%
    );
  backdrop-filter: blur(0.5px);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(25px) saturate(180%);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(120, 50, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    #7832ff 50%,
    #2596be 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section a {
  color: rgba(203, 213, 224, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 8px;
}

.footer-section a:hover {
  color: #7832ff;
  background: rgba(120, 50, 255, 0.1);
  transform: translateX(6px);
}

.footer-bottom {
  border-top: 1px solid rgba(120, 50, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  background: linear-gradient(
    135deg,
    rgba(160, 174, 192, 0.8) 0%,
    #7832ff 50%,
    #2596be 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .phone-stack {
    height: 350px;
    margin-top: 2rem;
  }

  .phone-card {
    width: 160px;
  }

  .phone-center {
    transform: translateX(0px) rotate(0deg) scale(1);
  }

  .phone-left-1 {
    transform: translateX(-60px) rotate(-8deg) scale(0.85);
  }

  .phone-left-2 {
    transform: translateX(-100px) rotate(-15deg) scale(0.75);
  }

  .phone-right-1 {
    transform: translateX(60px) rotate(8deg) scale(0.85);
  }

  .phone-right-2 {
    transform: translateX(100px) rotate(15deg) scale(0.75);
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .download-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features h2 {
    font-size: 2.4rem;
  }

  .feature-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2rem;
    margin-left: 20px;
    margin-right: 20px;
    padding: 2rem;
  }

  .feature-item:nth-child(even) .feature-content {
    flex-direction: column !important;
    text-align: center !important;
  }

  .feature-number {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%);
    top: -25px;
  }

  .timeline-line {
    display: none;
  }

  .feature-item {
    margin-bottom: 4rem;
  }

  .platform-highlights h2 {
    font-size: 2.2rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .highlight-card {
    padding: 2rem;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .cta-text {
    text-align: center;
  }

  .cta h2 {
    font-size: 2.2rem;
  }

  .cta-images {
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
  }

  .cta-phone {
    max-width: 140px;
  }
}

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

  .phone-stack {
    height: 280px;
  }

  .phone-card {
    width: 120px;
  }

  .phone-center {
    transform: translateX(0px) rotate(0deg) scale(0.9);
  }

  .phone-left-1,
  .phone-right-1 {
    transform: translateX(-40px) rotate(-8deg) scale(0.75);
  }

  .phone-right-1 {
    transform: translateX(40px) rotate(8deg) scale(0.75);
  }

  .phone-left-2,
  .phone-right-2 {
    display: none; /* Hide outermost phones on very small screens */
  }

  .features h2 {
    font-size: 2rem;
  }

  .feature-content {
    margin-left: 10px;
    margin-right: 10px;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .feature-icon-game {
    width: 60px;
    height: 60px;
  }

  .feature-icon-game svg {
    width: 35px;
    height: 35px;
  }

  .feature-text h3 {
    font-size: 1.4rem;
  }

  .feature-text p {
    font-size: 1rem;
  }

  .platform-highlights h2 {
    font-size: 2rem;
  }

  .highlight-card {
    padding: 1.5rem;
  }

  .highlight-icon {
    width: 60px;
    height: 60px;
  }

  .highlight-icon svg {
    width: 35px;
    height: 35px;
  }

  .highlight-card h3 {
    font-size: 1.3rem;
  }

  .highlight-card p {
    font-size: 1rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta-images {
    flex-direction: column;
    align-items: center;
  }

  .cta-phone {
    max-width: 120px;
  }
}
