/* SUBMISSION EDIT */

#submissionEditForm {
  display: grid;
  gap: 20px;

  margin-top: 30px;
}

#submissionEditForm label {
  display: grid;
  gap: 8px;

  font-weight: 700;
}

#submissionEditForm input,
#submissionEditForm textarea {
  width: 100%;

  padding: 14px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.2
    );

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  color: white;

  font: inherit;
}

#submissionEditForm textarea {
  min-height: 130px;
  resize: vertical;
}

#saveSubmissionButton {
  padding: 14px 20px;

  border: 1px solid white;

  background: transparent;
  color: white;

  font-weight: 800;

  cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| Admin Submission Review
|--------------------------------------------------------------------------
*/

.review-submission-link {
  display: inline-block;

  margin-top: 14px;

  color: white;

  font-weight: 700;
}

.admin-submission-page {
  max-width: 900px;

  margin: 0 auto;

  padding: 30px 24px 60px;
}

.admin-submission-page h1 {
  font-size: 42px;

  margin:
    16px 0 30px;
}

.admin-submission-status {
  display: inline-block;

  padding:
    7px 12px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.25
    );

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  text-transform: uppercase;

  font-size: 12px;
  font-weight: 800;

  letter-spacing:
    0.08em;
}

.admin-review-section {
  margin-top: 20px;

  padding: 24px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.15
    );

  background:
    rgba(
      0,
      0,
      0,
      0.12
    );
}

.admin-review-section h2 {
  margin-top: 0;
}

.admin-review-section p {
  line-height: 1.7;
}

.admin-review-options {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 14px;
}

.admin-review-options > div {
  padding: 18px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.20
    );

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  font-weight: 700;
}

.admin-review-actions {
  display: flex;
  gap: 14px;

  margin-top: 26px;
}

.admin-review-actions button {
  padding:
    14px 22px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.25
    );

  font: inherit;
  font-weight: 800;

  cursor: pointer;
}

#approveSubmissionButton {
  background: white;
  color: #071d58;
}

#rejectSubmissionButton {
  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  color: white;
}

@media (
  max-width: 700px
) {
  .admin-review-options {
    grid-template-columns: 1fr;
  }

  .admin-review-actions {
    flex-direction: column;
  }

  .admin-review-actions button {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Admin Toolbar
|--------------------------------------------------------------------------
*/

.admin-moderation-page {
  width: 100%;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 24px;

  padding: 0 24px 24px;
}

.admin-toolbar h1 {
  margin-bottom: 8px;
}

.admin-user {
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
}

.admin-logout-button {
  padding: 12px 18px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.30
    );

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  color: white;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}

.admin-logout-button:hover {
  background:
    rgba(
      255,
      255,
      255,
      0.16
    );
}

@media (
  max-width: 700px
) {
  .admin-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-logout-button {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Admin Debate Moderation
|--------------------------------------------------------------------------
*/

#submissionList {
  display: grid;
  gap: 24px;

  padding: 32px 24px 60px;
}

.submission-card {
  position: relative;

  padding: 28px;

  border: 1px solid rgba(
    255,
    255,
    255,
    0.18
  );

  background:
    linear-gradient(
      120deg,
      rgba(0, 40, 110, 0.92),
      rgba(70, 20, 105, 0.92),
      rgba(115, 0, 20, 0.92)
    );

  color: white;

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.25);
}

.submission-card h2 {
  margin:
    0 0 16px;

  font-size: 28px;

  color: white;
}

.submission-card p {
  margin:
    10px 0;

  line-height: 1.6;

  color:
    rgba(
      255,
      255,
      255,
      0.82
    );
}

.submission-card strong {
  color: white;
}

/*
|--------------------------------------------------------------------------
| Submitted Options
|--------------------------------------------------------------------------
*/

.submission-options {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 14px;

  margin:
    24px 0;
}

.submission-options > div {
  padding: 18px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.20
    );

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  color: white;

  font-size: 17px;
  font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| Moderation Actions
|--------------------------------------------------------------------------
*/

.submission-actions {
  display: flex;
  gap: 12px;

  margin-top: 24px;
}

.submission-actions button {
  min-width: 120px;

  padding:
    13px 20px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.25
    );

  font: inherit;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.approve-submission {
  background: white;
  color: #071d58;
}

.reject-submission {
  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  color: white;
}

.submission-actions button:hover {
  transform:
    translateY(-2px);
}

.approve-submission:hover {
  background: #f0f3ff;
}

.reject-submission:hover {
  background:
    rgba(
      255,
      255,
      255,
      0.16
    );
}

.submission-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/*
|--------------------------------------------------------------------------
| Moderation Status
|--------------------------------------------------------------------------
*/

.submission-status {
  min-height: 22px;

  margin-top: 18px;

  color:
    rgba(
      255,
      255,
      255,
      0.8
    );
}

.submission-status a {
  color: white;
  font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (
  max-width: 700px
) {
  .submission-card {
    padding: 20px;
  }

  .submission-options {
    grid-template-columns: 1fr;
  }

  .submission-actions {
    flex-direction: column;
  }

  .submission-actions button {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Create Debate
|--------------------------------------------------------------------------
*/

.create-debate-page {
  width: min(
    calc(100% - 40px),
    900px
  );

  margin: 0 auto;

  padding:
    70px 0
    100px;
}

.create-debate-heading {
  margin-bottom: 36px;
}

.create-debate-kicker {
  margin-bottom: 12px;

  color:
    rgba(255, 255, 255, 0.55);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.create-debate-heading h1 {
  margin:
    0 0
    14px;

  font-size:
    clamp(2.5rem, 5vw, 4.5rem);

  line-height: 0.95;

  text-transform: uppercase;

  color: #ffffff;
}

.create-debate-heading p {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.7);

  font-size: 1.05rem;
  line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.create-debate-form {
  display: grid;

  grid-template-columns: 1fr;

  gap: 24px;

  padding: 32px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  background:
    linear-gradient(
      135deg,
      rgba(3, 21, 64, 0.72),
      rgba(65, 20, 92, 0.72),
      rgba(93, 8, 22, 0.72)
    );

  backdrop-filter:
    blur(14px);

  box-shadow:
    0 28px 70px
    rgba(0, 0, 0, 0.28);
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.form-group label {
  color: #ffffff;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.create-debate-form input,
.create-debate-form textarea {
  width: 100%;

  min-height: 54px;

  padding:
    14px 16px;

  border:
    1px solid
    rgba(255, 255, 255, 0.22);

  background:
    rgba(4, 7, 20, 0.62);

  color: #ffffff;

  font-size: 1rem;

  outline: none;

  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.create-debate-form textarea {
  min-height: 125px;

  resize: vertical;
}

.create-debate-form input::placeholder,
.create-debate-form textarea::placeholder {
  color:
    rgba(255, 255, 255, 0.38);
}

.create-debate-form input:focus,
.create-debate-form textarea:focus {
  border-color:
    rgba(255, 255, 255, 0.72);

  background:
    rgba(4, 7, 20, 0.82);

  box-shadow:
    0 0 0 3px
    rgba(114, 50, 160, 0.18);
}


/*
|--------------------------------------------------------------------------
| Debate Options
|--------------------------------------------------------------------------
*/

.debate-option-fields {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.option-a input {
  border-left:
    4px solid #3168ff;
}

.option-b input {
  border-left:
    4px solid #e42b43;
}


/*
|--------------------------------------------------------------------------
| Submit Button
|--------------------------------------------------------------------------
*/

.submit-debate-button {
  min-height: 60px;

  border:
    1px solid
    rgba(255, 255, 255, 0.65);

  background:
    linear-gradient(
      90deg,
      #0a3b98,
      #541c76,
      #991428
    );

  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 900;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.submit-debate-button:hover {
  transform:
    translateY(-2px);

  filter:
    brightness(1.12);

  box-shadow:
    0 14px 34px
    rgba(0, 0, 0, 0.28);
}

.submit-debate-button:disabled {
  opacity: 0.55;

  cursor: not-allowed;

  transform: none;
}


/*
|--------------------------------------------------------------------------
| Submission Status
|--------------------------------------------------------------------------
*/

.submission-status {
  min-height: 24px;

  color:
    rgba(255, 255, 255, 0.8);

  font-size: 0.95rem;
  line-height: 1.5;
}

.submission-status strong {
  color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 720px) {

  .create-debate-page {
    width:
      calc(100% - 28px);

    padding:
      45px 0
      80px;
  }

  .create-debate-form {
    padding: 22px;
  }

  .debate-option-fields {
    grid-template-columns: 1fr;
  }

}

/*
|--------------------------------------------------------------------------
| Create Debate Page
|--------------------------------------------------------------------------
*/

.create-debate-page {
  width: min(
    calc(100% - 40px),
    920px
  );

  margin: 0 auto;

  padding:
    60px 0
    100px;
}

.create-debate-page h1 {
  margin:
    0 0
    14px;

  font-size:
    clamp(2.4rem, 5vw, 4.5rem);

  line-height: 0.95;

  text-transform: uppercase;

  font-weight: 900;

  color: #ffffff;
}

.create-debate-page > p {
  margin:
    0 0
    38px;

  max-width: 640px;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 1.05rem;
  line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Form Container
|--------------------------------------------------------------------------
*/

.create-debate-form {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;

  padding: 32px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  background:
    linear-gradient(
      135deg,
      rgba(7, 25, 73, 0.72),
      rgba(73, 20, 92, 0.72),
      rgba(95, 5, 19, 0.72)
    );

  backdrop-filter: blur(14px);

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.28);
}


/*
|--------------------------------------------------------------------------
| Form Groups
|--------------------------------------------------------------------------
*/

.form-group {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: #ffffff;

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.create-debate-form input,
.create-debate-form textarea,
.create-debate-form select {
  width: 100%;

  min-height: 52px;

  padding:
    13px 15px;

  border:
    1px solid
    rgba(255, 255, 255, 0.22);

  border-radius: 0;

  background:
    rgba(4, 8, 25, 0.58);

  color: #ffffff;

  font-size: 1rem;

  outline: none;

  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.create-debate-form textarea {
  min-height: 130px;

  resize: vertical;
}

.create-debate-form input::placeholder,
.create-debate-form textarea::placeholder {
  color:
    rgba(255, 255, 255, 0.42);
}

.create-debate-form input:focus,
.create-debate-form textarea:focus,
.create-debate-form select:focus {
  border-color:
    rgba(255, 255, 255, 0.72);

  background:
    rgba(10, 10, 30, 0.78);

  box-shadow:
    0 0 0 3px
    rgba(112, 55, 170, 0.18);
}


/*
|--------------------------------------------------------------------------
| Option Inputs
|--------------------------------------------------------------------------
*/

.option-a input {
  border-left:
    4px solid #2c68ff;
}

.option-b input {
  border-left:
    4px solid #e3263f;
}


/*
|--------------------------------------------------------------------------
| Submit Button
|--------------------------------------------------------------------------
*/

.create-debate-form button {
  grid-column: 1 / -1;

  min-height: 58px;

  padding:
    0 28px;

  border:
    1px solid
    rgba(255, 255, 255, 0.7);

  background:
    linear-gradient(
      90deg,
      #0c3f9f,
      #5a1a78,
      #9d1022
    );

  color: #ffffff;

  font-size: 0.9rem;

  font-weight: 900;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.create-debate-form button:hover {
  transform:
    translateY(-2px);

  filter:
    brightness(1.12);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.28);
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 720px) {

  .create-debate-page {
    width:
      calc(100% - 28px);

    padding:
      40px 0
      80px;
  }

  .create-debate-form {
    grid-template-columns: 1fr;

    padding: 22px;
  }

  .form-group.full-width {
    grid-column: auto;
  }

  .create-debate-form button {
    grid-column: auto;
  }

}

/* SITE HEADER LOGO */

.site-header {
  width: min(calc(100% - 48px), 1500px);
  min-height: 96px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.1);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;

  color: white;

  font-size: 1.4rem;
  font-weight: 900;

  text-decoration: none;
}

.site-logo-image {
  width: 64px;
  height: 64px;

  display: block;

  object-fit: contain;
}

.site-logo-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: white;

  font-size: 0.95rem;
  font-weight: 600;

  text-decoration: none;
}

/*
|--------------------------------------------------------------------------
| The Skate Debate
| Main Theme
|--------------------------------------------------------------------------
*/

:root {
  --blue: #061d55;
  --blue-bright: #0b47c9;
  --blue-soft: #2764ff;

  --red: #57050d;
  --red-bright: #b60819;
  --red-soft: #f02b3d;

  --purple: #48105d;
  --purple-bright: #762a8d;

  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.82);
  --white-muted: rgba(255, 255, 255, 0.62);

  --black: #030307;
  --panel: rgba(5, 5, 12, 0.36);
  --border: rgba(255, 255, 255, 0.22);

  --max-width: 1500px;
}

/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #08080d;
  color: var(--white);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/*
|--------------------------------------------------------------------------
| Main Political Background
|--------------------------------------------------------------------------
*/

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;

  background:
    linear-gradient(
      90deg,
      #03143d 0%,
      #072b78 30%,
      #32155d 47%,
      #541047 52%,
      #791018 70%,
      #3e0308 100%
    );
}

/*
|--------------------------------------------------------------------------
| Center Purple Collision
|--------------------------------------------------------------------------
*/

body::after {
  content: "";
  position: fixed;
  z-index: -3;

  top: 0;
  bottom: 0;
  left: 50%;
  width: 34vw;

  transform: translateX(-50%);

  background:
    radial-gradient(
      ellipse at center,
      rgba(116, 31, 142, 0.78) 0%,
      rgba(86, 19, 105, 0.46) 32%,
      rgba(69, 12, 79, 0.18) 58%,
      transparent 76%
    );

  filter: blur(30px);
  pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| Page Texture
|--------------------------------------------------------------------------
*/

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(
      circle at 17% 42%,
      rgba(40, 99, 255, 0.2),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 41%,
      rgba(235, 27, 49, 0.2),
      transparent 30%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.68)
    );
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header {
  width: min(
    calc(100% - 48px),
    var(--max-width)
  );

  margin: 0 auto;

  min-height: 96px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;

  position: relative;
  z-index: 20;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.09);
}

.site-logo {
  display: flex;
  align-items: center;

  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-logo .thin {
  font-weight: 300;
}

.site-logo .bold {
  font-weight: 900;
}

.site-logo::after {
  content: "";
  display: block;

  width: 130px;
  height: 2px;

  position: absolute;
  bottom: -1px;
  left: 0;

  background:
    linear-gradient(
      90deg,
      var(--red-soft),
      var(--white),
      var(--blue-soft)
    );
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(20px, 3vw, 46px);
}

.main-nav a {
  position: relative;

  padding: 38px 0 34px;

  color: rgba(255, 255, 255, 0.84);

  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition:
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 25px;

  width: 0;
  height: 2px;

  background: var(--white);

  transform: translateX(-50%);
  transition: width 160ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.button,
.primary-button,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 0 28px;

  border:
    1px solid rgba(255, 255, 255, 0.72);

  background:
    rgba(10, 10, 18, 0.16);

  backdrop-filter: blur(8px);

  color: var(--white);

  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.primary-button:hover,
.header-button:hover {
  transform: translateY(-2px);

  border-color: #fff;

  background:
    rgba(255, 255, 255, 0.11);

  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.3);
}

.primary-button {
  min-width: 260px;
  min-height: 66px;
  font-size: 1rem;
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
  width: min(
    calc(100% - 48px),
    var(--max-width)
  );

  margin: 0 auto;

  min-height:
    calc(100vh - 96px);

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(350px, 0.9fr)
    minmax(0, 1fr);

  align-items: center;

  position: relative;

  padding:
    60px 0
    50px;
}

/*
|--------------------------------------------------------------------------
| Animals
|--------------------------------------------------------------------------
*/

.hero-animal {
  position: relative;

  display: flex;
  align-items: flex-end;

  height: 100%;

  pointer-events: none;
}

.hero-animal img {
  width: min(48vw, 680px);
  max-height: 78vh;

  object-fit: contain;

  filter:
    contrast(1.12)
    saturate(0.9);

  user-select: none;
}

.hero-animal.left {
  justify-content: flex-start;
}

.hero-animal.right {
  justify-content: flex-end;
}

.hero-animal.left img {
  transform:
    translateX(-12%)
    scale(1.08);

  filter:
    sepia(0.1)
    hue-rotate(175deg)
    saturate(1.35)
    brightness(0.85)
    contrast(1.22);

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 75%,
      transparent 100%
    );
}

.hero-animal.right img {
  transform:
    translateX(12%)
    scale(1.08);

  filter:
    sepia(0.24)
    hue-rotate(315deg)
    saturate(1.6)
    brightness(0.82)
    contrast(1.25);

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 75%,
      transparent 100%
    );
}

/*
|--------------------------------------------------------------------------
| Hero Center
|--------------------------------------------------------------------------
*/

.hero-content {
  position: relative;
  z-index: 5;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 620px;

  margin: 0 auto;
}

.hero-kicker {
  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.76rem;
  font-weight: 800;

  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;

  font-family:
    Impact,
    "Arial Narrow",
    sans-serif;

  font-size:
    clamp(3.5rem, 6vw, 7rem);

  line-height: 0.86;

  letter-spacing: -0.035em;

  text-transform: uppercase;

  text-shadow:
    0 4px 28px rgba(0, 0, 0, 0.45);
}

.hero-title span {
  display: block;
}

.hero-divider {
  width: min(270px, 65%);
  height: 1px;

  margin: 28px auto 24px;

  position: relative;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.7),
      transparent
    );
}

.hero-divider::after {
  content: "★";

  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -52%);

  padding: 0 14px;

  background: #48104f;

  color: white;

  font-size: 0.8rem;
}

.hero-description {
  max-width: 520px;

  margin:
    0 auto
    32px;

  color: var(--white-soft);

  font-size:
    clamp(1rem, 1.4vw, 1.3rem);

  line-height: 1.55;
}

/*
|--------------------------------------------------------------------------
| Debate Cards
|--------------------------------------------------------------------------
*/

.debate-grid {
  width: min(
    calc(100% - 48px),
    var(--max-width)
  );

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid rgba(255, 255, 255, 0.12);

  position: relative;
  z-index: 10;
}

.debate-card {
  min-height: 190px;

  padding:
    34px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background:
    rgba(0, 0, 0, 0.12);

  border-right:
    1px solid rgba(255, 255, 255, 0.13);

  backdrop-filter: blur(5px);

  transition:
    transform 180ms ease,
    background 180ms ease;
}

.debate-card:last-child {
  border-right: 0;
}

.debate-card:hover {
  background:
    rgba(255, 255, 255, 0.06);

  transform: translateY(-5px);
}

.debate-card-icon {
  margin-bottom: 18px;

  font-size: 2rem;

  color: var(--white);
}

.debate-card:nth-child(1)
.debate-card-icon {
  color: #4283ff;
}

.debate-card:nth-child(2)
.debate-card-icon {
  color: #ae69d4;
}

.debate-card:nth-child(3)
.debate-card-icon {
  color: #ff4258;
}

.debate-card:nth-child(4)
.debate-card-icon {
  color: #ff4350;
}

.debate-card h3 {
  margin:
    0 0
    10px;

  font-size: 0.9rem;
  font-weight: 900;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.debate-card p {
  margin: 0;

  color: var(--white-muted);

  font-size: 0.9rem;
  line-height: 1.45;
}

/*
|--------------------------------------------------------------------------
| Generic Page Content
|--------------------------------------------------------------------------
*/

.page-section {
  width: min(
    calc(100% - 48px),
    1200px
  );

  margin: 0 auto;
  padding: 80px 0;
}

.page-title {
  margin:
    0 0
    16px;

  font-family:
    Impact,
    "Arial Narrow",
    sans-serif;

  font-size:
    clamp(2.8rem, 5vw, 5rem);

  line-height: 0.95;

  text-transform: uppercase;
}

.page-subtitle {
  max-width: 700px;

  color: var(--white-muted);

  font-size: 1.08rem;
  line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| Panels
|--------------------------------------------------------------------------
*/

.panel {
  border:
    1px solid var(--border);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );

  backdrop-filter: blur(12px);

  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22);
}

/*
|--------------------------------------------------------------------------
| Debate Choice Panels
|--------------------------------------------------------------------------
*/

.side-blue {
  background:
    linear-gradient(
      135deg,
      rgba(11, 71, 201, 0.32),
      rgba(6, 29, 85, 0.18)
    );

  border-color:
    rgba(78, 132, 255, 0.32);
}

.side-red {
  background:
    linear-gradient(
      135deg,
      rgba(182, 8, 25, 0.32),
      rgba(87, 5, 13, 0.18)
    );

  border-color:
    rgba(255, 64, 83, 0.32);
}

/*
|--------------------------------------------------------------------------
| Mobile Navigation
|--------------------------------------------------------------------------
*/

.mobile-menu-button {
  display: none;

  width: 48px;
  height: 48px;

  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(255, 255, 255, 0.3);

  background:
    rgba(0, 0, 0, 0.18);

  color: white;

  cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

  .site-header {
    min-height: 80px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero {
    min-height:
      calc(100vh - 80px);

    grid-template-columns:
      1fr 1.15fr 1fr;
  }

  .hero-title {
    font-size:
      clamp(3.3rem, 8vw, 5.8rem);
  }

  .debate-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .debate-card:nth-child(2) {
    border-right: 0;
  }

  .debate-card:nth-child(-n + 2) {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.13);
  }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 720px) {

  body::before {
    background:
      linear-gradient(
        135deg,
        #051d54 0%,
        #1d245f 35%,
        #451260 50%,
        #68142d 67%,
        #4b050b 100%
      );
  }

  .site-header {
    width:
      calc(100% - 28px);

    min-height: 72px;
  }

  .site-logo {
    font-size: 1.25rem;
  }

  .header-button {
    display: none;
  }

  .hero {
    width: 100%;

    min-height:
      calc(100vh - 72px);

    grid-template-columns: 1fr;

    padding:
      70px 20px
      220px;

    overflow: hidden;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;

    z-index: 6;

    padding: 0 12px;
  }

  .hero-title {
    font-size:
      clamp(3.2rem, 16vw, 5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .primary-button {
    min-width: 220px;
  }

  .hero-animal {
    position: absolute;

    bottom: 0;

    height: 330px;

    width: 58%;

    opacity: 0.9;
  }

  .hero-animal img {
    width: 125%;
    max-height: 100%;
  }

  .hero-animal.left {
    left: -12%;
  }

  .hero-animal.right {
    right: -12%;
  }

  .hero-animal.left img {
    transform:
      translateX(-8%);
  }

  .hero-animal.right img {
    transform:
      translateX(8%);
  }

  .debate-grid {
    width: 100%;

    grid-template-columns: 1fr;
  }

  .debate-card {
    min-height: 155px;

    border-right: 0;

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.13);
  }

  .page-section {
    width:
      calc(100% - 32px);

    padding: 55px 0;
  }
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */

@media (max-width: 1050px) {

  .site-header {
    position: relative;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    padding: 10px 16px;

    border:
      1px solid rgba(255, 255, 255, 0.5);

    background:
      rgba(0, 0, 0, 0.18);

    color: white;

    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;

    cursor: pointer;

    z-index: 1001;
  }


  .main-nav {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 12px 0;

    background:
      rgba(5, 8, 25, 0.97);

    backdrop-filter: blur(20px);

    border:
      1px solid rgba(255, 255, 255, 0.12);

    z-index: 1000;
  }


  .main-nav.is-open {
    display: flex;
  }


  .main-nav a {
    width: 100%;

    padding: 18px 22px;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }


  .main-nav a:last-child {
    border-bottom: 0;
  }


  .main-nav a::after {
    display: none;
  }
}

/* ==========================================================================
   Mobile Navigation Fix
   ========================================================================== */

@media (max-width: 1050px) {

  .mobile-menu-button {
    width: auto;
    min-width: 86px;
    height: 48px;

    padding: 0 14px;

    position: relative;

    z-index: 100001;
  }


  .main-nav {
    display: none !important;
  }


  .main-nav.is-open {
    display: flex !important;

    position: fixed !important;

    top: 106px;
    left: 14px;
    right: 14px;

    width: auto;
    height: auto;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    padding: 8px 0;

    margin: 0;

    background:
      rgba(5, 8, 25, 0.98);

    border:
      1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    visibility: visible !important;
    opacity: 1 !important;

    overflow: visible !important;

    pointer-events: auto !important;

    z-index: 100000 !important;
  }


  .main-nav.is-open a {
    display: block;

    width: auto;

    padding: 18px 22px;

    color: white;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.10);

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: left;
    text-transform: uppercase;

    visibility: visible;
    opacity: 1;
  }


  .main-nav.is-open a:last-child {
    border-bottom: 0;
  }
}
