@import url("https://fonts.googleapis.com/css2?family=Nova+Flat&display=swap");

:root {
  font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
  background-color: #1f1f1f;
  color-scheme: dark;
}

.novaflat {
  font-family: 'Nova Flat', sans-serif;
}

header picture::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

header {
  background-color: #1f1f1f;
}

main {
  padding-block-end: 0;
  background-color: #1c1814;
}

#mainbody {
  background-color: #1f1f1f;
  background-image: url('../images/bg-afterheader-1920.webp'), url('../images/bg-attributes-1920.webp');
  background-position: top center, bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-block-end: 6.25rem;
}

#promo-event {
  margin-block-start: 0;
  background-image: url('../images/bg-tagmyvip-1920.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
  margin-block-start: -6.25rem;
  padding-block-end: 6.25rem;
}



@media (width <= 1200px ) {
  #mainbody {
    background-image: url('../images/bg-afterheader-1200.webp'), url('../images/bg-attributes-1200.webp');
    padding-block-end: 100px;
  }
  #promo-event {
    background-image: url('../images/bg-tagmyvip-1200.webp');
    margin-block-start: -100px;
  }
}

@media (width <= 600px ) {
  #mainbody {
    background-image: url('../images/bg-afterheader-600.webp'), url('../images/bg-attributes-600.webp');
    padding-block-end: 50px;
  }
  #promo-event {
    background-image: url('../images/bg-tagmyvip-600.webp');
    margin-block-start: -50px;
  }
}





#intro p {
  font-size: 1.8125rem;
  text-align: center;
  color: #e2d5b0;
  width: 90%;
  max-width: 940px;
  margin-inline: auto;
}

@media (width <= 600px) {
  #intro p {
    font-size: 1.25rem;
  }
}






#top-ui {
  gap: 1.25rem;
  margin-block-end: 3.75rem;
}

#top-ui .countdown {
  font-size: 1.75rem;
  column-gap: 1.25rem;
}

#top-ui .countdown::before {
  font-size: 0.5em;
  letter-spacing: 0.04em;
}

#top-ui .countdown span {
  font-size: 1em;
  line-height: 1;
  margin-block-start: 0;
}





#top-ui a:has(button),
#top-ui button {
  width: 100%;
  max-width: 360px;
  /* min-height: 70px; */
}

@media (width <= 600px) {
  #top-ui a:has(button),
  #top-ui button {
    max-width: 90%;
  }
  #top-ui a button {
    max-width: 100%;
  }
}

#top-ui button {
  text-transform: uppercase;
  border-radius: 6px;
  border: 3px solid transparent;
  color: black;
  background:
    linear-gradient(0deg, 
      #fdfcf5 0%, 
      #eadece 25%,
      #f1ede2 75%,
      #f4e9c8 100%) 
      padding-box,
    linear-gradient(0deg, 
      #b0a37d 0%, 
      #fff3d3 25%,
      #f5e4b4 75%,
      #b0a37d 100%) 
      border-box;
  transition: filter 150ms ease;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

#top-ui button span {
  font-size: 1.75rem;
  line-height: 1;
  margin-block-start: 0;
  color: #1d1a07;
  filter: drop-shadow(0 0 10px #ebce59);
}

@media (width <=600px) {
  #top-ui button span {
    font-size: 1.25rem;
  }
}

#top-ui button::after,
[popover]::after {
  --inset: 2px;
  --size: calc(100% - var(--inset));
  content: '';
  display: block;
  position: absolute;
  border-radius: 2px;
  background:
    linear-gradient(180deg, 
      #cfc677 0%, 
      #c4a77b 20%,
      #a3a26b 40%,
      #ad9343 60%,
      #83754b 100%) 
      padding-box;
  width: var(--size);
  height: var(--size);
  inset: calc(var(--inset) / 2);
  filter: drop-shadow(0 0 2px #7e5e37);
  z-index: -1;
}

@media (hover: hover) {
  #top-ui button:hover::after {
    background:
    linear-gradient(180deg, 
      #cfc677 0%, 
      #d8b682 20%,
      #d8d66e 40%,
      #d8b754 60%,
      #83754b 100%) 
      padding-box;
  }
}



















[popover] {
  border-radius: 6px;
  border: 3px solid transparent;
  color: black;
  background:
    linear-gradient(0deg, 
      #fffcf7 0%, 
      #fdf8e8 100%) 
      padding-box,
    linear-gradient(0deg, 
      #b0a37d 0%, 
      #e3d09a 25%,
      #f5e4b4 75%,
      #b0a37d 100%) 
      border-box;
}

[popover]::after {
  background:
    linear-gradient(0deg, 
      #fffcf7 0%, 
      #fdf8e8 100%) 
      padding-box,
    linear-gradient(0deg, 
      #b0a37d 0%, 
      #e3d09a 25%,
      #f5e4b4 75%,
      #b0a37d 100%) 
      border-box;
}

[popover] p {
  font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-align: left;
}

[popover] h4 {
  font-size: 1.25rem;
}








#attributes {
  margin-block-end: 3.75rem;
}


.attributes {
  max-width: 960px;
  margin-inline: auto;
  gap: 1rem;
}

.attributes button {
  width: 7.5rem;
  height: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

@media (width <= 600px ) {
  .attributes button {
    width: 6.25rem;
    height: 6.25rem;
  }
}





#watchModal .modal-close {
  color: white;
  font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
}




#rewards {
  margin-block-end: 2rem;
}

#rewards picture,
#rewards img {
  margin-inline: auto;
  max-width: 600px;
  width: 100%;
  height: auto;
}

@media (width <= 600px) {
  #rewards img {
    max-width: 300px;
  }
}







#mainbody h3.novaflat {
  font-size: 3rem;
  text-transform: uppercase;
  text-align: center;
  filter: drop-shadow(3px 0 6px rgba(255, 198, 0, 0.5019607843));
  color: white;
  margin-block-start: 0;
}

@media (width <= 600px) {
  #mainbody h3.novaflat {
    font-size: 2rem;
  }
}


#promo-event-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.hero + a button {
  font-size: 1.875rem;
  color: white;
  text-transform: uppercase;
  background-color: #fe1616;
  border-radius: 3px;
  border-top: 2px solid #ffc600;
  border-bottom: 2px solid #420c00;
  padding: 0.3em 0.8em;
  filter: drop-shadow(5px 0 10px rgba(0, 0, 0, 0.66));
  transition: background-color 100ms ease-in;
}

@media (hover: hover) {
  .hero + a button {
    cursor: pointer;
  }
  .hero + a button:hover {
    background-color: #fe9916;
  }
}

@media (max-width: 710px) {
  .hero + a button {
    font-size: 1.25rem;
  }
}



.promo-weapon-bonuses {
  list-style: none;
  margin-inline: auto;
  margin-block: 3.125rem;
}

.promo-weapon-bonuses figcaption {
  text-align: center;
  font-size: 1rem;
}


:root {
  --gap: 1.25rem;
  --gaphalf: 0.625rem;
  --gapquarter: 0.3125rem;
}

.col-flex {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.col-flex-4 > {
  flex-grow: 0;
  flex-shrink: 1;
}

@media (width > 1024px) {
  .col-flex-4 > * {
    flex-basis: calc(25% - var(--gap) + var(--gapquarter) );
  }
}

@media (width <= 1024px) {
  .col-flex-4 > * {
    flex-basis: calc(50% - var(--gap) + var(--gaphalf) );
  }
}

@media (width <= 600px) {
  .col-flex-4 > * {
    flex-basis: 100%;
  }
}