body {
  margin: 0;
  padding: 0;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

html, body {
  overflow-y: hidden;
  min-height: 100vh;
}

.background-circles {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.circle {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e53935 60%, #8e0e13 100%);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
}
.circle1 {
  width: 160px;
  height: 160px;
  top: 40px;
  right: 120px;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: -2;
  pointer-events: none;
}
.circle2 {
  width: 140px;
  height: 140px;
  top: 320px;
  left: 320px;
  transform: translate3d(0, 0, 0) scale(1);
}
.circle3 {
  width: 120px;
  height: 120px;
  bottom: 120px;
  left: 80px;
  transform: translate3d(0, 0, 0) scale(1);
}
.circle4 {
  width: 100px;
  height: 100px;
  bottom: 80px;
  right: 220px;
  transform: translate3d(0, 0, 0) scale(1);
}

header {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px;
  z-index: 2;
  position: relative;
}
.logo-group {
  display: flex;
  gap: 80px;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-xpeople img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #000;
}

.logo-xpeople {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  z-index: 2;
  position: relative;
}
.event-details {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.showcase-title {
  color: #e53935;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 40px 0;
  text-align: center;
}
.lineup {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  line-height: 2.2rem;
}

.submission-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 40px auto;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  flex: 1;
}

.submission-form input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.submission-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.submission-form input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.submission-form input:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.apply-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 10px;
}

.apply-btn:hover {
  background: linear-gradient(135deg, #f5f5f5 0%, #d0d0d0 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

footer {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 2;
}
.sponsors {
  display: flex;
  gap: 120px;
  align-items: center;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-image-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 40px;
}

.form-column {
  margin-right: 0px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 50%;
  max-width: 600px;
  margin-left: 280px;
}

.website-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 81vh; /* reduced by 10% */
  max-height: 81vh; /* reduced by 10% */
  flex: 1 1 50%;
  margin-top: 3.6% !important;
}

.website-image img {
  height: 99vh; /* reduced by 10% */
  max-height: 99vh; /* reduced by 10% */
  width: auto;
  max-width: 63vw; /* reduced by 10% */
  object-fit: contain;
}

.form-title {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.icon svg {
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border-radius: 8px;
}

.icon:hover svg {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.form-error-box {
  background: #111;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  letter-spacing: 0.5px;
  display: none;
}
.form-error-box div + div {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .logo-group {
    gap: 30px;
  }
  .sponsors {
    gap: 40px;
  }
  .showcase-title {
    font-size: 2rem;
  }
  .event-details, .lineup {
    font-size: 1rem;
  }
  .circle1, .circle2, .circle3, .circle4 {
    width: 70px !important;
    height: 70px !important;
  }
  
  .submission-form {
    margin: 15px;
    padding: 35px 25px;
    max-width: 95%;
    
  }
  
  .form-row {
    flex-direction: column;
    gap: 18px;

  }
  
  .submission-form input {
    padding: 16px 18px;
    font-size: 1rem;
  }
  
  .apply-btn {
    padding: 18px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  html, body {
    overflow-y: auto;
  }
  .form-image-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    min-height: unset;
    padding-bottom: 60px;
  }
  .website-image {
    order: 1;
    height: auto;
    max-height: none;
    margin-left: 0 !important;
    margin-top: -55px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    width: 100vw;
    box-sizing: border-box;
  }
  .website-image img {
    max-width: 100vw;
    width: 100vw;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
  }
  .form-column {
    order: 2;
    margin-right: 0;
    margin-left: 0 !important;
    position: relative;
    z-index: 10;
    max-width: 95vw;
  }
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  font-size: 2rem;
  letter-spacing: 0.2em;
}
.loading-dots span {
  opacity: 0.3;
  animation: blink 1.4s infinite both;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}

.message-popup-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}
.message-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 320px;
  max-width: 90vw;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 2rem 2.5rem 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  font-size: 1.1rem;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.message-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 2rem;
  transition: color 0.2s;
  line-height: 1;
}
.message-close:hover {
  color: #ccc;
}
@media (max-width: 500px) {
  .message-box {
    min-width: 0;
    padding: 1.2rem 1rem 1rem 1rem;
    font-size: 1rem;
  }
}

.form-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Style for the phone input row with country code */
.submission-form .phone-row {
  display: flex;
  gap: 8px;
}

.submission-form select[name="countryCode"] {
  padding: 15px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100px;
}

.submission-form select[name="countryCode"]:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.submission-form select[name="countryCode"]:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

/* Make sure the phone input next to select doesn't shrink */
.submission-form .phone-row input[name="phone"] {
  flex: 1;
  min-width: 0;
}

/* Custom style for select options (note: browser support is limited) */
.submission-form select[name="countryCode"] option {
  background: #222;
  color: #fff;
  font-size: 1rem;
}

/* Contact info above social icons */
.contact-info {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  margin: 18px 0 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0.92;
}
.contact-info div + div {
  margin-top: 2px;
}

/* Footer logo and text under social icons */
.footer-logo-text {
  margin-top: 18px;
  text-align: center;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.footer-logo-img {
  height: 54px;
  margin-bottom: 0;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
.footer-logo-desc {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
} 