:root {
  --light-color: #fff;
  --dark-color: #000;

  --primary-color: #15cefa;
  --accent-color: #003a5f;
  --attention-color: #15cefa;
  --link-color: #0491e8;

  --bg-color: #fcfcd4;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

 .responsible-gaming__help svg {
  fill: currentColor;
  color: var(--accent-color);
 }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: #111827;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.header {
  background: var(--attention-color);
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem;
  gap: 2rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}



.hero {
    padding: 4rem 0;
    color: var(--light-color);
    position: relative;
    z-index: 10;
    box-shadow: 0px 2px 9px 0px #00000040
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../img/hero-1.webp);
  background-size: cover;
  background-repeat: no-repeat;
 
  left: 0;
  top: 0;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .7);
  z-index: -1;
}

.hero__main {
  text-align: center;
  
}

.hero__logo {
  margin: 0 auto 1.5rem;
  max-width: 70px;
}

.hero__logo img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: auto;
}

.hero__title {
  font-size: 4rem;
  margin-bottom: 2.5rem;
}

.hero__subtitle {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.hero__feature {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Ranking Section */
.ranking__inner {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ranking__disclaimer {
    background-color: #7f1d1d33;
    border: 1px solid #ef44444d;
    border-radius: 8px;
    padding: 1rem;
    color: #f87171;
    font-weight: 700;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 1.875rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  box-shadow: 0px 2px 9px 0px #00000040;
  position: relative;
  min-height: 180px;
  overflow: hidden;
  z-index: 10;
}
.card::before {
    position: absolute;
    content: '';
    width: 70%;
    height: 110%;
    right: 0;
    bottom: 0;
    background-color: var(--attention-color);
    z-index: -1;
    transform: skewX(-35deg) translateX(250%);
    transition: all .5s ease;
}

.card:hover::before {
    transform: skewX(-35deg) translateX(80%);
}



.card__rank {
  font-size: 1.2rem;
  font-weight: bold;
  max-width: 200px;
  line-height: 0;
  margin: 0 auto;
}

.card__rank img {
  max-width: 100%;
  width: 100%;
}

.card__bonus {
    font-weight: 700;
    max-width: 200px;
    margin: 0 auto;
}

.card__bonus h3 {
    color: #8c8c8c;
}

.card__bonus  span{
    font-size: 1.2rem;
    color: var(--accent-color);
}

.card__desc {
  color: #4b5563;
  font-weight: 700;
}

.card__rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  justify-content: center;
  list-style: none;
}

.card__rating svg {
  max-width: 16px;
}

.fill-current {
  fill: currentColor;
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.card__score {
  font-weight: bold;
  font-size: 1.2rem;
}

.card__btn {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s, transform .5s ease;
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
  font-weight: 700;
}

.card__btn:hover {
  background: var(--link-color);
  transform: scale(1.1);
}

/* Criteria Section */
.criteria {
  background: #fff;
  border-radius: 1rem;
  padding: 4rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.criteria__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.criteria__item + .criteria__item {
  margin-top: 1.25rem;
}

.criteria__subtitle {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.criteria__text {
  font-size: 0.95rem;
  color: #374151;
}

/* Footer */
.footer {
  background: #111827;
  color: #d1d5db;
  padding: 2rem 1rem;
  text-align: center;
}

.footer__logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer__logo {
  height: 30px;
}

.footer__nav {
  margin-bottom: 1rem;
}

.footer__link {
  margin: 0 0.5rem;
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__disclaimer {
  margin-bottom: 1.5rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
  .card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .card__btn {
    width: 100%;
    margin-top: 1rem;
  }
  .header__title {
    font-size: 1.5rem;
  }
  .header__subtitle {
    font-size: 0.875rem;
  }
  .criteria {
    padding: 1.25rem 0px;
  }
  .criteria__title {
    font-size: 1.25rem;
  }
  .responsible-gaming__content {
    padding: 1rem;
  }
  .responsible-gaming__link img {
    max-width: 280px;
  }
  .footer__logos {
    flex-direction: column;
    align-items: center;
  }
  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer__link {
    margin: 0;
  }

}

/* RESPONSIBLE GAMING */

.responsible-gaming {
  padding: 4rem 0;
}

.responsible-gaming__title {
  text-align: center;
  margin-bottom: 2rem;
}

.responsible-gaming__content {
  background-color: #7f1d1d33;
  border: 1px solid #ef44444d;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 3rem;
}

.text-red-400 {
  flex-shrink: 0;
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}

.responsible-gaming__description h4 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.5rem;
}

.responsible-gaming__help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* COOKIES START */

.cookies-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--dark-color);
  color: var(--light-color);
  padding: 1.5rem 1rem;
  text-align: center;
  z-index: 1000;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookies-banner__btns {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cookies-banner__btns {
    flex-direction: column;
    align-items: center;
  }
}

.cookies-banner button {
  margin: 0 5px;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
}

#accept-cookies {
  background-color: var(--accent-color); /* Green */
  color: white;
  transition: transform 0.5s ease;
}
#accept-cookies:hover {
  transform: scale(1.05);
}

#reject-cookies {
  background-color: #f44336; /* Red */
  color: white;
}

#reject-cookies:hover {
  transform: scale(1.05);
}

/* PAGES STYLES */

.page-rights .hero__logo {
    text-align: center;
        display: block;
        margin-bottom: 1.5rem;
}


.page-rights h1 {
    text-align: center;
}


.page {
    padding: 3rem 0;
}

.page__title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.page__subtitle {
    margin-bottom: 0.625rem;
}

.page__text {
    margin-bottom: 1.25rem;
}

.page__list {
    padding-left: 18px;
    margin-bottom: 1rem;
}

.responsible__title {
    margin-bottom: 2rem;
}

.responsible__help {
  margin-top: 2.5rem;
}
