/* ============================================================
   LUMIZADE GAMES – Dark Gaming Theme
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colours */
  --clr-bg: #0b0d1a;
  --clr-bg-card: #111328;
  --clr-bg-surface: #161938;
  --clr-bg-lighter: #1a1d3a;
  --clr-primary: #7c3aed;
  --clr-primary-lt: #a78bfa;
  --clr-accent: #06b6d4;
  --clr-cyan: #22d3ee;
  --clr-pink: #ec4899;
  --clr-green: #10b981;
  --clr-white: #ffffff;
  --clr-text: #e2e6f0;
  --clr-text-muted: #a0a8c8;
  --clr-border: rgba(124, 58, 237, 0.25);
  --clr-contact-bg: #0f1225;

  /* Typography – fluid scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.88rem + 0.35vw, 1.08rem);
  --text-lg: clamp(1.08rem, 0.95rem + 0.6vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  --text-2xl: clamp(1.4rem, 1.15rem + 1.25vw, 1.85rem);
  --text-3xl: clamp(1.7rem, 1.3rem + 2vw, 2.4rem);
  --text-4xl: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);

  /* Spacing */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2rem + 4vw, 6rem);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-pill: 100vw;

  /* Shadows */
  --shadow-glow-sm: 0 0 20px rgba(124, 58, 237, 0.15);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
  --shadow-glow-lg: 0 0 60px rgba(124, 58, 237, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(11, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-white);
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.navbar__links {
  display: flex;
  gap: var(--space-lg);
}

.navbar__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color 0.2s var(--ease);
}

.navbar__link:hover {
  color: var(--clr-white);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  text-align: center;
  color: var(--clr-white);
  overflow: hidden;
  background: var(--clr-bg);
  padding-top: 60px;
}

/* Gradient glow behind content */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Dot pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
}

/* Geometric decorations */
.hero__decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero__decor--circle-1 {
  top: 12%;
  left: 18%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  animation: floatSlow 8s ease-in-out infinite;
}

.hero__decor--circle-2 {
  bottom: 18%;
  right: 12%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  animation: floatSlow 6s ease-in-out infinite reverse;
}

.hero__decor--rect-1 {
  top: 20%;
  right: 15%;
  width: 120px;
  height: 80px;
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-lg);
  transform: rotate(15deg);
  animation: floatSlow 10s ease-in-out infinite;
}

.hero__decor--rect-2 {
  bottom: 22%;
  left: 10%;
  width: 90px;
  height: 60px;
  border: 2px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-md);
  transform: rotate(-10deg);
  animation: floatSlow 7s ease-in-out infinite reverse;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }

  50% {
    transform: translateY(-15px) rotate(var(--rotate, 0deg));
  }
}

.hero__decor--rect-1 {
  --rotate: 15deg;
}

.hero__decor--rect-2 {
  --rotate: -10deg;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease) both;
}

/* Badge */
.hero__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  background: rgba(34, 211, 238, 0.06);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-text-muted);
  opacity: 0.5;
}

.hero__scroll-dot:first-child {
  opacity: 0.8;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.8rem;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  border: none;
}

.btn--primary {
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-primary), #6d28d9);
  box-shadow: var(--shadow-glow-sm);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  color: var(--clr-white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: var(--clr-primary-lt);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

.btn--contact {
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-primary), #6d28d9);
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
  box-shadow: var(--shadow-glow-sm);
}

.btn--contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn:active {
  transform: translateY(0);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--space-2xl) 0;
  background: var(--clr-bg);
  position: relative;
}

/* Top gradient divider */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), transparent);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__text-block {
  max-width: 480px;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  margin-top: var(--space-xs);
}

.about__desc {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Tag pills */
.about__tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid;
}

.tag--cyan {
  color: var(--clr-cyan);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
}

.tag--green {
  color: var(--clr-green);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
}

.tag--pink {
  color: var(--clr-pink);
  border-color: rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.06);
}

.tag__icon {
  font-size: 0.85em;
}

/* Device mockup */
.about__mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About image */
.about__image-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-card), var(--shadow-glow-sm);
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Stat badge */
.about__stat {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--clr-primary), #6d28d9);
  border-radius: var(--radius-md);
  padding: 0.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-glow-sm);
  z-index: 3;
}

.about__stat-number {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.1;
}

.about__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--clr-contact-bg);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), var(--clr-primary), transparent);
}

.contact__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.contact .section-title {
  color: var(--clr-white);
}

.contact .section-title::after {
  margin-inline: auto;
}

.contact__text {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.contact__email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.contact__email-icon {
  font-size: 1.1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-md) 0;
  background: var(--clr-bg);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--clr-white);
  font-size: var(--text-sm);
}

.footer__logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.footer__center {
  display: flex;
  gap: var(--space-md);
}

.footer__link {
  color: var(--clr-text-muted);
  transition: color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--clr-primary-lt);
}

.footer__copy {
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy {
  padding: var(--space-2xl) 0;
  padding-top: calc(var(--space-2xl) + 70px);
  background: var(--clr-bg);
}

.privacy__container {
  max-width: 720px;
  margin-inline: auto;
}

.privacy__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--clr-primary-lt);
  margin-bottom: var(--space-lg);
  transition: color 0.2s var(--ease);
}

.privacy__back:hover {
  color: var(--clr-cyan);
}

.privacy__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--space-lg);
}

.privacy h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--clr-white);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.privacy p,
.privacy ul {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.privacy ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.privacy a {
  color: var(--clr-primary-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy a:hover {
  color: var(--clr-cyan);
}

/* --- Tables --- */
.privacy__table-container {
  overflow-x: auto;
  margin-block: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
}

.privacy__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
}

.privacy__table th,
.privacy__table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--clr-border);
  vertical-align: top;
}

.privacy__table th {
  background: var(--clr-bg-surface);
  color: var(--clr-white);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.privacy__table tr:last-child td {
  border-bottom: none;
}

.privacy__table td {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.privacy__table strong {
  color: var(--clr-white);
}

/* Responsive Table (Stack on mobile) */
@media (max-width: 640px) {
  .privacy__table-container {
    border: none;
    background: transparent;
  }

  .privacy__table,
  .privacy__table thead,
  .privacy__table tbody,
  .privacy__table th,
  .privacy__table td,
  .privacy__table tr {
    display: block;
  }

  .privacy__table thead {
    display: none;
    /* Hide headers on mobile */
  }

  .privacy__table tr {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
  }

  .privacy__table td {
    padding: var(--space-xs);
    border-bottom: none;
    position: relative;
    padding-left: 0;
    text-align: left;
  }

  .privacy__table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--clr-primary-lt);
    font-size: var(--text-xs);
    text-transform: uppercase;
    margin-bottom: 2px;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE – Mobile-First Breakpoints
   ============================================================ */

/* sm: 640px */
@media (min-width: 640px) {
  .footer__inner {
    flex-wrap: nowrap;
  }
}

/* md: 768px */
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__text-block {
    max-width: none;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .hero__content {
    max-width: 700px;
  }

  .hero__decor--circle-1 {
    width: 100px;
    height: 100px;
  }

  .hero__decor--rect-1 {
    width: 160px;
    height: 100px;
  }

  .mockup-device {
    width: 320px;
    height: 360px;
  }
}

/* Mobile adjustments */
@media (max-width: 639px) {
  .navbar__links {
    gap: var(--space-md);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .about__mockup {
    justify-content: center;
    margin-top: var(--space-md);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
}