@font-face {
  font-family: "Brice Bold Condensed";
  src: url("font/Brice Bold Condensed.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --font-family-primary: "Montserrat", sans-serif;
  --font-family-secondary: "Open Sans", sans-serif;
  --font-family-brice: "Brice Bold Condensed", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100dvh;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    transparent 110%
  );
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header {
  width: 100%;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
}

.logo-image {
  height: 60px;
  width: auto;
}

.twitter-link {
  background: black;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.twitter-link:hover {
  background: white;
  color: black;
}

.twitter-icon {
  width: 20px;
  height: 20px;
}

/* Main Content Styles */
.main-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.description {
  font-family: var(--font-family-brice);
  font-size: 2rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 400;
}

.join-btn {
  background: #c1fe72;
  color: black;
  border: none;
  padding: 0.25rem 1rem;
  font-family: var(--font-family-brice);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
}

.join-btn:hover {
  background: #a3d351;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163, 211, 81, 0.3);
}

/* Gorilla Section */
.gorilla-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -6rem;
  position: relative;
  z-index: 1;
}

.gorilla-image {
  max-width: 100%;
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}

/* Tablet Responsive Styles */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .header-wrapper {
    padding: 1.5rem 2rem;
  }

  .logo-image {
    height: 50px;
  }

  .description {
    font-size: 1.6rem;
  }

  .join-btn {
    font-size: 1.3rem;
    padding: 0.2rem 0.8rem;
  }

  .container {
    gap: 1.5rem;
  }

  .gorilla-section {
    margin-top: -6rem;
  }

  .main-content {
    max-width: 600px;
    padding: 0 1rem;
  }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .header-wrapper {
    padding: 1rem 1.5rem;
  }

  .logo-image {
    height: 40px;
  }

  .twitter-link {
    width: 35px;
    height: 35px;
  }

  .twitter-icon {
    width: 18px;
    height: 18px;
  }

  .description {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .join-btn {
    font-size: 1.1rem;
    padding: 0.15rem 0.7rem;
    letter-spacing: 0.5px;
  }

  .container {
    gap: 1rem;
  }

  .gorilla-section {
    margin-top: -12rem;
  }

  .gorilla-image {
    max-height: 50vh;
  }

  .main-content {
    max-width: 100%;
    padding: 0 2rem;
    align-items: center;
    text-align: center;
  }

  .description {
    text-align: center;
  }
}

/* Whitelist Page Styles */
.whitelist-page {
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100dvh;
  position: relative;
}

.whitelist-page::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    transparent 110%
  );
  pointer-events: none;
  z-index: 0;
}

.back-link {
  background: black;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-link:hover {
  background: white;
  color: black;
}

.back-icon {
  width: 20px;
  height: 20px;
}

.whitelist-main {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 3;
  pointer-events: none;
  gap: 1.5rem;
}

.title-card {
  background: rgba(245, 245, 245, 0.9);
  border-radius: 15px;
  padding: 1.5rem 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 4;
  pointer-events: auto;
  text-align: center;
}

.form-container {
  background: rgba(245, 245, 245, 0.85);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.form-title {
  font-family: var(--font-family-brice);
  font-size: 2.5rem;
  color: #1a365d;
  text-align: center;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.action-btn {
  background: #1859b3;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-family: var(--font-family-brice);
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.action-btn:hover {
  background: #0f4a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 89, 179, 0.3);
}

.input-field {
  width: 100%;
}

.link-input {
  width: 100%;
  background: #f5f5f5;
  border: 2px solid #000;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: var(--font-family-brice);
  font-size: 1.2rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  text-align: center;
}

.link-input::placeholder {
  color: #999;
  text-transform: uppercase;
  text-align: center;
}

.link-input:focus {
  outline: none;
  border-color: #1859b3;
  background: white;
}

.disclaimer {
  font-family: var(--font-family-primary);
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.asterisk {
  color: #e53e3e;
  font-weight: bold;
  margin-right: 0.25rem;
}

.submit-btn {
  background: #0f4a9a;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-family-brice);
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 4;
  pointer-events: auto;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #0a3a7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 74, 154, 0.3);
}

/* Whitelist Page Responsive */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .whitelist-main {
    padding: 2rem 3rem;
  }

  .title-card {
    padding: 1.2rem 1.8rem;
    max-width: 450px;
  }

  .form-container {
    padding: 2.5rem 2rem;
    max-width: 450px;
  }

  .form-title {
    font-size: 2.2rem;
  }

  .action-btn {
    font-size: 1.3rem;
    padding: 0.9rem 1.3rem;
  }

  .link-input {
    font-size: 1.1rem;
    padding: 0.9rem 1.3rem;
  }

  .submit-btn {
    font-size: 1.3rem;
    padding: 0.9rem 1.8rem;
  }
}

@media screen and (max-width: 767px) {
  .whitelist-page {
    background-attachment: scroll;
  }

  .whitelist-main {
    padding: 1rem 4rem;
    gap: 1rem;
  }

  .title-card {
    padding: 1rem 1.5rem;
    max-width: 100%;
    border-radius: 12px;
  }

  .form-container {
    padding: 2rem 1.5rem;
    max-width: 100%;
    border-radius: 15px;
  }

  .form-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .form-actions {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .action-btn {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
  }

  .link-input {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
  }

  .disclaimer {
    font-size: 0.8rem;
  }

  .submit-btn {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
  }
}

/* Success Page Styles */
.success-page {
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100dvh;
  position: relative;
}

.success-page::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    transparent 110%
  );
  pointer-events: none;
  z-index: 0;
}

.success-main {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 3;
  pointer-events: none;
}

.success-card {
  background: rgba(245, 245, 245, 0.85);
  border-radius: 20px;
  padding: 4rem 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 4;
  pointer-events: auto;
  text-align: center;
}

.success-title {
  font-family: var(--font-family-brice);
  font-size: 3.5rem;
  color: #1a365d;
  text-align: center;
  margin: 0 0 2rem 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.success-message {
  font-family: var(--font-family-primary);
  font-size: 1.3rem;
  color: #1a365d;
  text-align: center;
  margin: 0.2rem 0;
  line-height: 1.4;
}

/* Success Page Responsive */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .success-main {
    padding: 2rem 3rem;
  }

  .success-card {
    padding: 3.5rem 2.5rem;
    max-width: 450px;
  }

  .success-title {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .success-message {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 767px) {
  .success-page {
    background-attachment: scroll;
  }

  .success-main {
    padding: 1rem 2rem;
  }

  .success-card {
    padding: 3rem 2rem;
    max-width: 100%;
    border-radius: 15px;
  }

  .success-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
  }

  .success-message {
    font-size: 1.1rem;
  }
}
