@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap");

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

  /* font family */
  --ff-primary: "Host Grotesk", sans-serif;
  --ff-secondary: "Host Grotesk", sans-serif;
  --ff-tertiary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";

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

  /* colors */
  --clr-light: #ffffff;
  --clr-dark: #000000;
  --clr-gray: rgba(111, 111, 111, 0.27);
  --clr-transparent: #000000a6;
  --clr-nav-bg: #051a1b;
  --clr-cta-button: #051a1b;

  /* accent and primary colors */
  --clr-primary: #1c2a39;
  --clr-accent: #1c2a39;
  --clr-accent-2: #058368;

  /* gradient colors */
  --clr-gradient: linear-gradient(45deg, #3a8c41, #8c683a);

  /* font sizes */
  --fs-h1: 2.5rem;
  --fs-h2: 1.875rem;
  --fs-h3: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-body: 1rem;

  /* 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);

  /* star styles */
  --star-size-large: 1.25rem;
  --star-size-small: 0.75rem;
  --star-color: #a2a2a2;
  --star-background: gold;

  /* 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-h1: 3.5rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
  }
}

/* General styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--clr-light);
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  color: var(--clr-primary);
}

.container {
  max-width: 75rem;
  margin: 0 auto;
}

section {
  padding: 1rem 1rem;
}

@media (min-width: 800px) {
  section {
    padding: 2rem 2rem;
  }
}

/* Basic Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-primary);
  line-height: 1;
}

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

a,
p,
li,
span {
  font-family: var(--ff-secondary);
}

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

/* STARS */
.stars {
  --percent: calc(var(--rating) / 10 * 100%);
  line-height: 1;
}

.stars:before {
  content: "\2605 \2605 \2605 \2605 \2605";
  font-family: FontAwesome;
  letter-spacing: 0.3rem;
  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;
}
/* STARS END */

/* TOP COOKIE BANNER */
.top-cookie-banner {
  text-align: center;
  background-color: #ced4da;
  padding-block: 0.5rem;
  width: 100%;
}
/* TOP COOKIE BANNER END */

/* HEADER SECTION */
.header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--clr-nav-bg);
  padding-inline: 1rem;
  width: 100%;
}

.header .header-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-light);
  padding-block: 1rem;
  margin: 0 auto;
}

.header .logo a {
  font-weight: var(--fw-bold);
  color: var(--clr-light);
}

.header .logo a:hover {
  color: var(--clr-accent);
}

.header .logo {
  max-width: 10rem;
}

/* Mobile Menu */
/* setting up the nav bar */
nav {
  background-color: var(--clr-nav-bg);

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

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

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

/* button with aria-expanded="true" and nav class added will expand the dropdown menu */
button[aria-expanded="true"] + nav {
  height: auto;
  visibility: visible;
}

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

    display: grid;
    gap: 1rem;
  }

  a {
    color: var(--clr-light);
  }
}

/* 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 .nav__link {
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  transition: all 0.2s ease-in-out;
}

.nav__list .nav__item .nav__link:hover {
  text-decoration: underline;
}

.nav__link {
  transition: color 0.2s, text-decoration 0.2s;
}
.nav__link:hover,
.nav__link:focus {
  color: #990503;
  text-decoration: underline;
}

/* Hamburger */
/* button itself */
.nav-toggle {
  background-color: 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(-0.5rem);
}
.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-color: var(--clr-light);
  width: 2rem;
  height: 0.175rem;
  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: 0.5rem;
}
.hamburger::after {
  bottom: 0.5rem;
}

/* Desktop Menu */
@media (min-width: 800px) {
  .header {
    padding-inline: 2rem;
  }
  .header .header-wrapper {
    flex-direction: row;
  }
  .header .logo {
    max-width: 12rem;
  }
  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;
    padding: 0;
  }
  .nav__list .nav__item {
    margin-right: 0;
  }
  .nav__list .nav__item:last-child {
    margin-top: 0;
    margin-right: 0;
  }
  .nav-toggle {
    display: none;
  }
}
/* HEADER SECTION END */

/* HERO SECTION */
.hero-section,
.general-page-hero-section {
  background: var(--clr-dark);
  background-image: url(../img/hero-bg.png);
  background-color: rgba(0, 0, 0, 0.44);
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  padding-block: 6rem 8rem;
}

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

.hero-section .hero-heading h1 {
  text-transform: uppercase;
  font-style: italic;
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
}

.hero-section .hero-heading p {
  max-width: 32.6rem;
  margin-bottom: 1.5rem;
}

.hero-section .hero-heading .cta-button {
  display: block;
  background-color: var(--clr-cta-button);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--clr-light);
  text-align: center;
  width: 10rem;
  border-radius: 0.5rem;
  padding-block: 0.8rem;
  transition: all 0.3s ease;
}

.hero-section .hero-heading .cta-button:hover {
  background-color: var(--clr-accent-2);
}

@media (max-width: 500px) {
  .hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    padding-block: 2rem 4rem;
  }
  .hero-section .hero-heading .cta-button {
    width: 100%;
  }
}

/* GENERAL PAGE HERO SECTION */
.general-page-hero-section {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  padding-block: 6rem 8rem;
}

.general-page-hero-section .hero-heading h1 {
  font-weight: var(--fw-bold);
  text-align: center;
  color: var(--clr-light);
}
@media (max-width: 500px) {
  .general-page-hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    padding-block: 2rem 4rem;
  }
}
/* GENERAL PAGE HERO SECTION END */
/* HERO SECTION END */

/* OFFER SECTION */
@media (min-width: 576px) {
  .offer-section-wrapper {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .offer-section-wrapper {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .offer-section-wrapper {
    max-width: 1000px;
  }
}

.offer-section h2 {
  text-transform: uppercase;
  font-style: italic;
  text-align: center;
  font-weight: var(--fw-bold);
  margin-bottom: 2rem;
}

.offer-section h2 span {
  color: var(--clr-accent);
}

/* CARD */
.card {
  border: 1px solid var(--clr-dark);
  border-radius: 0 1rem 1rem 1rem;
  counter-increment: logo-counter;
  margin-bottom: 1rem;
}

/* CARD'S LEFT SIDE */
.card-inner-wrapper .logo {
  background-color: var(--clr-light);
  border-top-right-radius: 1rem;
  padding: 1rem;
}
.card-inner-wrapper .logo > a {
  position: relative;
  background-color: var(--clr-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-gray);
  border-radius: 0 1rem 1rem 1rem;
  height: 100%;
  padding: 1rem;
}
.card-inner-wrapper .logo > a::before {
  background-color: var(--clr-light);
  border-bottom-right-radius: 3px;
  color: var(--clr-dark);
  content: counter(logo-counter) ".";
  font-weight: 700;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0;
  padding: 2px 6px;
  position: absolute;
  left: 0;
  top: 0;
}
.card-inner-wrapper .logo > a > img {
  object-fit: contain;
  width: 12.5rem;
  height: 5rem;
}

/* CARD'S RIGHT SIDE */
.right-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem 1rem 1rem;
}

/* OFFER TITLE */
.title-bonus-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.offer-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.offer-title a {
  font-weight: var(--fw-bold);
  text-decoration: underline;
  color: var(--clr-dark);
}

.offer-title .rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.offer-title .rating .score span {
  font-weight: var(--fw-bold);
}

/* WELCOME BONUS */
.welcome-bonus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.welcome-bonus span {
  font-size: var(--fs-h3);
  font-weight: 200;
}

.welcome-bonus .bonus-1 {
  font-weight: 700;
}

.welcome-bonus .bonus-2 {
  font-weight: 600;
  color: rgb(3 158 124 / 1);
}

/* PAYMENT METHODS */
.offer-payment-methods-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--clr-dark);
  border-radius: 0 1rem 1rem 1rem;
  overflow: hidden; /* Prevents overflow during sliding */
  height: 100%;
  width: 100%;
}

.carousel {
  width: 100%;
}

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

.carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

.offer-payment-methods {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.offer-payment-methods .payment-methods-item {
  padding-block: 0.3rem;
  padding-inline: 0.3rem;
  max-width: 3rem;
}

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

/* CARD'S RIGHT SIDE */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cta-wrapper a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: white;
  border-radius: 1rem 1rem 1rem 0;
  padding: 1rem;
  overflow: hidden;
}

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

.cta-wrapper .btn-success:hover {
  background-color: var(--clr-accent-2);
}

.cta-wrapper .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 */

.license {
  text-align: center;
  font-size: 0.6rem;
  margin-bottom: 1.5rem;
}

.license:last-child {
  margin-bottom: 0;
}

.license img {
  display: inline;
  width: 0.6rem;
  margin-right: 2px;
}

.desktop-license {
  display: none;
}

/* DESKTOP view */
@media (min-width: 992px) {
  .offer-section-wrapper {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .card {
    margin-bottom: 0.25rem;
  }
  .card-wrapper {
    /* padding: 1rem; */
    background-color: var(--clr-light);
    border-radius: 0 1rem 1rem 1rem;
  }
  .card-inner-wrapper {
    display: flex;
  }
  /* CARD'S LEFT SIDE */
  .card-inner-wrapper .logo {
    border-bottom-left-radius: 1rem;
    width: 20%;
    min-width: 12rem;
  }
  .card-inner-wrapper .logo > a {
    width: 100%;
    height: 8rem;
    padding: 0;
  }
  .card-inner-wrapper .logo > a > img {
    /* making logo images to stay in fixed width */
    width: 100%;
    max-width: 80%;
    height: 100%;
  }
  /* CARD'S RIGHT SIDE */
  .right-side {
    flex-direction: row;
    width: 80%;
    padding: 1rem 1rem 1rem 0;
  }
  .title-bonus-wrapper {
    width: 66.6%;
  }
  .right-side .mobile-license {
    display: none;
  }
  /* OFFER TITLE */
  .offer-title a {
    display: flex;
  }
  /* WELCOME BONUS */
  .welcome-bonus {
    flex-direction: row;
    align-items: flex-start;
  }
  /* CARD'S RIGHT SIDE */
  .cta-wrapper {
    align-items: center;
    gap: 0.5rem;
    width: 33.33%;
  }
  .cta-wrapper a {
    height: 100%;
    width: 100%;
  }
  .desktop-license {
    display: block;
  }
}
/* OFFER SECTION END */

/* DISCLAIMER SECTION */
.disclaimer-section a,
.info-section a {
  color: var(--clr-accent-2);
  text-decoration: underline;
}

.disclaimer-section {
  margin-top: 2rem;
}

.disclaimer-section .disclaimer-section-wrapper {
  max-width: 50rem;
  margin: 0 auto;
}

.disclaimer-section .disclaimer-section-text {
  text-align: center;
}

.disclaimer-section .disclaimer-section-text h2 {
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

.disclaimer-section .disclaimer-section-text p {
  text-align: center;
}

.disclaimer-section .disclaimer-section-help-links {
  display: flex;
  justify-content: space-around;
  padding-block: 1.375rem;
}

.disclaimer-section .disclaimer-section-help-links img {
  height: 2rem;
}

@media (min-width: 800px) {
  .disclaimer-section .disclaimer-section-help-links {
    justify-content: space-between;
    padding-block: 3.3rem;
  }

  .disclaimer-section .disclaimer-section-help-links img {
    height: 3.5rem;
  }
}
/* DISCLAIMER SECTION END */

/* INFO SECTION */

.info-section .info-section-wrapper {
  border: 1px solid var(--clr-dark);
  border-radius: 0 1rem 1rem 1rem;
  padding: 1.25rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-section .info-section-text h1,
.info-section .info-section-text h2,
.info-section .info-section-text h3 {
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}

.info-section .info-section-text p,
.info-section .info-section-text ul,
.info-section .info-section-text ol {
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.info-section .info-section-text p:last-child {
  margin-bottom: 0;
}
.info-section .info-section-text ul,
.info-section .info-section-text ol {
  margin-left: 2rem;
}

@media (min-width: 992px) {
  .info-section .info-section-wrapper {
    padding: 2.5rem 1.5rem;
  }
}
/* INFO SECTION END */

/* Modern Responsive Footer Styles */
.site-footer {
  background: #181818;
  color: #fff;
  padding: 2.5rem 0 1.5rem 0;
  font-size: 1rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.footer-brand span {
  font-size: 0.8rem;
  line-height: 0.8rem;
}
.footer-logo {
  height: 48px;
  width: auto;
}
.footer-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav-list li a:hover,
.footer-nav-list li a:focus {
  color: #990503;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.footer-social-link:hover,
.footer-social-link:focus {
  color: #990503;
}
.footer-help {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0.5rem 0;
}
.footer-help img {
  height: 32px;
  width: auto;
  filter: grayscale(1) brightness(1.2);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.footer-help a:hover img,
.footer-help a:focus img {
  filter: none;
  opacity: 1;
}
.footer-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #bbb;
  text-align: center;
}
.footer-disclaimer a {
  color: #990503;
  text-decoration: underline;
}
@media (max-width: 800px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 0.5rem;
  }
  .footer-nav {
    justify-content: center;
    width: 100%;
    display: flex;
  }
  .footer-nav-list {
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }
  .footer-social {
    margin-top: 0.5rem;
  }
}
@media (max-width: 500px) {
  .footer-container {
    padding: 0 0.5rem;
  }
  .footer-help {
    gap: 0.7rem;
  }
  .footer-disclaimer {
    font-size: 0.9rem;
  }
}
/* FOOTER END */
