/*
====================================
1. Reset & Base Styles
====================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #333;
}

/* Scroll anchors for smooth scrolling */
#pitches {
  scroll-margin-top: 80px;
}
.form-container {
  scroll-margin-top: 100px;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.text-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
/* Spinner & Error Message */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error-message {
  margin-top: 4px;
  font-size: 13px;
  color: #e63946;
  font-weight: 500;
}

/*
====================================
2. Custom Fonts
====================================
*/
@font-face {
  font-family: "Barionette Script PERSONAL USE";
  src: url("./Barionette-Script-Font/BarionetteScript_PERSONAL_USE_ONLY.otf") format("opentype");
}
@font-face {
  font-family: "Ocean Trace-Personal use";
  src: url("./ocean-trace-personal-use/OceanTrace.ttf") format("truetype");
}
@font-face {
  font-family: "Nexa-Trial";
  src: url("./fonts/Nexa-Trial.otf") format("opentype");
}


/*
====================================
3. Header Styles
====================================
*/

/* Header Top - Logo Area */
.header-top {
  width: 100%;
  max-width: 1920px;
  height: 64px;
  flex-shrink: 0;
  background: #D9D9D9;
  position: relative;
  margin: 0 auto;
}
.header-top .logo {
  position: absolute;
  width: 202px;
  height: 143px;
  flex-shrink: 0;
  aspect-ratio: 202/143;
  top: -39px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-top .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Header Bottom - Navigation */
.header-bottom {
  width: 100%;
  max-width: 1920px;
  height: 64px;
  flex-shrink: 0;
  background: #2B1215;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.header-bottom nav ul {
  list-style: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 46px;
}
.header-bottom nav a {
  text-decoration: none;
  color: #FFF;
  font-family: "Nexa-Trial", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-bottom nav a:hover {
  text-decoration: underline;
}

/*
====================================
4. Hero Section
====================================
*/
.hero-section {
  width: 1920px;
  height: 2120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  margin: 0 auto;
}
.hero-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 100%;
}
/* Hero Image */
.hero-image {
  width: 486px;
  height: 612px;
  flex-shrink: 0;
  aspect-ratio: 27/34;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hero Content */
.hero-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100%;
}
/* Heading (with animated gradient) */
.hero-content h2 {
  display: flex;
  width: 710px;
  height: 210px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Nexa", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  background: linear-gradient(90deg, #5b2b2a, #f1c40f, #5b2b2a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 8s linear infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Description */
.hero-content p.description {
  width: 709px;
  color: #000000;
  font-family: "Barionette Script PERSONAL USE", cursive, Arial, sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.84px;
  margin-top: 30px;
  margin-bottom: 80px;
}
/* Signature */
.hero-content p.signature {
  position: absolute;
  right: 40px;
  bottom: 120px;
  color: #000;
  font-family: "Ocean Trace-Personal use", cursive, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.72px;
  text-transform: capitalize;
}
/* JOIN NOW Button */
.btn {
  display: flex;
  width: 158px;
  height: 56px;
  padding: 14px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #2B1215;
  color: #FFF;
  font-family: "Nexa", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-5px) scale(1.08);
  background: #5b2b2a;
  box-shadow: 0 15px 25px rgba(91, 43, 42, 0.5);
}


/*
====================================
5. Pitches and Form Section
====================================
*/
.pitches-and-form {
  position: relative;
}

/* Tribe Banner */
.tribe-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  margin-bottom: 70px;
}
.tribe-banner .arrows:first-child {
  width: 39px;
  height: 39px;
  margin-right: 3rem;
}
.tribe-banner .arrows:last-child {
  width: 39px;
  height: 39px;
  margin-left: 3rem;
}
.tribe-banner h2 {
  margin: 0;
  font-family: "Nexa-Trial", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 30px;
}
.tribe-banner .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tribe-banner .logo img {
  width: 300px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  aspect-ratio: 222 / 157;
  margin-left: -10px;
  margin-right: -10px;
}

/* Title Box & Arrow */
.title-box {
  text-align: center;
  margin-bottom: 10px;
}
.form-title {
  color: #000;
  font-family: "Nexa-Trial", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: 149.417%;
  text-transform: capitalize;
  margin-bottom: -30px;
  letter-spacing: 2px;
  text-align: right;
  margin-right: 9rem;
}
.arrow-down {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  transform: rotate(90deg);
  display: inline-block;
  object-fit: contain;
  margin-right: -42rem;
  vertical-align: right;
  margin-bottom: -50px;
}

/* Left Side - Pitches */
.pitches-section {
  flex: 1;
  max-width: 500px;
  margin-right: 90px;
  margin-bottom: 50px;
}
/* .section-number removed, as it's not in the HTML */
.pitch {
  margin-bottom: 40px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(139, 115, 85, 0.2);
  transition: all 0.3s ease;
}
.pitch:hover {
  transform: translateX(10px);
  background: rgba(139, 115, 85, 0.05);
  padding-left: 20px;
  border-radius: 10px;
}
.pitch:last-child {
  border-bottom: none;
}
.pitch-title {
  font-size: 20px;
  font-weight: 800;
  color: #2c2c2c;
  font-family: "Nexa-Trial", Arial, sans-serif;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.pitch-text {
  font-size: 20px;
  color: #5a5a5a;
  font-family: "Nexa-Trial", Arial, sans-serif;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Right Side - Form */
.form-section {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-container {
  width: 632px;
  height: 546px;
  flex-shrink: 0;
  margin-left: 90px;
  margin-bottom: 70px;
  background: #2B1215;
  border-radius: 62px;
  position: relative;
  overflow: hidden;
  padding: 50px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.form-group {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
}
.form-input {
  width: 100%;
  max-width: 532px;
  height: 77px;
  background: #FFF;
  border-radius: 16px;
  border: 2px solid transparent;
  padding: 0 20px;
  font-size: 18px;
  font-family: inherit;
  color: #2c2c2c;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: #8b7355;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.25);
}
.form-input::placeholder {
  font-family: 'Nexa', Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  color:#908C8C;
  font-style: normal;
  text-transform: capitalize;
  opacity: 0.9;
}

/* Birthday Group Styling */
.birthday-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 380px;
}
.birthday-label {
  color: #908C8C;
  font-family: 'Nexa-Trial', Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
}
.birthday-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-input.birthday-input {
  width: 80px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: #4a4a4a;
  background: #f7f5f3;
  font-family: 'Nexa-Trial', Arial, sans-serif;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.05), -1px -1px 4px rgba(255,255,255,0.6);
}
.form-input.birthday-input:focus {
  outline: none;
  border-color: #7a6f61;
  box-shadow: 0 0 5px rgba(122,111,97,0.3);
}
.form-input.birthday-input::placeholder {
  color: #aaa;
  font-weight: 400;
}
.calendar-btn {
  width: 50px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f7f5f3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #7a6f61;
  transition: all 0.2s ease;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.05), -1px -1px 4px rgba(255,255,255,0.6);
}
.calendar-btn:hover {
  background: #ece7e1;
  color: #5f5345;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.05), inset 0 0 3px rgba(255,255,255,0.3);
}
.calendar-btn:active {
  transform: scale(0.97);
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.1), inset -1px -1px 4px rgba(255,255,255,0.4);
}

/* Submit Section (Email + Button) */
.submit-section {
  display: flex;
  align-items: center;
  width: 535px;
  height: 77px;
  flex-shrink: 0;
  background: #FFF;
  border-radius: 18px;
  overflow: hidden;
}
.form-input.email-input-submit {
  width: 126.803px;
  height: 50px;
  padding: 0 20px;
  border: none;
  background: transparent;
  color: #908C8C;
  font-family: 'Nexa-Trial', Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  outline: none;
  flex: 1;
  box-sizing: border-box;
}
.form-input.email-input-submit::placeholder {
  color: #999;
  font-weight: 400;
  font-family: 'Nexa-Trial', Arial, sans-serif;
  font-size: 19px;
  font-style: normal;
}
.form-input.email-input-submit:focus {
  outline: none;
}
.submit-btn {
  width: 167.589px;
  height: 77px;
  flex-shrink: 0;
  padding: 12px 20px;
  background: #533338;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}
.submit-btn:hover {
  background: #7A3A0F;
}
.submit-btn:active {
  transform: scale(0.98);
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.submit-btn::before {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}


/*
====================================
6. Countdown Section
====================================
*/
.countdown-container {
  margin: 4rem 0;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Arial', sans-serif;
  flex-wrap: wrap;
}
.countdown-item {
  text-align: center;
  min-width: 90px;
  background: #f0f0f0;
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.countdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.countdown-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  color: #111;
}
.countdown-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
}


/*
====================================
7. Media Queries (Responsiveness)
====================================
*/

@media(max-width: 900px) {
  /* Header */
  .header-top, .header-bottom { width: 100%; }
  
  /* Hero */
  .hero-container { flex-direction: column; }
  .hero-image img { width: 80%; height: auto; }
  .hero-content { text-align: center; padding: 20px; }
  .btn { margin: 20px auto; }
  .signature {
    position: static;
    margin: 10px auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Countdown */
  .countdown-container {
    gap: 1.5rem;
  }
  .countdown-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  /* Countdown */
  .countdown-item {
    min-width: 60px;
    padding: 1rem;
  }
  .countdown-number {
    font-size: 2.5rem;
  }
  .countdown-label {
    font-size: 0.8rem;
  }
  .countdown-container {
    gap: 15px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Body styles for this range if needed */
  /* body { } */
}