@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* zeroing */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* zeroing */

html {
  font: 1em/1.5 'Bebas Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
}

body {
  font-size: 1.3em;
  background: #b8b8a6;
  background-size: cover;
  overflow-x: hidden;
}

.wrapper {
  max-width: 100vw;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.container {
  max-width: 1424px;
  width: 100%;
  border-radius: 20px;
  margin: 30px auto;
  color: #3b5a6b;
  text-align: center;
  box-sizing: border-box;
}

.content {
  max-width: 1424px;
  width: 100%;
  margin: 0 auto;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

nav .navigation {
  background: #846c27;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  padding: 20px 40px;
  box-sizing: border-box;
}

nav .navigation .logo {
  width: 40px;
  height: 40px;
  padding-right: 20px;
}

.header {
  max-width: 100vw;
  width: 100%;
  margin-top: 80px;
  padding: 10px 20px 20px;
  background: #fff;
  background-size: cover;
  background-position: 50%;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.header .header-content {
  width: 65%;
}

.header .header-image {
  width: 35%;
  padding-left: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .header-image img {
  max-height: 400px;
  margin: 0 auto;
}

.header-content h1 {
  font-size: 45px;
  line-height: 1.5;
  font-family: 'Bebas Neue', serif;
  color: #1b354c;
  font-weight: 800;
  text-transform: uppercase;
}

.header-content h1 span {
  color: #fc0;
}

.header-content .description {
  font-family: 'Open Sans', serif;
  font-size: 18px;
  line-height: 1.2;
}

.header-content .sub-header {
  font-size: 26px;
  font-weight: 400;
  color: #1b354c;
  margin-bottom: 1em;
  text-transform: capitalize;
}

.features {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 3em;
  margin: 2em auto;
}
.feature-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.feature-item svg {
  width: 30px;
  height: 30px;
}

.main-text {
  padding: 15px 30px;
  margin-top: 3em;
  border-radius: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.46;
  text-align: left;
  color: #3b5a6b;
  background: #e8eadf;
}
.main-text p {
  padding-bottom: 10px;
}
.main-text h2 {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 10px;
}
.main-text h3 {
  font-size: 20px;
  font-weight: 600;
}
.main-text ul {
  list-style: square;
  padding-left: 25px;
  margin-bottom: 10px;
}

/* offer-wall styles */
.offer-wall {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.offer {
  position: relative;
  padding: 23px 20px 20px 35px;
  border: 2px solid #cedbe1;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
}

.offer:hover {
  scale: 1.01;
  box-shadow: 0 20px 20.58px 0.42px rgba(93, 102, 115, 0.24);
}

.details {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 0.5em;
}

.details .index {
  position: absolute;
  top: 50%;
  left: 0;
  padding: 20px 10px 22px 7px;
  transform: translateY(-50%);
  color: #cedbe1;
  background: #1b354c;
  border-top-right-radius: 35px;
  border-bottom-right-radius: 35px;
}

.top {
  color: #2b3432 !important;
  background: #fc0 !important;
  font-weight: 700;
}

.details .image {
  position: relative;
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

.details .bonus-description {
  min-width: 300px;
  max-width: 30%;
  padding: 10px;
  margin-top: 0;
  align-self: center;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: #1b354c;
  text-align: center;
}

.details .bonus-description span {
  display: block;
  font-weight: 400;
  color: #527385;
  text-transform: uppercase;
}

.deposit-thumbs {
  max-width: 210px;
}

.deposit-thumbs .icon {
  display: inline-block;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  width: 100%;
  max-width: 42px;
  height: 28px;
  padding: 3px;
  text-align: center;
  -o-object-fit: contain;
  object-fit: contain;
  overflow: hidden;
}

/* rating */
:root {
  --star-size: 35px;
  --star-color: #f7f4f4;
  --star-background: #fc0;
}

.Stars {
  --percent: calc(var(--rating) / 5 * 100%);

  display: inline-block;
  font-size: var(--star-size);
  font-family: 'Bebas Neue';
  line-height: 1;

  &::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(
      90deg,
      var(--star-background) var(--percent),
      var(--star-color) var(--percent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.rating .voted {
  display: block;
  padding: 0.3em 0;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
  color: #527385;
  text-transform: uppercase;
  text-align: center;
}

.button {
  display: block;
}

.button .link {
  display: block;
  width: 270px;
  height: 62px;
  margin: 0 auto 11px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 62px;
  color: #fff;
  text-align: center;
  background: linear-gradient(to bottom right, #c5ff1d, #0a4fff);
  border: 2px solid #50d000;
  box-shadow: 0 20px 20.58px 0.42px rgba(93, 102, 115, 0.24);
  text-decoration: none;
  transition: all 0.3s ease-in;
}

.button .link:hover {
  color: #000000;
  box-shadow: 0 5px 12px 2px rgba(93, 102, 115, 0.54);
}

.footer {
  padding: 5em 2em 2em;
  margin: 0 auto;
  background: #2b3432;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #787f8a;
}

.footer .content > .text {
  padding: 10px 0px;
  font-size: 18px;
  font-family: 'Open Sans', serif;
  line-height: 1.46;
  text-align: left;
  color: #787f8a;
}

.footer .content > .content-header {
  padding: 10px 0px;
  font-size: 24px;
  font-family: 'Open Sans', serif;
  line-height: 1.4;
  text-align: left;
  color: #787f8a;
  text-transform: uppercase;
}

.footer .content .images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  margin-top: 2em;
}

.footer .content .images a img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  padding: 0px;
}

.table-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #846c27;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 30px;
  font-family: 'Open Sans', serif;
  font-size: 16px;
  font-weight: bold;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  position: relative;
}
.offer-card .brand-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 14px 6px 10px;
  margin: 0 auto;
  line-height: 1;
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  background: #0093ff;
  border-radius: 20px;
}
.offer-card .basic-info .brand .image {
  width: 100%;
  height: 185px;
  object-fit: contain;
}
.offer-card .basic-info .bonus span {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  padding-bottom: 10px;
  color: #846c27;
}
.offer-card .basic-info .bonus {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}
.offer-card .basic-info .rating .voted {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}
.offer-card .basic-info .mark {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
}
.offer-card {
  position: relative;
  background: #fff;
  padding: 20px;
  transition: all 0.5s ease-out;
  border: 2px solid transparent;
}
.offer-card:hover {
  border: 2px solid #efefef;
}
.offer-card .basic-info {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: space-between;
  align-items: center;
}
.offer-card .description {
  font-family: 'Open Sans', serif;
  font-size: 12px;
  max-width: 90%;
  margin: 0 auto;
}
.title-container h2 {
  position: relative;
  display: inline-block;
  font-size: 70px;
  margin-top: 75px;
  margin-bottom: 75px;
}
.title-container h2:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -90px;
  width: 70px;
  height: 58px;
  background-image: url(../images/seven-2.svg);
  background-repeat: no-repeat;
}
.title-container h2:after {
  content: '';
  display: block;
  position: absolute;
  top: -50px;
  right: -100px;
  height: 180px;
  width: 180px;
  background-image: url(../images/star.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 50% 50%;
  z-index: -1;
}
@media (max-width: 1290px) {
  .offer {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
  }

  .details {
    flex-direction: column;
  }

  .details .bonus-description {
    min-width: 200px;
    max-width: none;
  }

  .offer-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .details .index {
    top: 10%;
  }
}

@media (max-width: 1100px) {
  .table-header {
    display: none;
  }
  .offer-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 1em;
  }
  .offer-card {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .offer-card .basic-info {
    display: block;
  }
}

@media (max-width: 925px) {
  .offer-table {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
  .header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header .header-content {
    width: 100%;
    padding-bottom: 20px;
  }

  .header .header-image {
    display: none;
  }
  .header h1 {
    line-height: 1.3;
  }

  .offer-wall {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer .aware {
    flex-direction: column;
  }

  nav .rds-intro-top-badge {
    width: 150px;
  }
  .features {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin: 1em auto;
  }
}

@media (max-width: 450px) {
  .header-content h1 {
    font-size: 35px;
  }

  .header-content .sub-header {
    padding-top: 10px;
    font-size: 16px;
  }

  .description {
    font-size: 18px;
  }

  .offer-wall {
    grid-template-columns: repeat(1, 1fr);
  }

  .features {
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
    font-size: 18px;
  }

  .offer {
    padding: 10px 15px 15px;
    max-width: 300px;
  }

  .details .bonus-description {
    font-size: 20px;
  }

  .details .bonus-description span {
    font-size: 14px;
  }
  .title-container h2 {
    font-size: 40px;
  }
  .title-container h2:before,
  .title-container h2:after {
    display: none;
  }
}

/* modal */
/* Modal CSS */
.modal {
  display: none;
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #b7c0cc9c;
}

.modal-content {
  margin: 5% auto;
  padding: 30px;
  max-width: 450px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

.close {
  color: #434242;
  float: right;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 25px;
  z-index: 1000;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content .offer-card {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  animation: pulse-animation 2s infinite;
}
.modal-content .offer-card .basic-info {
  display: block;
}
.modal-content .description {
  display: none;
}

.modal-content .offer-card .basic-info .rating .voted {
  display: none;
}

.modal-content .offer-card .basic-info .bonus {
  font-size: 40px;
  margin-bottom: 15px;
}

.modal-content .offer-card .basic-info .mark {
  display: none;
}

.modal-content .offer-card .basic-info .rating {
  margin-bottom: 20px;
}

.modal-content .deposit-thumbs {
  display: none;
}

.show {
  display: block;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    scale: 1;
  }

  50% {
    scale: 1.01;
  }

  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    scale: 1;
  }
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* popup */

.popup-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  z-index: 10;

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

  pointer-events: none;
}

.popup {
  padding: 24px 12px;

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

  row-gap: 12px;

  color: #fff;
}

.popup-bg .popup {
  background: #e8eadf;
  border: 2px solid black;
  box-shadow: 0 0 16px 8px rgba(0, 0, 0, 0.16);
  padding: 24px 12px;
  margin: 6px;

  color: #000;

  border-radius: 8px;

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

  row-gap: 12px;

  pointer-events: all;

  position: relative;
}

.popup > h2,
.popup > h3 {
  font-size: 2rem;

  font-weight: 700;
}

.popup > h3 {
  font-size: 1.75rem;
}

.popup > a {
  color: #846c27;
  transition: filter 250ms ease-in-out;
}
.popup > a:hover {
  filter: hue-rotate(32deg);
}

.popup > p {
  text-align: center;
}

.popup > button {
  text-transform: uppercase;
  padding: 12px 36px;
  background: #000;
  border-radius: 8px;
  color: #fff;

  transition: filter 200ms ease-in-out;
}

.popup > button:hover {
  cursor: pointer;
  filter: contrast(75%);
}

.popup > div {
  position: absolute;

  top: 0;
  right: 0;

  padding: 6px;
}

.popup > div > button {
  color: #fff;
  background: #000;

  font-size: 20px;

  height: 32px;
  width: 32px;
  border-radius: 50%;
  overflow: hidden;
  text-transform: uppercase;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 200ms ease-in-out;
}

.popup > div > button:hover {
  cursor: pointer;
  filter: contrast(75%);
}
