/* ===========================
   STARTUP WORLD CUP PAKISTAN
   Design: Dark premium event
   Colors: Deep navy, emerald green, gold
   =========================== */

:root {
  --navy: #0a0e1a;
  --navy-mid: #111827;
  --navy-light: #1a2540;
  --green: #1a7a3c;
  --green-bright: #22c55e;
  --green-light: #4ade80;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --white: #ffffff;
  --off-white: #e8eaf0;
  --gray: #8892a4;
  --gray-light: #c5cad6;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.green { color: var(--green-bright); }
.green-text { color: var(--green-bright); }

/* ===========================
   NAVBAR
   =========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--green-bright) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ===========================
   HERO
   =========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-mountains.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: background-image 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,14,26,0.55) 0%,
    rgba(10,14,26,0.35) 40%,
    rgba(10,14,26,0.75) 80%,
    rgba(10,14,26,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(26, 122, 60, 0.85);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.hero-year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--green-bright);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.hero-logo-wrap {
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(34,197,94,0.4));
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gold-light);
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 4px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(26,122,60,0.4);
  margin-bottom: 48px;
}

.hero-btn:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,197,94,0.4);
}

.hero-btn .arrow { font-size: 1.2rem; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(10,14,26,0.7);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
  padding: 20px 32px;
  backdrop-filter: blur(8px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--green-bright);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ===========================
   ABOUT
   =========================== */
.about-section {
  position: relative;
  padding: 100px 0;
  background: var(--navy-mid);
  overflow: hidden;
}

.about-bg-img {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background-image: url('assets/bg-lahore.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 40px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(34,197,94,0.15);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.about-card:hover {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.3);
  transform: translateX(4px);
}

.about-card-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-bright);
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.about-desc {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-event-info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  border-radius: 6px;
}

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

.event-detail strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.event-detail span {
  color: var(--green-bright);
  font-size: 0.9rem;
}

/* ===========================
   PRIZE BANNER
   =========================== */
.prize-banner {
  position: relative;
  padding: 60px 0;
  background: var(--navy);
  overflow: hidden;
}

.prize-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-mountains.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.prize-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.9) 0%, rgba(26,122,60,0.2) 100%);
}

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

.prize-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prize-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(34,197,94,0.2);
}

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

.prize-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.prize-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.prize-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pnum {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
}

.plabel {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-top: 2px;
}

/* ===========================
   PEOPLE SECTIONS (Speakers/Judges/Team)
   =========================== */
.people-section {
  position: relative;
  padding: 80px 0;
  background: var(--navy-mid);
  overflow: hidden;
}

.judges-section {
  background: var(--navy);
}

.flag-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-pakistan-flag.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--white);
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 0;
}

.city-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

.right-label { text-align: right; }
.left-label { text-align: left; }

.finale-label {
  text-align: center;
  margin: 48px 0 24px;
}

.finale-label h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
}

.finale-label h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-bright);
  margin-top: 4px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.people-grid-lg {
  grid-template-columns: repeat(7, 1fr);
}

.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.person-card:hover { transform: translateY(-4px); }

.person-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(34,197,94,0.2);
  background: var(--navy-light);
  margin-bottom: 10px;
  transition: border-color 0.25s;
}

.person-card:hover .person-photo {
  border-color: var(--green-bright);
}

.person-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 3px;
}

.person-role {
  font-size: 0.7rem;
  color: var(--gray);
  line-height: 1.3;
}

/* Team section */
.team-section {
  padding: 80px 0;
  background: var(--navy-mid);
}

.team-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.team-logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

.team-grid .person-photo {
  border-radius: 50%;
  aspect-ratio: 1;
}

/* ===========================
   PARTNERS & SPONSORS
   =========================== */
.partners-section {
  padding: 80px 0;
  background: var(--navy);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.partner-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  transition: all 0.25s ease;
}

.partner-logo:hover {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.3);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0.9) saturate(0.8);
}

.sponsors-title {
  margin-top: 0;
  margin-bottom: 32px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sponsor-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.sponsor-logo:hover {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.3);
}

.sponsor-logo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* ===========================
   REGISTER
   =========================== */
.register-section {
  position: relative;
  padding: 100px 0;
  background: var(--navy-mid);
  overflow: hidden;
}

.register-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-sanfrancisco.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.register-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.register-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 40px;
  color: var(--white);
}

.register-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--green-bright);
  background: rgba(34,197,94,0.05);
}

.role-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray-light);
  font-size: 0.95rem;
}

.role-option:hover {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.3);
  color: var(--white);
}

.role-option input[type="radio"] {
  accent-color: var(--green-bright);
  width: 16px;
  height: 16px;
}

.submit-btn {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 12px;
}

.register-success {
  text-align: center;
  padding: 60px 40px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 12px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.register-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.register-success p {
  color: var(--gray-light);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #060810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--green-bright);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

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

.admin-link {
  color: rgba(255,255,255,0.2) !important;
  font-size: 0.75rem !important;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray);
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .prize-content { grid-template-columns: 1fr; }
  .prize-gallery { display: none; }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .people-grid-lg { grid-template-columns: repeat(4, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(34,197,94,0.15);
  }
  .hamburger { display: flex; }
  .hero-stats { padding: 16px; gap: 0; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 1.3rem; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid-lg { grid-template-columns: repeat(3, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(3, 1fr); }
  .register-form { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-year { animation-delay: 0.3s; }
.hero-logo-wrap { animation-delay: 0.35s; }
.hero-tagline { animation-delay: 0.4s; }
.hero-btn { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
