/* fonts for Game layout 2  */

@font-face {
  font-display: swap;
  font-family: DMSans;
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/DMSans-ExtraBold.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/Nunito-Regular.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  src: url(../fonts/Nunito-SemiBold.ttf) format("truetype");
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/Nunito-Bold.ttf) format("truetype");
}

/* Setting up some custom properties, update these for your own design */

/* EM - will be in relation to that element's parent font-size starting from body */
/* REM - will be in relation to root (html) font-size */
/* Do MARGINS and PADDINGS on the text using EMs measurements - relative to font-size (REM) */
/* Do MARGINS of different SIZED OBJECTS NEXT TO EACH OTHER to keep spacing consistent and TEXT itself using REMs measurements */

:root {
  /* toggling menu */
  interpolate-size: allow-keywords;

  /* font family */
  --ff-primary: "Roboto", serif;
  --ff-secondary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* font weights */
  --fw-reg: 400;
  --fw-bold: 700;

  /* colors */
  --clr-light: #fff;
  --clr-dark: #303030;

  /* accent and primary colors */
  --clr-primary: #c5191c;
  --clr-accent: #602d84;
  --clr-accent-2: #8a6a3a;

  /* gradient colors */
  --clr-gradient: linear-gradient(90deg, #5f2c82 0%, #49a09d 100%);

  /* font sizes */
  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-body: 0.8rem;

  /* box shadow */
  /* up/down left/right blur rgba*/
  --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25),
    /* another layer to help to increase the realism of the shadows */ 0.125em
      0.125em 0.25em rgba(0, 0, 0, 0.15);

  /* Root variables for Game layout 2 */

  /* STARS */
  --star-size: 20px;
  --star-color: #fff;
  --star-background: #fc0;

  /* PLAY BUTTON SHINE EFFECT ANIMATION */
  --anim-duration: 4s;
  --anim-speed: 0.65s;
  --shine-degree: 90deg;
  --shine-color: rgba(255, 255, 255, 0.2);
  --shine-effect: linear-gradient(
    var(--shine-degree),
    transparent,
    var(--shine-color),
    transparent
  );
  --shine-transition: all var(--anim-speed) ease-in-out;
}

/*  generic media query - making fonts bigger for bigger screens */
@media (min-width: 800px) {
  :root {
    /* redefine font sizes - making bigger at large screen sizes - so we don't have to redefine in our actual CSS */
    --fs-h1: 4.5rem;
    --fs-h2: 3.75rem;
    --fs-h3: 2.5rem;
    /* --fs-body: 1.125rem; */
    --fs-body: clamp(0.8rem, 0.15rem + 1.3vw, 1.125rem);
  }
}

/* General styles */

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1rem;
}
@media (min-width: 800px) {
  .container {
    padding-inline: 2rem;
  }
}

section {
  /* keep things from touching the side of the screen */
  padding: 5em 0;
}

/* Making strong tag even stronger/bolder (it doesn't work by some reason) */
strong {
  font-weight: var(--fw-bold);
}

/* When everything has a FOCUS state (hitting a TAB) is going to get an outline on it */
/* :focus {
  outline: 3px solid var(--clr-accent);
  outline-offset: 1px;
} */

/* Basic Typography */

h1,
h2,
h3 {
  font-family: var(--ff-primary);
  line-height: 1.3;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

p {
  font-family: var(--ff-secondary);
}

/* HEADER SECTION */

header {
  background: var(--clr-gradient);

  position: relative;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 1200px;
  margin: 0 auto;

  padding-block: 1rem;
}

header .logo {
  max-width: 100px;
}

header .logo img,
.footer .f-logo img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header .logo:hover img,
.footer .f-logo:hover img {
  transform: rotate(-12deg) scale(1.07);
}

/* Mobile Menu */
nav {
  background: var(--clr-gradient);
  color: #f3e9ff;

  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1;

  margin-right: 1.2rem;

  height: 0;
  overflow: clip;
  visibility: hidden;

  transition: height 1s ease, visibility 1s;
}

button[aria-expanded="true"] + nav {
  height: auto;
  visibility: visible;
}

nav {
  ul {
    margin: 0;
    padding: 3rem;

    display: grid;
    gap: 1rem;
  }

  a {
    color: #f3e9ff;
    position: relative;
    transition: color 0.3s, transform 0.3s;
  }
  a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--clr-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  a:hover,
  a:focus-visible {
    color: #49a09d;
    transform: scale(1.08);
  }
  a:hover::after,
  a:focus-visible::after {
    transform: scaleX(1);
  }
}

/* setting up the nav list */
.nav__list {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 2rem;
}

.nav__list .nav__item {
  margin-right: 0;
  list-style: none;
}

.nav__list .nav__item:last-child {
  margin-top: 0.5rem;
}

.nav__list .nav__item .nav__link {
  color: #f3e9ff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);
  letter-spacing: 0.03em;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.nav__list .nav__item .nav__link:hover {
  color: #49a09d;
  background: rgba(255, 255, 255, 0.07);
  transform: scale(1.08);
}

.nav__list .nav__item:last-child .nav__link {
  display: block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--clr-gradient);
  border: none;
  border-radius: 8px;
  padding: 0.6em 1.2em;
  box-shadow: 0 2px 8px rgba(95, 44, 130, 0.08);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.nav__list .nav__item:last-child .nav__link:hover {
  color: #fff;
  background: var(--clr-gradient);
  transform: scale(1.1) rotate(-2deg);
}

/* HAMBURGER MENU */

/* button itself */
.nav-toggle {
  margin-block: auto;
  padding: 0.5em;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ROTATE toggle stripes inside so it turns into an X */
.nav-open .hamburger {
  /* when nav is open then hamburger itself (.hamburger) going to get ... */
  transform: rotate(0.625turn);
  /* and it will rotate it around, you can do it in degrees but I want to show that you can do it in turn units */
}
.nav-open .hamburger::before {
  /* when nav is open then (.hamburger::before) going to get ... */
  /* rotated by 90 degree and adjusted/moved back (translateX) by 6px as it was off and ugly by 6px */
  transform: rotate(90deg) translateX(-6px);
}
.nav-open .hamburger::after {
  /* when nav is open then (.hamburger::after) going to get ... */
  opacity: 0;
  /* so it's going to disappear and rest would rotate and turn into an X */
}

/* give 3 stripes inside a button */
.hamburger {
  /* give it a display: block because by default span is inline */
  display: block;
  /* give it a position: relative because we're gonna be using a pseudo elements with absolute positioning - it will make our lives much easier */
  position: relative;
}

/* give 3 stripes inside a button */
.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--clr-accent);
  width: 2em;
  height: 3px;
  border-radius: 1em;
  /* give some animation */
  transition: transform 250ms ease-in-out;
}

/* give 3 stripes inside a button */
.hamburger::before,
.hamburger::after {
  /* first think you want to do is give it a content as pseudo elements will not work unless you give them some content */
  content: "";
  /* you give them position or give them display property is required */
  position: absolute;
  /* that it means that it matches the width with the other one
    and it's because i have position: relative in .hamburger. if not then it will be relative to whole screen 
    and huge bar going all the way across */
  left: 0;
  right: 0;
}

/* give 3 stripes inside a button */
/* the reason it is 6px is because we have height of 3 px, empty space of 3px and then we'll have the rest of hamburger */
.hamburger::before {
  top: 6px;
}
.hamburger::after {
  bottom: 6px;
}

@media (min-width: 800px) {
  header .logo {
    max-width: 140px;
  }
  nav {
    background: none;
    position: initial;
    overflow: visible;
    visibility: visible;
    margin-right: 0;
    height: 100%;
  }
  nav {
    ul {
      margin: 0;
      padding: 3rem;

      display: grid;
      gap: 2rem;
    }
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    line-height: 1;
    padding: 0;
  }
  .nav__list .nav__item {
    margin-right: 0;
  }
  .nav__list .nav__item:last-child {
    margin-top: 0;
    margin-right: 0;
  }
  .nav__list .nav__item .nav__link {
    font-weight: var(--fw-reg);
    font-size: var(--fs-body);
  }
  .nav-toggle {
    display: none;
  }
}

/* HERO SECTION */

.hero {
  background: url(../img/hero-bg.png);
  background-color: rgba(42 42 42 / 1);
  background-blend-mode: overlay;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;

  height: 100vh;
  width: 100%;

  position: relative;
}

.hero .hero-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  height: 100%;
  color: var(--clr-light);
  width: 80%;
  margin: auto;
}

.hero .hero-heading h1 {
  font-weight: var(--fw-bold);
}

@media (min-width: 800px) {
  .hero .hero-heading {
    flex-direction: row;
    gap: 2rem;
  }
  .hero .hero-heading h1 {
    width: 60%;
  }
  .hero .hero-heading p {
    width: 40%;
  }
}

/* GAME SECTION */

.games {
  background: var(--clr-gradient);
}

.games .games-heading {
  color: var(--clr-light);
}

.games .games-heading h2 {
  margin-bottom: 2rem;
}

.games .games-heading p {
  margin-bottom: 4rem;
}

/* Game layout 1 */

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.games-container .game-card {
  position: relative;
  background-color: #181828;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 24px rgba(95, 44, 130, 0.1),
    0 1.5px 6px rgba(49, 160, 157, 0.08);
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: box-shadow 0.35s, transform 0.35s, border 0.35s;
  z-index: 1;
}

.games-container .game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: var(--clr-gradient);
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.35s;
}

.games-container .game-card:hover {
  transform: scale(1.045) translateY(-6px);
  box-shadow: 0 8px 32px 0 rgba(95, 44, 130, 0.18),
    0 4px 16px rgba(49, 160, 157, 0.15);
  border-color: #fff0;
  z-index: 2;
}

.games-container .game-card:hover::before {
  opacity: 1;
}

.games-container .game-card img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
  transition: transform 0.35s, opacity 0.35s;
  will-change: transform, opacity;
}

.games-container .game-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.games-container .game-card .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 14px 14px 14px;
  border-radius: 18px;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s, height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height, top, opacity;
}

.games-container .game-card:hover .overlay {
  height: 33%;
  top: 67%;
  opacity: 1;
  pointer-events: auto;
}

.games-container .game-card .title {
  font-size: 1rem;
  margin-bottom: 5px;
}

.games-container .game-card .rating {
  color: gold;
  font-size: 0.9rem;
}

.games-container .game-card .play-button {
  display: inline-block;
  margin-top: 5px;
  padding: 8px 12px;
  background-color: var(--clr-accent);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;

  filter: brightness(1);
  scale: 1;
  transition: all 0.4s ease;
}

.games-container .game-card .play-button:hover {
  filter: brightness(1.3);
  scale: 1.1;
}

.games-container .new-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(95, 44, 130, 0.12);
  z-index: 2;
  letter-spacing: 0.03em;
  border: 2px solid #fff2;
  transition: box-shadow 0.3s, transform 0.3s;
}

.games-container .game-card:hover .new-badge {
  box-shadow: 0 4px 16px rgba(95, 44, 130, 0.18);
  transform: scale(1.08);
}

/* Game layout 2 */

.games-container-2 .container {
  max-width: 62rem;
  margin: 0 auto;
  padding-inline: 0;
}
@media (min-width: 576px) {
  .games-container-2 .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .games-container-2 .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .games-container-2 .container {
    max-width: 62rem;
  }
}

/* CARD */
.games-container-2 .card {
  margin-bottom: 1.5rem;
}

.games-container-2 .card-wrapper {
  position: relative;
  background-color: rgb(239 241 244 / 1);
  border-radius: 0.375rem;
}

/* CARD'S LEFT SIDE */
.games-container-2 .card-inner-wrapper .logo > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background-color: rgb(33, 37, 41);
  border-radius: 0.375rem 0.375rem 0 0;
  /* height: 7rem; */
}
.games-container-2 .card-inner-wrapper .logo > a > img {
  object-fit: contain;
  /* max-width: 70%; */
}

/* CARD'S MIDDLE SIDE */
.games-container-2 .middle-side-wrapper {
  display: flex;
  flex-direction: column;
}

.games-container-2 .middle-side {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

/* OFFER TITLE */
.games-container-2 .offer-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.games-container-2 .offer-title a {
  font-family: "DMSans", sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.games-container-2 .offer-title a:hover {
  text-decoration: underline;
}

.games-container-2 .offer-title a span {
  margin-right: 0.375rem;
  color: #4769da;
  display: none;
}

/* STARS */
.games-container-2 .Stars {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  --percent: calc(var(--rating) / 10 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}

.games-container-2 .Stars:before {
  content: "\f005 \f005 \f005 \f005 \f005";
  font-family: FontAwesome;
  font-size: small;
  letter-spacing: 3px;
  background: linear-gradient(
    90deg,
    var(--star-background) var(--percent),
    var(--star-color) var(--percent)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PERKS */
.games-container-2 .offer-perks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background-color: rgb(255, 255, 255);
  border-radius: 0.375rem;
  padding: 0.5rem;
}

.games-container-2 .offer-perks p {
  font-size: 1rem;
  font-family: "Nunito", sans-serif !important;
  font-weight: 200;
  color: rgb(0 0 0 / 1);
  margin-bottom: 0;
  padding: 0.25rem;
}

.games-container-2 .offer-perks .perk-1 p {
  font-weight: 700;
}

.games-container-2 .offer-perks .perk-2 p {
  font-weight: 600;
  color: var(--clr-accent);
}

.games-container-2 .offer-perks .offer-votes {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-self: center;
}
.games-container-2 .offer-perks .offer-votes .site-votes {
  font-size: 1.5rem;
  color: var(--clr-accent);
}
.games-container-2 .offer-perks .offer-votes .site-text {
  font-size: 0.7rem;
}

/* PAYMENT METHODS */
.games-container-2 .offer-payment-methods-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden; /* Prevents overflow during sliding */
  background-color: rgb(255, 255, 255);
  border-radius: 0.375rem;
  padding-block: 5px;
}

.games-container-2 .carousel-container {
  width: 100%;
  overflow: hidden;
}

.games-container-2 .carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth sliding effect */
  width: 100%;
}

.games-container-2 .carousel-item {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Mobile First - 1 column layout */
.games-container-2 .offer-payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.games-container-2 .offer-payment-methods .payment-methods-item {
  width: 10%; /* Full width for mobile */
}

.games-container-2 .offer-payment-methods .payment-methods-item img {
  height: auto;
  object-fit: contain;
}

.games-container-2 .carousel-inner .offer-score {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.games-container-2 .carousel-inner .offer-score .site-rating {
  font-size: 2.5rem;
  line-height: 1.1;
}
.games-container-2 .carousel-inner .offer-score .site-text {
  font-size: 0.7rem;
}

/* Desktop (min-width: 992px) */
@media (min-width: 992px) {
  .games-container-2 .offer-payment-methods-wrapper {
    width: 33.33%;
    padding-block: 0;
  }

  .games-container-2 .offer-payment-methods {
    gap: 0.5rem;
    width: 100%;
  }

  .games-container-2 .offer-payment-methods .payment-methods-item {
    width: calc(47% - 0.6rem); /* 2 items per row (2x2 grid) */
    border: 1px solid rgb(239, 241, 244);
    border-radius: 0.375rem;
    padding-inline: 15px;
    padding-block: 5px;
  }
}

/* CARD'S RIGHT SIDE */
.games-container-2 .right-side-wrapper {
  padding: 0 0.5rem 0.5rem 0.5rem;
}
.games-container-2 .right-side-wrapper a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  color: white;

  border-radius: 0.375rem;
  padding: 0.5rem;
  overflow: hidden;
}

/* PLAY BUTTON SHINE EFFECT ANIMATION */
.games-container-2 .btn-success {
  background-color: var(--clr-accent);
  border-color: var(--clr-accent);
  transition-property: all !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 0.15s !important;
}

.games-container-2 .btn-success::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shine-effect);
  animation: shine var(--anim-duration) ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
    transition-property: left;
  }

  14%,
  100% {
    left: 100%;
    transition-property: left;
  }
}
/* PLAY BUTTON SHINE EFFECT ANIMATION END */

@media (min-width: 992px) {
  .games-container-2 .card-wrapper {
    padding: 1rem;
  }
  .games-container-2 .card-inner-wrapper {
    display: flex;
    height: 9rem;
  }
  /* CARD'S LEFT SIDE */
  .games-container-2 .card-inner-wrapper .logo {
    width: 20%;
    min-width: 193px;
  }
  .games-container-2 .card-inner-wrapper .logo > a {
    width: 100%;
    border-radius: 0.375rem;
    height: 100%;
  }
  .games-container-2 .card-inner-wrapper .logo > a > img {
    /* making logo images to stay in fixed width */
    width: 100%;
    /* max-width: 80%; */
    max-width: 95%;
    height: auto;
    /* height: 100%; */
    /* object-fit: cover; */
  }
  /* CARD'S MIDDLE SIDE */
  .games-container-2 .middle-side-wrapper {
    flex-direction: row;
    width: 100%;
  }
  .games-container-2 .middle-side {
    flex-direction: row;
    align-items: center;
    background-color: rgb(255 255 255 / 1);
    border-radius: 0.375rem;
    margin-right: 1rem;
    margin-left: 0.5rem;
    height: 9rem;
    width: 100%;
  }
  /* OFFER TITLE */
  .games-container-2 .offer-title {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 33.33%;
  }
  .games-container-2 .offer-title a {
    display: flex;
    font-weight: 600;
    color: rgb(29 78 216 / 1);
  }
  .games-container-2 .offer-title a span {
    display: block;
  }
  /* STARS */
  .games-container-2 .Stars {
    position: relative;
    top: 0;
    right: 0;
  }
  .games-container-2 .Stars:before {
    font-size: large;
  }
  /* PERKS */
  .games-container-2 .offer-perks {
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    width: 33.33%;
    padding: 0;
  }
  .games-container-2 .offer-perks p {
    padding: 0;
  }
  /* CARD'S RIGHT SIDE */
  .games-container-2 .right-side-wrapper {
    min-width: 180px;
    padding: 0;
  }
  .games-container-2 .right-side-wrapper a {
    height: 100%;
  }
}

/* GAME PAGE */

.game-page__hero {
  display: flex;

  background: url(../img/hero-bg.png);
  background-color: rgba(42 42 42 / 1);
  background-blend-mode: overlay;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  width: 100%;
}

.game-page__hero .game-page__hero-heading {
  color: var(--clr-light);
  width: 100%;
}

.game-page__hero .game-page__hero-heading h2 {
  text-align: center;
}

.game {
  background: var(--clr-gradient);
}

iframe {
  width: 100%;
  height: calc(100vw * (960 / 1990));
  border: 0px;
}

/* GENERAL PAGE SECTION (Privacy Policy, Terms & Conditions) */

.general-page-content {
  background: var(--clr-gradient);
}

.general-page-content h3 {
  margin-top: 2rem;
}

.general-page-content h3:first-of-type {
  margin-top: 0;
}

.general-page-content p:first-of-type {
  margin-bottom: 2rem;
}

.general-page-content li {
  margin-left: 2rem;
}

.general-page-content a {
  color: var(--clr-light);
}

/* BULLET ICONS SECTION */

.bullet-icons {
  background: var(--clr-gradient);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5em 0;
}

.iconbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.iconbox-container .iconbox {
  background: rgba(32, 34, 56, 0.92);
  text-align: center;
  padding: 2.5rem 1.5rem 2.2rem 1.5rem;
  border: 1.5px solid #35355a;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(49, 160, 157, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  width: 270px;
  min-width: 220px;
  max-width: 100%;
  height: 230px;
  min-height: 180px;
  max-height: 230px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.2rem 2rem 1.2rem;
}

@media (min-width: 800px) {
  .iconbox-container {
    flex-direction: row;
    justify-content: center;
    gap: 3.5rem;
  }
  .iconbox-container .iconbox {
    width: 270px;
    min-width: 220px;
    max-width: 270px;
    height: 230px;
    min-height: 180px;
    max-height: 230px;
    padding: 2.2rem 1.2rem 2rem 1.2rem;
  }
}

.iconbox-container .iconbox:hover {
  box-shadow: 0 8px 32px rgba(95, 44, 130, 0.18),
    0 4px 16px rgba(49, 160, 157, 0.15);
  animation: shakey 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakey {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-3px);
  }
  40%,
  60% {
    transform: translateX(3px);
  }
}

.iconbox-container .iconbox .iconbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.5rem;
  width: 6.5rem;
  border: 2.5px solid #49497a;
  border-radius: 50%;
  background: linear-gradient(135deg, #23243a 60%, #35355a 100%);
  margin: auto;
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}

.iconbox-container .iconbox:hover .iconbox-icon {
  border: 2.5px solid #fec544;
  box-shadow: 0 0 0 6px rgba(254, 197, 68, 0.08);
  background: linear-gradient(135deg, #35355a 60%, #49497a 100%);
}

.iconbox-container .iconbox .iconbox-icon img {
  filter: brightness(1);
  scale: 1;
  transition: all 0.4s ease;
}

.iconbox-container .iconbox:hover .iconbox-icon img {
  filter: brightness(1.5);
  scale: 1.2;
}

.iconbox-container .iconbox-title {
  font-weight: 500;
  line-height: 1.25em;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
  transition: color 0.3s;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  max-width: 90%;
}

.iconbox-container .iconbox:hover .iconbox-title {
  color: #fec544;
}

@media (min-width: 800px) {
  .iconbox-container {
    flex-direction: row;
    justify-content: center;
    gap: 3.5rem;
  }
}

/* FOOTER SECTION */

.footer {
  background: linear-gradient(
      180deg,
      rgba(34, 34, 54, 0.92) 0%,
      rgba(34, 34, 54, 0.85) 100%
    ),
    url(../img/footer-bg.jpg);
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  text-align: center;
  color: var(--clr-light);
  padding: 1.25rem 0 0.625rem;
}

.footer .f-logo {
  display: inline-block;
  text-align: center;
  width: 300px;
  margin-bottom: 2rem;
}

.footer .disclaimer p {
  font-family: var(--ff-primary);
  /* text-transform: uppercase; */
}

.footer .legal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .legal img {
  height: 1.875rem;
  margin-block: 1.875rem;
  margin-inline: 0.9375rem;
}

.footer .f-links {
  margin-block: 1.875rem;
}

.footer .f-links a {
  text-transform: uppercase;
  color: var(--clr-light);
  border-bottom: 1px solid var(--clr-light);
  position: relative;
  overflow: hidden;
  transition: color 0.3s, transform 0.3s;
}

.footer .f-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--clr-light);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.footer .f-links a:hover,
.footer .f-links a:focus-visible {
  color: #fffbe7;
  transform: scale(1.07);
}

.footer .f-links a:hover::after,
.footer .f-links a:focus-visible::after {
  width: 100%;
  left: 0;
}

.footer .f-copy p,
.footer .f-copy a {
  text-transform: uppercase;
  color: var(--clr-light);
}

.footer .f-copy {
  float: none;
}

@media (min-width: 800px) {
  .footer {
    padding: 2.5rem 0 1.25rem;
  }
  .footer .f-links a {
    font-weight: 700;
  }
}

.spacer-section {
  background: var(--clr-gradient);
  height: 60px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}
