@font-face {
  font-family: InterVar;
  src: local("Inter"), local("InterVar");
  font-display: swap;
}
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;0,900;1,400&display=swap");

:root {
  --bg-dark: #0a0b10;
  --bg-purple: #2d0a3d;
  --bg-pink: #ff005c;
  --bg-cyan: #00f0ff;
  --bg-black: #000000;

  --text-light: #ffffff;
  --text-dark: #0a0b10;

  --neon-pink: #ff005c;
  --neon-cyan: #00f0ff;
  --neon-purple: #8a2be2;

  --radius-lg: 24px;
  --radius: 12px;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text-light);
  background: var(--bg-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
}
.btn.primary {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 0, 92, 0.4);
}
.btn.primary:hover {
  background: #ff337a;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 0, 92, 0.6);
}
.btn.secondary {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}
.btn.secondary:hover {
  background: #33f3ff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.6);
}
.btn.ghost {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.chip {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 11, 16, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
}
.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 20px rgba(255, 0, 92, 0.4);
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: 0.3s;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-cyan);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 1rem;
  min-width: 200px;
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 12px;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-cyan);
}

/* App Hero */
.app-hero {
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(255, 0, 92, 0.15) 0%,
    transparent 60%
  );
  filter: blur(80px);
}
.app-hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.15) 0%,
    transparent 60%
  );
  filter: blur(80px);
}
.app-hero .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
  text-align: center;
}
.app-hero .title {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.app-hero .title span {
  color: var(--neon-cyan);
}
.app-hero .subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 2.5rem;
  max-width: 500px;
}
.app-hero .actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Landscape Mockup */
.mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1000px;
  width: 100%;
}
.hero-image {
  max-width: 100%;
  border-radius: 16px;
  display: block;
  height: auto;
  transform: rotateY(-15deg) rotateX(5deg) translateZ(0);
  transition: transform 0.5s ease;
  position: relative;
}
.hero-image:hover {
  transform: rotateY(0) rotateX(0) translateZ(20px);
}

/* Sections */
section {
  padding: 120px 0;
}
.section-title {
  margin-bottom: 60px;
  text-align: center;
}
.section-title h2 {
  font-size: 3rem;
  margin: 0;
}
.section-lead {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  opacity: 0.8;
}

/* Section Colors */
.bg-purple {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bg-purple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 10% 90%,
    rgba(138, 43, 226, 0.1),
    transparent 50%
  );
  pointer-events: none;
}
.bg-black {
  background: #050608;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.bg-black::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 90% 10%,
    rgba(0, 240, 255, 0.05),
    transparent 40%
  );
  pointer-events: none;
}
.bg-cyan {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
}
.bg-cyan::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05), transparent 70%);
  pointer-events: none;
}
.bg-pink {
  background: #08050a;
  color: #fff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bg-pink::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top,
    rgba(255, 0, 92, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.features .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}
.features .card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-cyan);
}
.features .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}
.features .icon svg {
  stroke: var(--neon-cyan);
}
.features .title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.features .muted {
  color: rgba(255, 255, 255, 0.6);
}

/* Games List Page */
.game-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.game-showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 40px;
  transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.game-showcase-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent 50%);
  opacity: 0;
  transition: 0.4s;
}
.game-showcase-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.game-showcase-item:hover::before {
  opacity: 1;
}
.game-info {
  position: relative;
  z-index: 2;
}
.game-info .game-logo {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.game-info h2 {
  font-size: 2.5rem;
  margin: 0 0 15px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.game-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.8;
}
.game-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  position: relative;
  z-index: 2;
}
.game-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: grayscale(20%) brightness(0.9);
}
.game-gallery img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}
.game-gallery img:hover {
  transform: scale(1.03);
  z-index: 10;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
  filter: grayscale(0%) brightness(1.1);
}

/* Games List (Homepage) */
.bg-cyan .section-title h2 {
  color: #fff;
}
.bg-cyan .section-lead {
  color: rgba(255, 255, 255, 0.7);
}
.game-card {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: 0.4s;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
  position: relative;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 240, 255, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.game-card:hover::after {
  opacity: 1;
}
.bg-cyan .game-card {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}
.bg-cyan .game-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neon-cyan);
}
.bg-cyan .game-media {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bg-cyan .game-content p {
  color: rgba(255, 255, 255, 0.7);
}

.game-media {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.game-media img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.game-media h3 {
  margin: 0;
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}
.game-media .game-meta {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-top: 4px;
}
.bg-cyan .game-media .game-meta {
  color: #666;
}
.game-content {
  padding: 20px;
}
.game-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.game-actions .btn {
  background: #000;
  color: #fff;
  width: 100%;
  border-radius: 12px;
}
.game-actions .btn:hover {
  background: var(--neon-pink);
}

/* Testimonials (Muted Purple Background) */
.bg-pink {
  background: #1a1625;
  color: #fff;
}
.bg-pink .section-title h2 {
  color: #fff;
}
.tlist {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
}
.tcard {
  min-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 40px;
  scroll-snap-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.tcard::after {
  content: "”";
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 120px;
  font-family: var(--font-heading);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.tcard .head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.tcard .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.tcard .name {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.tcard .role {
  color: rgba(255, 255, 255, 0.8);
}
.tcard .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.tcard .stars svg {
  fill: #fff;
  width: 24px;
  height: 24px;
}
.tcard .quote {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.tcard .brand {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
}

.page-title {
  padding: 80px 0 40px;
  text-align: center;
}
.page-title h1 {
  margin: 0;
  font-size: 3rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.page-title p {
  margin: 0.8rem 0 0;
  font-size: 1.2rem;
  opacity: 0.8;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal.open {
  display: flex;
}
.modal-card {
  width: min(1000px, 95%);
  background: var(--bg-dark);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}
.modal-head {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}
.modal-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.carousel {
  position: relative;
  background: #000;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.carousel-track img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  scroll-snap-align: center;
}
.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
}
.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: none;
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.detail {
  padding: 40px;
  background: var(--bg-purple);
}
.detail .meta {
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.detail p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}
.detail .btn {
  width: 100%;
  border-radius: 12px;
}

/* Utilities & Footer */
.appear {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.appear.in {
  opacity: 1;
  transform: none;
}
footer {
  background: #000;
  padding: 60px 0 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
footer .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-left: 15px;
  font-weight: 600;
}
footer a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .app-hero .title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .app-hero .subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
  .app-hero .actions {
    flex-direction: column;
    padding: 0 20px;
  }
  .app-hero .actions .btn {
    width: 100%;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .game-showcase-item {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .game-gallery {
    grid-template-columns: 1fr;
  }
  .game-gallery img:first-child {
    height: 200px;
  }
  .game-info h2 {
    font-size: 1.8rem;
  }
  .game-info p {
    font-size: 1rem;
  }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 60px;
    background: #1a1a24;
    padding: 20px;
    display: none;
    flex-direction: column;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .tcard {
    min-width: 300px;
    padding: 30px;
  }
}

/* Page title for other pages */
.page-header {
  padding: 180px 0 80px;
  background: var(--bg-purple);
  text-align: center;
}
.page-header h1 {
  font-size: 4rem;
  margin: 0 0 10px;
}
.page-header p {
  font-size: 1.2rem;
  opacity: 0.8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}
.contact-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.contact-grid > * {
  position: relative;
  z-index: 2;
}
.form {
  display: grid;
  gap: 20px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background: rgba(255, 255, 255, 0.1);
}
.socials {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.socials a:hover {
  background: var(--neon-pink);
  transform: translateY(-5px);
}
