/* ===== CSS Variables & Reset ===== */
:root {
  --bg-primary: #0f1629;
  --bg-secondary: #161d35;
  --bg-tertiary: #1c2541;
  --bg-card: #1a2240;
  --bg-card-hover: #212b4a;
  --text-primary: #f0ece4;
  --text-secondary: #b8b2a8;
  --text-muted: #8a8378;
  --accent: #f07a2f;
  --accent-light: #f5923f;
  --accent-dark: #d96820;
  --accent-glow: rgba(240, 122, 47, 0.15);
  --border-color: rgba(240, 122, 47, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 122, 47, 0.08);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-bee {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 36px;
}

.nav-list a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--text-primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 22, 41, 0.6) 0%,
    rgba(15, 22, 41, 0.3) 40%,
    rgba(15, 22, 41, 0.7) 80%,
    var(--bg-primary) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(240, 122, 47, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(240, 122, 47, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(240, 122, 47, 0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  50% { opacity: 0.6; transform: translateY(-80px) scale(1); }
}

/* ===== Section Shared ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header .accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* alternating BGs */
.section-alt {
  background: var(--bg-secondary);
}

/* ===== About ===== */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.about-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(240, 122, 47, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== Games ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 122, 47, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.game-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(240, 122, 47, 0.9);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-card-body {
  padding: 24px;
}

.game-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Vision ===== */
.vision-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.vision-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.vision-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(240, 122, 47, 0.25);
}

.vision-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
}

.vision-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.vision-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition);
  min-width: 300px;
  justify-content: center;
}

.contact-link:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  height: 28px;
  opacity: 0.7;
}

.footer-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.7;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 4px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 8px;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 41, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ===== Team Page ===== */
.team-hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 20px;
  background: var(--bg-secondary);
}

.team-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.team-section {
  padding-top: 60px;
}

.founder-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}

.founder-card:hover {
  border-color: rgba(240, 122, 47, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.founder-accent-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

.founder-avatar {
  margin: 0 auto 28px;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 122, 47, 0.15), rgba(240, 122, 47, 0.05));
  border: 2px solid rgba(240, 122, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--accent);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.founder-title {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.founder-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(240, 122, 47, 0.08);
  border: 1px solid rgba(240, 122, 47, 0.15);
  transition: all var(--transition);
  text-decoration: none;
}

.founder-email:hover {
  background: rgba(240, 122, 47, 0.15);
  border-color: rgba(240, 122, 47, 0.35);
  color: var(--accent-light);
  transform: translateY(-1px);
}

.founder-email svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.founder-bio {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

.team-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.philosophy-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(240, 122, 47, 0.25);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.philosophy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.philosophy-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-cards,
  .games-grid,
  .vision-features,
  .team-philosophy {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .nav-list { display: none; }

  .hamburger { display: flex; }

  .mobile-nav { display: flex; }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .section { padding: 72px 0; }

  .about-cards,
  .games-grid,
  .vision-features,
  .team-philosophy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .founder-card {
    padding: 36px 24px;
  }

  .hero-buttons { flex-direction: column; align-items: center; }

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

  .contact-link { min-width: unset; width: 100%; max-width: 340px; }

  .logo-bee { height: 32px; }
  .logo-text { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .container { width: 92%; }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}
