@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --deep-purple: #1a0a2e;
  --mid-purple: #2d1054;
  --purple: #4a1d8a;
  --light-purple: #7c3aed;
  --violet: #9c5cf5;
  --gold: #f0a500;
  --gold-light: #ffd166;
  --gold-pale: #fff3cd;
  --text-light: #e8d5ff;
  --text-muted: #a78bca;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--deep-purple);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Stars background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 55%, rgba(240,165,0,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 35%, rgba(240,165,0,0.25) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  padding: 1rem 2.5rem;
  background: rgba(26, 10, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 165, 0, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.nav-logo span {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-purple) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  flex-shrink: 0;
  z-index: 101;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: 0.3s; }

/* SECTIONS */
section { position: relative; z-index: 1; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(240, 165, 0, 0.12);
  border: 1px solid rgba(240, 165, 0, 0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(156, 92, 245, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-purple);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(240, 165, 0, 0.5); }

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 165, 0, 0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); background: rgba(240,165,0,0.06); }

/* SECTION SHARED */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ABOUT */
.about {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,165,0,0.15);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
}

.about-card:hover {
  border-color: rgba(240,165,0,0.35);
  background: rgba(255,255,255,0.05);
}

.about-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-card .tag {
  display: inline-block;
  background: rgba(156, 92, 245, 0.15);
  border: 1px solid rgba(156, 92, 245, 0.3);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-top: 1rem;
}

/* GAMES / PROJECTS */
.projects {
  padding: 6rem 2rem;
  background: rgba(255,255,255,0.015);
}

.projects-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  transition: border-color 0.3s;
}
.project-card:hover { border-color: rgba(240,165,0,0.4); }

.project-visual {
  background: linear-gradient(135deg, var(--mid-purple), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 280px;
}

.project-visual .puzzle-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px rgba(156,92,245,0.6));
  animation: float 3s ease-in-out infinite;
}

.project-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tag {
  display: inline-block;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.project-info h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: rgba(156,92,245,0.12);
  border: 1px solid rgba(156,92,245,0.25);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* MISSION */
.mission {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-quote {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.6;
  color: var(--gold-light);
  margin: 2rem 0;
  padding: 2rem;
  border-left: 3px solid var(--gold);
  text-align: left;
  border-radius: 0 12px 12px 0;
  background: rgba(240,165,0,0.04);
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(156,92,245,0.2);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.pillar .pillar-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pillar h4 { font-family: 'Cinzel Decorative', serif; font-size: 0.85rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.pillar p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }

/* CONTACT */
.contact {
  padding: 6rem 2rem;
  background: rgba(255,255,255,0.015);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-light);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(240,165,0,0.5);
  background: rgba(255,255,255,0.07);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(240,165,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: 1rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ABOUT PAGE */
.about-page {
  padding: 9rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0 5rem;
}

.founder-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 24px;
  padding: 2.5rem 2rem;
}

.founder-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mid-purple), var(--purple));
  border: 3px solid rgba(240,165,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.founder-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.founder-card .founder-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.founder-card .founder-role {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.founder-card .bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.founder-card .exp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.founder-card .exp-item::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.story-section {
  max-width: 760px;
  margin: 0 auto 5rem;
}

.story-section p {
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.story-section .hl {
  color: var(--gold-light);
  font-weight: 700;
}

/* CONTACT PAGE */
.contact-page {
  padding: 9rem 2rem 5rem;
  max-width: 960px;
  margin: 0 auto;
}

.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.contact-info .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-info h3.founders-heading {
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-item .icon { font-size: 1.2rem; }

.info-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-item a {
  color: var(--violet);
  text-decoration: none;
  transition: color 0.2s;
}

.info-item a:hover { color: var(--gold); }

.divider {
  border: none;
  border-top: 1px solid rgba(240,165,0,0.1);
  margin: 1.75rem 0;
}

.founders-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,165,0,0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fc-icon { font-size: 1.5rem; }

.fc-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
}

.fc-role {
  font-size: 0.75rem;
  color: var(--violet);
  font-weight: 600;
}

.fc-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.fc-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.fc-links a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,165,0,0.2);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-form--page {
  margin-top: 0;
}

.contact-form textarea.contact-message {
  min-height: 160px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.fade-up-delay {
  transition-delay: 0.12s;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GLOW ORBS */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.orb-1 { width: 400px; height: 400px; background: rgba(124,58,237,0.12); top: 10%; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(240,165,0,0.08); top: 30%; right: -80px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .nav-logo {
    flex: 1;
    min-width: 0;
    order: 1;
  }

  .nav-logo span {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hamburger {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    order: 3;
    flex-direction: column;
    background: rgba(26, 10, 46, 0.98);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(240, 165, 0, 0.1);
    gap: 1.25rem;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 6rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.08em;
  }

  .hero-logo {
    width: 130px;
    height: 130px;
  }

  .about,
  .projects,
  .mission,
  .contact {
    padding: 4rem 1.25rem;
  }

  .about-page,
  .contact-page {
    padding: 7rem 1.25rem 3rem;
  }

  .section-header { margin-bottom: 2.5rem; }

  .about-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 2rem 1.5rem; }

  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 180px; padding: 2rem; }

  .mission-pillars { grid-template-columns: 1fr 1fr; }
  .mission-quote {
    padding: 1.25rem;
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .orb-1 { width: 250px; height: 250px; }
  .orb-2 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .nav-logo img {
    height: 36px;
    width: 36px;
  }

  .mission-pillars { grid-template-columns: 1fr; }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .story-section p { font-size: 0.95rem; }

  .info-item { align-items: flex-start; }
}

.pillar-icon img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.pillar-icon-contact img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}