/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --black: #0a0a0a;
  --dark: #111;
  --card: #1a1a1a;
  --gold: #f5a623;
  --gold-light: #ffd700;
  --red: #e53935;
  --white: #f5f5f5;
  --gray: #888;
  --font-display: 'Bangers', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden
}

a {
  text-decoration: none;
  color: inherit
}

.gold {
  color: var(--gold)
}

.red {
  color: var(--red)
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 166, 35, .12);
  transition: .3s
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem
}

#nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 166, 35, .3)
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px
}

.nav-links {
  display: flex;
  list-style: none;
  gap: .2rem;
  align-items: center
}

.nav-link {
  padding: .5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  transition: .25s
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold)
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #e8961f);
  color: #000 !important;
  font-weight: 700;
  border-radius: 20px;
  padding: .5rem 1.2rem !important
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 166, 35, .4)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: .3s
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 5rem;
  background: var(--black);
  overflow: hidden
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 35%, rgba(245, 166, 35, .1) 0%, transparent 55%), radial-gradient(ellipse at 75% 65%, rgba(229, 57, 53, .07) 0%, transparent 45%), radial-gradient(ellipse at 50% 80%, rgba(245, 166, 35, .05) 0%, transparent 40%)
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, .06);
  pointer-events: none
}

.ring1 {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinSlow 30s linear infinite
}

.ring2 {
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(229, 57, 53, .04);
  animation: spinSlow 45s linear infinite reverse
}

@keyframes spinSlow {
  to {
    transform: translate(-50%, -50%) rotate(360deg)
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), #c62828);
  color: #fff;
  padding: .55rem 1.4rem;
  border-radius: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 1px;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 15px rgba(229, 57, 53, .3)
}

a.hero-badge {
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s;
}

a.hero-badge:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.55);
}

.bounce {
  animation: bounce 2s infinite
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.hero-logo-wrap {
  margin: 0 auto 1rem;
  position: relative
}

.hero-logo {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(245, 166, 35, .25));
  animation: logoFloat 4s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, #000 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 75% at center, #000 40%, transparent 72%)
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase
}

.tagline-dot {
  margin: 0 .6rem;
  opacity: .5
}

.hero-sub {
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1.5rem
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem
}

.tag {
  background: rgba(245, 166, 35, .08);
  border: 1px solid rgba(245, 166, 35, .2);
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .82rem;
  color: var(--gold);
  transition: .25s
}

.tag:hover {
  background: rgba(245, 166, 35, .15);
  transform: translateY(-2px)
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: .93rem;
  border: none;
  cursor: pointer;
  transition: .3s
}

.btn-yt {
  background: #e53935;
  color: #fff
}

.btn-yt:hover {
  background: #c62828;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, .4)
}

.btn-ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff
}

.btn-ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(131, 58, 180, .4)
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e8961f);
  color: #000
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, .4)
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem
}

.btn-full {
  width: 100%;
  justify-content: center
}

/* Hero QR */
.hero-qr {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 3;
  text-align: center;
  animation: fadeInUp 1s .5s both
}

.qr-img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  border: 3px solid rgba(245, 166, 35, .3);
  transition: .3s;
  background: #fff;
  padding: 4px
}

.qr-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(245, 166, 35, .3)
}

.qr-label {
  display: block;
  font-size: .7rem;
  color: var(--gray);
  margin-top: .4rem;
  letter-spacing: 1px;
  font-family: var(--font-heading)
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray);
  font-size: .75rem;
  z-index: 3
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  margin: .5rem auto 0;
  animation: scrollBounce 1.5s infinite
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0)
  }

  50% {
    transform: rotate(45deg) translateY(6px)
  }
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold), #e8961f, var(--red), #e8961f, var(--gold));
  padding: .6rem 0;
  overflow: hidden;
  white-space: nowrap
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 2px;
  flex-shrink: 0
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 2.5rem 2rem
}

.stats-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center
}

.stat-item {
  padding: 1rem
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold)
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold)
}

.stat-label {
  display: block;
  font-size: .75rem;
  color: var(--gray);
  margin-top: .3rem;
  letter-spacing: 1px;
  text-transform: uppercase
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem
}

.section-container {
  max-width: 1100px;
  margin: 0 auto
}

.section-label {
  font-family: var(--font-heading);
  color: var(--red);
  font-size: .85rem;
  letter-spacing: 3px;
  margin-bottom: .5rem;
  text-transform: uppercase
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  line-height: 1.2
}

.section-desc {
  color: #aaa;
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 2.5rem
}

/* ABOUT */
.about-section {
  background: var(--dark)
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem
}

.about-card {
  position: relative;
  background: rgba(26, 26, 26, .6);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  padding: 2rem;
  overflow: hidden;
  transition: .4s
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold)
}

.about-card.glass {
  backdrop-filter: blur(10px)
}

.about-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: .5rem
}

.about-card p {
  color: #999;
  font-size: .9rem;
  line-height: 1.6
}

.card-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: .5s;
  pointer-events: none;
  bottom: -30px;
  right: -30px
}

.glow-gold {
  background: var(--gold)
}

.glow-red {
  background: var(--red)
}

.about-card:hover .card-glow {
  opacity: .15
}

/* CONTENT */
.content-section {
  background: var(--black)
}

.content-posts-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.content-post {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.content-post:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(245, 166, 35, 0.05);
}

.post-image-container {
  flex: 1.1;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-post:hover .post-image {
  transform: scale(1.04);
}

.post-details {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.post-badge {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.post-desc {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.post-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.post-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.post-list li:last-child {
  margin-bottom: 0;
}

/* Alternating rows for desktop screens */
@media (min-width: 992px) {
  .content-post:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Responsive grid/stack for tablets & mobile */
@media (max-width: 991px) {
  .content-posts-list {
    gap: 3.5rem;
  }
  
  .content-post {
    flex-direction: column;
    gap: 2rem;
    padding: 1.8rem;
    align-items: stretch;
  }
  
  .post-image-container {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .post-desc {
    font-size: 0.95rem;
  }
}

/* TEAM */
.team-section {
  background: var(--dark)
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem
}

.role-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 1.8rem;
  text-align: center;
  transition: .35s
}

.role-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(245, 166, 35, .1)
}

.role-card.highlight {
  border-color: rgba(245, 166, 35, .2)
}

.role-emoji {
  font-size: 2.5rem;
  margin-bottom: .6rem
}

.role-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: .4rem
}

.role-card p {
  color: #999;
  font-size: .82rem;
  line-height: 1.5
}

.join-cta-wrap {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, .08), rgba(229, 57, 53, .05));
  border-radius: 20px;
  border: 1px solid rgba(245, 166, 35, .15)
}

.cta-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  letter-spacing: 1.5px
}

/* ===== CONNECT ===== */
.connect-section {
  background: var(--black)
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto
}

.connect-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: .4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem
}

.connect-card:hover {
  transform: translateY(-4px)
}

.connect-icon svg {
  width: 36px !important;
  height: 36px !important;
}

.qr-card {
  border-color: rgba(245, 166, 35, .2)
}

.qr-card:hover {
  box-shadow: 0 12px 35px rgba(245, 166, 35, .12)
}

.connect-qr {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 3px solid rgba(245, 166, 35, .25);
  background: #fff;
  padding: 8px;
  margin-bottom: .5rem
}

.connect-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem
}

.connect-card p {
  color: #999;
  font-size: .8rem;
  line-height: 1.4
}

.yt-card {
  border-color: rgba(229, 57, 53, .2)
}

.yt-card:hover {
  border-color: #e53935;
  box-shadow: 0 12px 35px rgba(229, 57, 53, .12)
}

.yt-card .connect-icon {
  color: #e53935
}

.ig-card {
  border-color: rgba(193, 53, 132, .2)
}

.ig-card:hover {
  border-color: #c13584;
  box-shadow: 0 12px 35px rgba(193, 53, 132, .12)
}

.ig-card .connect-icon {
  color: #c13584
}

.connect-action {
  font-family: var(--font-heading);
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-top: auto
}

/* LOCATION */
.location-section {
  background: var(--dark)
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center
}

.location-address {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6
}

.contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.contact-btn {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: .6rem 1.2rem;
  border-radius: 10px;
  font-size: .9rem;
  transition: .25s
}

.contact-btn:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.map-mock {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 3rem;
  text-align: center
}

.map-pin {
  font-size: 3rem;
  margin-bottom: .5rem;
  animation: bounce 2s infinite
}

.map-mock p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold)
}

.map-mock small {
  color: var(--gray)
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 3rem 2rem 1.5rem
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .8rem
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 166, 35, .2)
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 2px
}

.footer-tagline {
  font-size: .7rem;
  color: var(--gray);
  letter-spacing: 3px
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap
}

.footer-links a {
  color: var(--gray);
  font-size: .9rem;
  transition: .25s
}

.footer-links a:hover {
  color: var(--gold)
}

.footer-social {
  display: flex;
  gap: 1rem
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 10px;
  font-size: .85rem;
  transition: .25s
}

.social-btn.yt {
  background: rgba(229, 57, 53, .15);
  color: #e53935
}

.social-btn.yt:hover {
  background: #e53935;
  color: #fff
}

.social-btn.ig {
  background: rgba(193, 53, 132, .15);
  color: #c13584
}

.social-btn.ig:hover {
  background: #c13584;
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1rem;
  color: var(--gray);
  font-size: .8rem;
  text-align: center
}

.footer-sponsor {
  margin-top: .3rem;
  font-size: .75rem
}

/* ===== JOIN PAGE ===== */
.join-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  background: var(--black);
  overflow: hidden;
  text-align: center
}

.join-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, .1), transparent 70%)
}

.join-hero-content {
  position: relative;
  z-index: 2
}

.join-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem
}

.join-subtitle {
  font-family: var(--font-heading);
  color: var(--gray);
  font-size: 1.1rem;
  letter-spacing: 2px
}

.floating-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.fe {
  position: absolute;
  font-size: 1.8rem;
  opacity: .2;
  animation: floatEmoji 6s infinite ease-in-out
}

.fe1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s
}

.fe2 {
  top: 25%;
  right: 12%;
  animation-delay: 1s
}

.fe3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 2s
}

.fe4 {
  top: 40%;
  right: 8%;
  animation-delay: 3s
}

.fe5 {
  bottom: 30%;
  right: 20%;
  animation-delay: 4s
}

.fe6 {
  top: 60%;
  left: 5%;
  animation-delay: 5s
}

@keyframes floatEmoji {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  50% {
    transform: translateY(-20px) rotate(10deg)
  }
}

/* PERKS */
.perks-section {
  background: var(--dark)
}

.perks-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center
}

.perks-card {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .06)
}

.perks-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: 1.2rem
}

.perks-card ul {
  list-style: none
}

.perks-card li {
  padding: .4rem 0;
  font-size: .9rem;
  color: #ccc
}

.get-card {
  border-color: rgba(76, 175, 80, .2)
}

.need-card {
  border-color: rgba(245, 166, 35, .2)
}

.perks-center {
  text-align: center
}

.perks-fire {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite
}

.perks-slogan {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 1px
}

/* FORM */
.form-section {
  background: var(--black)
}

.form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start
}

.form-card {
  background: var(--card);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(245, 166, 35, .1)
}

.email-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(245, 166, 35, .08);
  border: 1px solid rgba(245, 166, 35, .2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem
}

.email-notice-icon {
  font-size: 2rem
}

.email-link {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-top: .2rem
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-group {
  margin-bottom: 1.2rem
}

.form-group label {
  display: block;
  font-size: .85rem;
  color: #aaa;
  margin-bottom: .4rem;
  font-weight: 500
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: .25s;
  outline: none
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .1)
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center
}

.form-group select option {
  background: var(--card);
  color: var(--white)
}

.form-group textarea {
  resize: vertical;
  min-height: 80px
}

/* Validation Error Styles */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
}

.form-group.has-error label {
  color: var(--red) !important;
}

.error-message {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  font-weight: 500;
  animation: errorFadeIn 0.25s ease-out;
}

@keyframes errorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resume-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(229, 57, 53, .08);
  border: 1px solid rgba(229, 57, 53, .2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem
}

.resume-icon {
  font-size: 2rem
}

.resume-section strong {
  color: var(--white)
}

.resume-section p {
  font-size: .85rem;
  color: #aaa;
  margin-top: .2rem
}

.email-inline {
  color: var(--gold);
  font-weight: 600
}

.resume-hint {
  font-style: italic;
  font-size: .8rem !important;
  color: var(--gray) !important
}

.direct-email-card {
  background: var(--card);
  border: 1px solid rgba(245, 166, 35, .1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center
}

.direct-email-icon {
  font-size: 3rem;
  margin-bottom: 1rem
}

.direct-email-card h3 {
  font-family: var(--font-heading);
  margin-bottom: .8rem
}

.direct-email-card p {
  color: #aaa;
  font-size: .9rem;
  margin-bottom: 1rem
}

.email-direct-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e8961f);
  color: #000;
  font-weight: 700;
  padding: .8rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: .3s
}

.email-direct-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 166, 35, .3)
}

.email-template-hint {
  font-size: .8rem;
  color: var(--gray);
  margin-top: .5rem
}

.join-roles-section {
  background: var(--black)
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, .97);
    flex-direction: column;
    padding: 1rem;
    gap: .3rem;
    border-bottom: 1px solid rgba(245, 166, 35, .1)
  }

  .nav-links.open {
    display: flex
  }

  .hamburger {
    display: flex
  }

  .hero {
    padding: 5rem 1.5rem 2rem
  }

  .hero-logo {
    max-width: 260px
  }

  .hero-qr {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 2rem auto 0
  }

  .hero-ring {
    display: none
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr)
  }

  .section-title {
    font-size: 2rem
  }

  .connect-grid {
    grid-template-columns: 1fr
  }

  .location-card {
    grid-template-columns: 1fr
  }

  .perks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .perks-center {
    order: -1
  }

  .form-wrapper {
    grid-template-columns: 1fr
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .join-title {
    font-size: 2.5rem
  }

  .footer-top {
    flex-direction: column;
    text-align: center
  }

  .footer-links,
  .footer-social {
    justify-content: center
  }
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  background: var(--black);
  overflow: hidden;
  text-align: center
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, .1), transparent 70%)
}

.about-hero-content {
  position: relative;
  z-index: 2
}

.about-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem
}

.about-subtitle {
  font-family: var(--font-heading);
  color: var(--gray);
  font-size: 1.1rem;
  letter-spacing: 2px
}

.about-intro-section {
  background: var(--dark)
}

.story-section {
  background: var(--black)
}

.story-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  padding: 3rem
}

.story-info {
  display: flex;
  flex-direction: column
}

.story-text {
  color: #aaa;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem
}

.story-text:last-child {
  margin-bottom: 0
}

.story-graphic-card {
  position: relative;
  background: rgba(10, 10, 10, .5);
  border: 1px solid rgba(245, 166, 35, .15);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.graphic-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none
}

.story-graphic-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, .35));
  animation: logoFloat 4s ease-in-out infinite
}

.story-graphic-card h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: .3rem
}

.story-graphic-card p {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: 1px;
  text-transform: uppercase
}

.about-cta-section {
  background: var(--dark)
}

.about-cta-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, .08), rgba(229, 57, 53, .05));
  border-radius: 20px;
  border: 1px solid rgba(245, 166, 35, .15);
  max-width: 800px;
  margin: 0 auto
}

.about-cta-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px
}

.about-cta-card p {
  color: #ccc;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1.8rem;
  line-height: 1.6
}

@media(max-width:768px) {
  .about-title {
    font-size: 2.5rem
  }
  .story-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem
  }
  .about-cta-card h3 {
    font-size: 1.8rem
  }
}

/* ===== CONTENT PAGE ===== */
.content-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  background: var(--black);
  overflow: hidden;
  text-align: center
}

.content-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, .1), transparent 70%)
}

.content-hero-content {
  position: relative;
  z-index: 2
}

.content-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem
}

.content-subtitle {
  font-family: var(--font-heading);
  color: var(--gray);
  font-size: 1.1rem;
  letter-spacing: 2px
}

.content-intro-section {
  background: var(--dark)
}

.showcase-section {
  background: var(--black)
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem
}

.showcase-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  overflow: hidden;
  transition: .35s;
  display: flex;
  flex-direction: column
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(245, 166, 35, .1)
}

.card-video-mock {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.mock-sketches {
  background: linear-gradient(135deg, #2b1055, #7597de)
}

.mock-reactions {
  background: linear-gradient(135deg, #1f4037, #99f2c8)
}

.mock-roast {
  background: linear-gradient(135deg, #f12711, #f5af19)
}

.play-btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: 4px;
  transition: .3s;
  box-shadow: 0 4px 15px rgba(245, 166, 35, .4)
}

.showcase-card:hover .play-btn-circle {
  transform: scale(1.15);
  background: var(--gold-light);
  box-shadow: 0 0 25px rgba(245, 166, 35, .6)
}

.showcase-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: .6rem
}

.showcase-tag {
  align-self: flex-start;
  padding: .25rem .7rem;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px
}

.tag-red {
  background: rgba(229, 57, 53, .15);
  color: var(--red)
}

.tag-gold {
  background: rgba(245, 166, 35, .15);
  color: var(--gold)
}

.showcase-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.3
}

.showcase-info p {
  color: #aaa;
  font-size: .88rem;
  line-height: 1.5
}

.subscribe-cta-section {
  background: var(--dark)
}

.subscribe-cta-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, .08), rgba(229, 57, 53, .05));
  border-radius: 20px;
  border: 1px solid rgba(245, 166, 35, .15);
  max-width: 800px;
  margin: 0 auto
}

.subscribe-cta-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px
}

.subscribe-cta-card p {
  color: #ccc;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6
}

.subscribe-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}

@media(max-width:768px) {
  .content-title {
    font-size: 2.5rem
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }
  .subscribe-cta-card h3 {
    font-size: 1.8rem
  }
}

/* ===== TEAM PAGE ===== */
.team-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  background: var(--black);
  overflow: hidden;
  text-align: center
}

.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, .1), transparent 70%)
}

.team-hero-content {
  position: relative;
  z-index: 2
}

.team-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem
}

.team-subtitle {
  font-family: var(--font-heading);
  color: var(--gray);
  font-size: 1.1rem;
  letter-spacing: 2px
}

.team-roles-section {
  background: var(--dark)
}

.core-team-section {
  background: var(--black)
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem
}

.crew-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  margin: 1rem auto 0;
  gap: 1.5rem
}

.crew-grid.two-cols .crew-card {
  padding: 2rem 1.5rem;
}

.founder-card-wrap {
  max-width: 500px;
  margin: 0 auto 3rem
}

.founder-card-wrap .crew-card {
  padding: 2.5rem 2rem;
  border-color: rgba(245, 166, 35, .25);
  box-shadow: 0 10px 25px rgba(245, 166, 35, .05)
}

.founder-card-wrap .crew-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(245, 166, 35, .12)
}

.founder-card-wrap .crew-avatar {
  width: 75px;
  height: 75px;
  font-size: 2.1rem;
  background: rgba(245, 166, 35, .15);
  border-color: var(--gold)
}

.founder-card-wrap .crew-card:hover .crew-avatar {
  background: rgba(245, 166, 35, .25);
  border-color: var(--gold);
  color: var(--gold)
}

.crew-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: .35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem
}

.crew-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(229, 57, 53, .08)
}

.crew-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.1);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: .4rem
}

.crew-card:hover .crew-avatar {
  background: rgba(229, 57, 53, 0.1);
  border-color: var(--red);
  color: var(--red);
  transform: scale(1.08);
  transition: .3s
}

.crew-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white)
}

.crew-role {
  font-size: .82rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px
}

.crew-card p {
  color: #999;
  font-size: .88rem;
  line-height: 1.5;
  margin-top: .4rem
}

.team-cta-section {
  background: var(--dark)
}

.team-cta-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, .08), rgba(229, 57, 53, .05));
  border-radius: 20px;
  border: 1px solid rgba(245, 166, 35, .15);
  max-width: 800px;
  margin: 0 auto
}

.team-cta-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px
}

.team-cta-card p {
  color: #ccc;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6
}

@media(max-width:768px) {
  .team-title {
    font-size: 2.5rem
  }
  .crew-grid,
  .crew-grid.two-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }
  .team-cta-card h3 {
    font-size: 1.8rem
  }
}

/* ===== CONNECT PAGE ===== */
.connect-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  background: var(--black);
  overflow: hidden;
  text-align: center
}

.connect-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, .1), transparent 70%)
}

.connect-hero-content {
  position: relative;
  z-index: 2
}

.connect-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem
}

.connect-subtitle {
  font-family: var(--font-heading);
  color: var(--gray);
  font-size: 1.1rem;
  letter-spacing: 2px
}

.connect-grid-section {
  background: var(--black)
}

@media(max-width:768px) {
  .connect-title {
    font-size: 2.5rem
  }
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 15px 40px rgba(245, 166, 35, 0.15);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-content p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.modal-content .btn {
  padding: 0.7rem 2.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  display: block;
  transition: transform 0.3s ease;
  outline: none;
  box-shadow: none;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
}

.whatsapp-float:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float img {
    width: 50px;
    height: 50px;
  }
}

/* WhatsApp Tooltip Styles */
.whatsapp-tooltip {
  position: absolute;
  bottom: 75px; /* Positioned directly above the 60px button */
  right: 0; /* Aligned with the right edge of the button */
  background: var(--card);
  color: var(--white);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px; /* Center of the 60px button */
  width: 10px;
  height: 10px;
  background: var(--card);
  border-right: 1px solid rgba(245, 166, 35, 0.3);
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
  transform: rotate(45deg);
}

.whatsapp-float.show-tooltip .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tooltip-close {
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.2s;
}

.tooltip-close:hover {
  color: var(--gold);
}

@media (max-width: 480px) {
  .whatsapp-tooltip {
    bottom: 65px; /* Positioned directly above the smaller 50px button */
    right: 0px;
    transform: translateY(10px) scale(0.9);
  }
  .whatsapp-tooltip::after {
    top: auto;
    bottom: -6px;
    right: 20px; /* Center of the smaller 50px button */
    left: auto;
    transform: rotate(45deg);
    border-top: none;
    border-left: none;
    border-right: 1px solid rgba(245, 166, 35, 0.3);
    border-bottom: 1px solid rgba(245, 166, 35, 0.3);
  }
  .whatsapp-float.show-tooltip .whatsapp-tooltip {
    transform: translateY(0) scale(1);
  }
}


/* ===== APPLICATION FORM MODAL ===== */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.app-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.app-modal {
  background: #111;
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem 2rem 2rem;
  position: relative;
  transform: translateY(40px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), opacity 0.3s ease;
  opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,166,35,.3) transparent;
}

.app-modal::-webkit-scrollbar { width: 5px; }
.app-modal::-webkit-scrollbar-track { background: transparent; }
.app-modal::-webkit-scrollbar-thumb { background: rgba(245,166,35,.3); border-radius: 4px; }

.app-modal-overlay.open .app-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.app-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.app-modal-close:hover {
  background: rgba(229,57,53,.3);
  transform: rotate(90deg);
}

.app-modal-header {
  text-align: center;
  margin-bottom: 1.6rem;
  padding-right: 2rem;
}

.app-modal-header .modal-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), #c62828);
  color: #fff;
  padding: .3rem 1rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: .8rem;
  letter-spacing: 1.5px;
  margin-bottom: .7rem;
}

.app-modal-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.app-modal-header p {
  color: #888;
  font-size: .88rem;
  margin-top: .4rem;
}

/* Email notice inside modal */
.app-modal .email-notice {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(245,166,35,.06);
  border: 1px solid rgba(245,166,35,.15);
  border-radius: 10px;
  padding: .8rem 1rem;
  margin-bottom: 1.4rem;
  font-size: .85rem;
  color: #ccc;
}

.app-modal .email-notice .email-notice-icon { font-size: 1.4rem; }
.app-modal .email-notice a { color: var(--gold); font-weight: 600; }

/* Form rows & groups */
.app-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-modal .form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.app-modal .form-group:last-child { margin-bottom: 0; }

.app-modal .form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: #ccc;
  letter-spacing: .3px;
}

.app-modal .form-group input,
.app-modal .form-group select,
.app-modal .form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.app-modal .form-group input:focus,
.app-modal .form-group select:focus,
.app-modal .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,.1);
}

.app-modal .form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23f5a623' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.app-modal .form-group select option { background: #1a1a1a; color: #fff; }

.app-modal .form-group input::placeholder,
.app-modal .form-group textarea::placeholder { color: #555; }

.app-modal .form-group.has-error input,
.app-modal .form-group.has-error select,
.app-modal .form-group.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}

.app-modal .error-message {
  font-size: .75rem;
  color: var(--red);
  margin-top: .2rem;
}

/* Resume hint */
.app-modal .resume-section {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .9rem 1rem;
  margin: 1rem 0;
  font-size: .83rem;
  color: #999;
}

.app-modal .resume-section .resume-icon { font-size: 1.4rem; flex-shrink: 0; }
.app-modal .resume-section a { color: var(--gold); font-weight: 600; }
.app-modal .resume-hint { font-size: .75rem; color: #666; margin-top: .3rem; }

/* Submit button */
.app-modal .btn-submit-modal {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

/* Success state inside modal */
.app-modal-success {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.app-modal-success .success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: popIn .4s cubic-bezier(.22,.68,0,1.4);
}

@keyframes popIn {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.app-modal-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

.app-modal-success p { color: #aaa; margin-bottom: 1.5rem; }

/* Mobile */
@media (max-width: 540px) {
  .app-modal {
    padding: 1.6rem 1.2rem 1.4rem;
    border-radius: 16px;
  }
  .app-modal .form-row {
    grid-template-columns: 1fr;
  }
  .app-modal-header h2 { font-size: 1.6rem; }
}
