html,
body {
  background-color: #2d0e13;
  margin: 0;
  padding: 0;
  font-family: "Barlow", sans-serif;
  font-size: 18px;
  font-weight: 500;
  scroll-behavior: smooth;
  --bs-scroll-behavior: smooth;
}
html:has(body.modal-open) {
  overflow: hidden;
}
.lang-select {
  width: 220px;
  font-family: system-ui, sans-serif;
  position: fixed;
  top: 20px;
  right: 10px;
  padding: 0;
  filter: drop-shadow(0px 0px 5px #2b2428);
  z-index: 100;
}
/* Trigger */
.lang-trigger {
  width: 100%;
  background: #272727;
  border: none;
  border-radius: 999px;
  padding: 3px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
  position: relative;
}
.globe img {
  filter: invert(0.5);
}
.code {
  flex: 1;
  text-align: left;
  color: #bfbfbf;
  font-size: 20px;
  font-weight: 600;
}
.arrow {
  font-size: 22px;
  transition: transform 0.2s ease;
  font-family: math;
  color: #bfbfbf;
  position: relative;
}
.arrow i {
  font-size: 40px;
}
/* Dropdown */
.lang-dropdown {
  list-style: none;
  margin: 8px 0 0;
  padding: 40px 0 10px;
  background: #333333;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(-50px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: 220px;
}
/* Open state */
.lang-select.open .lang-dropdown {
  opacity: 1;
  transform: translateY(-40px);
  pointer-events: auto;
  z-index: 1;
  /* width: 230px; */
}
.lang-select.open .arrow {
  transform: rotate(180deg);
}
.lang-dropdown li {
  padding: 8px 18px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}
.lang-dropdown li:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-dropdown .active {
  font-weight: 600;
}
.check {
  margin-left: auto;
}
.i18n-transition {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.i18n-hide {
  opacity: 0;
  transform: translateY(4px);
}
section {
  text-align: center;
  position: relative;
}
section.video {
  overflow: hidden;
  z-index: 0;
}
section.video .video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}
section.video .event-logo {
  transform: translate(-60px, -50px);
}
section.video .container {
  padding: 5% 0;
  position: relative;
  z-index: 1;
}

section.top {
  background-image: url("https://img.koggames.com/GCP/202608/pvp/bg-top-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 1% 0;
  z-index: 1;
}
section.top .container {
  position: relative;
  z-index: 10;
}
section.top .btn-menu {
  margin-top: -60px;
}
section.top .btn-menu img {
  cursor: pointer;
  filter: grayscale(100%);
  width: 33.3%;
}
section.top .btn-menu img.active {
  filter: grayscale(0%);
}
section.top .region-content {
  color: #fff;
  height: 0;
  max-width: 1250px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  margin-left: auto;
  margin-right: auto;
  pointer-events: none;
}
section.top .region-content.active {
  height: fit-content;
  margin: 3rem auto;
  opacity: 1;
  pointer-events: auto;
}
section.top .region-content h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-style: normal;
}
section.top .region-content .date-deets {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 20px;
}
section.top .region-content .date-deets p {
  color: #5ffab7;
  letter-spacing: 1px;
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}
section.top .region-content .date-deets span.dates {
  color: #f6b842;
  font-size: 24px;
}
section.top .whats-new {
  background-color: #f6b842;
  border-radius: 20px;
  color: #20090c;
  font-size: 18px;
  padding: 40px 20px 20px;
  z-index: 2;
  margin-top: 120px;
}
section.top .whats-new h2 {
  font-weight: 800;
  text-transform: uppercase;
}
section.middle {
  background-image: url("https://img.koggames.com/GCP/202608/pvp/bg--middle.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 3% 0 0;
  z-index: 10;
}
section.middle .tournament-details {
  color: #fff;
}
section.middle .tournament-details .content {
  width: 33.3%;
}
section.middle .tournament-details h2 {
  color: #5ffab7;
  font-weight: 800;
  font-size: 90px;
}
section.middle .tournament-details .placer {
  transform: translate(10px, 0px);
}
section.middle .tournament-details .minor {
  color: #f73b5b;
  font-size: 24px;
}
section.middle .tournament-details .shadowed {
  text-shadow:
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c,
    0px 0px 10px #3b0d0c;
}
section.middle .tournament-details .btn-register {
  cursor: pointer;
  display: block;
  margin: 10px auto;
  max-width: 450px;
}
section.middle .tournament-details h3 {
  color: #5ffab7;
  font-weight: 600;
  font-size: 40px;
  text-transform: uppercase;
}
section.middle .tournament-details .bracket {
  background-color: #1b1b1b;
  border-radius: 12px;
  color: #883241;
  max-width: 90%;
  margin: 20px auto;
  padding: 25% 20px;
}
section.middle .tournament-details .sub-header {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  color: #5ffab7;
}
section.middle .tournament-details .content .head {
  background: url(https://img.koggames.com/GCP/202608/pvp/bg-ticket-head.png);
  background-size: 100% 100%;
  color: #681e2a;
  font-weight: 800;
  padding: 10px 10px 15px;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}
section.middle .tournament-details .content ul {
  background: url(https://img.koggames.com/GCP/202608/pvp/bg-ticket.png);
  background-size: 100% 100%;
  padding: 50px 40px 40px;
  margin-top: -30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section.middle .codes {
  max-width: 1400px !important;
}
section.bottom {
  background-image: url("https://img.koggames.com/GCP/202608/pvp/bg--bottom.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 4% 0 4%;
}
section.bottom .tournament-rules .sub-header {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  color: #5ffab7;
}
section.bottom .tournament-rules .col-lg-8 {
  background-color: #6a1e2a;
  border-radius: 20px;
  padding: 40px;
}
section.bottom .tournament-rules .btn-rulebook {
  cursor: pointer;
  display: block;
  margin: 10px auto;
  max-width: 450px;
}
section.bottom .tournament-rules a {
  color: #e2a36a;
}
.extra .jin {
  top: -50px;
  right: -50px;
}
.extra .dio {
  top: -50px;
  right: -50px;
}
.extra .rin {
  top: -50px;
  right: -50px;
}
.extra .edel {
  top: -180px;
  right: 0px;
}
.extra .rufus {
  top: 20px;
  left: -100px;
}
.extra .uno {
  top: 1rem;
  left: -90%;
}
.text-purple {
  color: #cbc7ff;
}
.p-width {
  margin: 0 auto;
  width: 45%;
}
.btn-action {
  background: none;
  border: none;
  width: fit-content;
}
.btn-scale {
  pointer-events: auto !important;
  transition: transform 0.2s;
}
.btn-scale:hover {
  transform: scale(1.05);
}
.img-fluid {
  pointer-events: none;
}
.modal-content {
  background-color: #6a1e2a;
  border-radius: 20px;
  font-size: 18px;
}
.modal-content a {
  color: #e2a36a;
}
.modal-content .btn-close {
  filter: invert(1);
  box-shadow: none !important;
}
.modal-header,
.modal-body,
.modal-footer {
  border: none;
}
.modal-body h4 {
  font-size: 38px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.modal-body h5 {
  color: #5ffab7;
  font-weight: 600;
  font-size: 40px;
  text-transform: uppercase;
}
.modal-body h6 {
  font-size: 26px;
  color: #5ffab8;
  letter-spacing: 1px;
}
.modal-body .semibold {
  font-weight: 700 !important;
}
.modal-body .sub {
  font-size: 26px;
  color: #5ffab8;
  letter-spacing: 1px;
}
.modal-body .highlight {
  color: #5ffab8;
}
.modal-footer .button-close {
  background: #ff7575 !important;
  border: none !important;
  border-radius: 10px;
  padding: 1px 20px 3px;
  color: #ffffff !important;
}
.modal-footer .button-submit {
  background: #e2a36a !important;
  border: none !important;
  border-radius: 10px;
  padding: 1px 20px 3px;
  color: #ffffff !important;
}
.modal-body ul {
  list-style: disc;
  padding-left: 0;
  text-align: left;
  margin: 0 auto 1rem;
}
.modal-body > ul {
  width: 90%;
}
.modal-body ul li {
  position: relative;
  padding-left: 0px;
  margin: 14px auto;
  line-height: 1.2;
}
.modal-body ul ul {
  padding-left: 2rem;
  list-style: circle;
}
.modal-body .dates {
  width: 100%;
  margin: 0 auto;
}
.modal-body .dates tr th {
  background: #ad3044;
  border: 2px solid #fff;
  font-weight: 700;
  padding: 5px 10px;
}
.modal-body .dates tr td {
  background: #6a1e2a;
  border: 2px solid #fff;
  color: #fff;
  padding: 5px 10px;
}
.modal-body .img-fluid {
  filter: hue-rotate(-15deg);
}
.modal-body .submission-form label {
  font-size: 24px;
  margin-bottom: 8px;
}
.modal-body .submission-form label.small {
  font-size: 18px !important;
}
.modal-body {
  scrollbar-width: thin; /* Firefox */
}
.modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #cccac9;
  border-radius: 20px;
}
.modal-dialog {
  max-width: 920px;
}
.modal-dialog form.submission-form {
  display: contents;
}
.modal-body .form-control,
.modal-body .form-select {
  background-color: #8e4954;
  border: 1px solid #ffffff;
  border-radius: 5px;
  box-shadow: inset 0px 0px 4px 0px #fff;
  color: #fff;
  padding: 0.375rem 2rem;
}
.modal-body .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}
.modal-body .form-check-label {
  color: #ebeaff;
  font-size: 18px !important;
  text-align: start;
  width: 100%;
}
.modal-body .form-check-input {
  box-shadow: none !important;
  background-color: #8e4954;
  border: none;
}
.modal-body .form-control::placeholder,
.modal-body .form-select::placeholder {
  color: #9593ad;
  font-style: italic;
  opacity: 0.8;
}
.modal-body .note {
  color: #9594a3;
  font-size: 18px;
}
/** Sweet Alert **/
button.swal2-confirm {
  background: #1f9cee !important;
  border: none !important;
  border-radius: 30px;
  padding: 8px 40px;
  color: #fff !important;
}
.show-message {
  display: grid;
  background-image: url(https://img.koggames.com/GCP/202512/aernas/bg-form.png);
  background-size: 120% 120%;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 18px !important;
}
.show-message
  div:where(.swal2-icon).swal2-success
  [class^="swal2-success-circular-line"],
.show-message div:where(.swal2-icon).swal2-success .swal2-success-fix {
  background: transparent !important;
}
.show-message h2 {
  font-family: "Almarai", sans-serif;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
}
@media (max-width: 1400px) {
  .extra {
    display: none !important;
  }
}
@media (max-width: 992px) {
  section.video .event-logo {
    transform: translate(-30px, -50px);
  }
  section.top .btn-menu {
    margin-top: -30px;
  }
  section.top .whats-new {
    margin-top: 0px;
    max-width: 90%;
  }
  section.middle .tournament-details .content {
    width: 100%;
  }
  section.middle .tournament-details .d-flex {
    flex-direction: column !important;
  }
}
@media (max-width: 767px) {
  section.middle .tournament-details .btn-register,
  section.bottom .tournament-rules .btn-rulebook {
    max-width: 100% !important;
  }
  section.video {
    background: url(https://img.koggames.com/GCP/202608/pvp/bg-top.jpg);
    background-position: top center;
    background-size: auto;
  }
  section.video .video-bg {
    display: none;
  }
}
