/*STEP 1 START*/

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Enhanced smooth scrolling for mobile Safari */
@supports (-webkit-overflow-scrolling: touch) {
  html {
    -webkit-overflow-scrolling: touch;
  }
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2D3748;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #FAF5FF 0%, #F0EBF8 100%);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #6B46C1;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   color variables
   ========================================================================== */

:root {
  --warning: #D69E2E;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  background: #553C9A;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  will-change: transform; /* Optimize for mobile scrolling */
}

/* iOS Safari specific optimizations */
@supports (-webkit-appearance: none) {
  .site-header {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(85, 60, 154, 0.92);
  }
}

.site-header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo-link {
  display: block;
  transition: transform 0.2s ease;
}

.site-header__logo-link:hover {
  transform: scale(1.02);
}

.site-header__logo img {
  height: 70px;
  width: auto;
  max-width: 280px;
  /* filter: hue-rotate(40deg); */
}

.site-header__nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-header__nav-link {
  color: #E9D8FD;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.site-header__nav-link:hover {
  color: #553C9A;
  background: #E9D8FD;
  text-decoration: none;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #B794F4, #9F7AEA);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-header__nav-link:hover::after {
  width: 80%;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.site-header__menu-toggle:hover {
  background-color: rgba(183, 148, 244, 0.1);
}

.site-header__menu-toggle:focus {
  outline: 2px solid #6B46C1;
  outline-offset: 2px;
}

.site-header__menu-line {
  width: 24px;
  height: 2px;
  background-color: #B794F4;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.site-header__menu-line:nth-child(1) {
  margin-bottom: 4px;
}

.site-header__menu-line:nth-child(2) {
  margin-bottom: 4px;
}

/* Animated hamburger to X transformation */
.site-header__menu-toggle--open .site-header__menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header__menu-toggle--open .site-header__menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header__menu-toggle--open .site-header__menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Mobile menu overlay */
.site-header__nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: -1;
}

.site-header__nav--open::before {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Warning Section
   ========================================================================== */

.warning-section {
  background: linear-gradient(135deg, #805AD5, #6B46C1);
  color: #FFFFFF;
  padding: 2rem;
  text-align: center;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 0.5rem 1.5rem rgba(107, 70, 193, 0.35);
}

.warning-section__container {
  width: 100%;
}

.warning-section__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.warning-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.warning-section__text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.warning-section__text strong {
  font-weight: 700;
}

.warning-section__link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.warning-section__link:hover {
  opacity: 0.8;
  color: #FFFFFF;
}

.warning-section__button {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
}

.warning-section__button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF;
  text-decoration: none;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.125rem;
}

/* ==========================================================================
   Header Section
   ========================================================================== */

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.header__title {
  color: #553C9A;
  font-size: 2.5rem;
  margin-bottom: 0.625rem;
  font-weight: 700;
}

.header__subtitle {
  color: #718096;
  font-size: 1.125rem;
  font-weight: 400;
}

/* ==========================================================================
   Casino Cards
   ========================================================================== */

.casino-card {
  background: linear-gradient(140deg, #F7FAFC, #EDF2F7);
  border-radius: 1.25rem;
  margin-bottom: 1.5625rem;
  padding: 1.5625rem;
  box-shadow: 0 0.625rem 1.875rem rgba(85, 60, 154, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.casino-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.9375rem 2.5rem rgba(85, 60, 154, 0.2);
}

.casino-card--top-choice {
  border-color: #D4AF37;
}

.casino-card--editors-pick {
  border-color: #2E8B57;
}

.casino-card--popular {
  border-color: #4682B4;
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  position: absolute;
  top: -0.3125rem;
  left: 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.9375rem 0.9375rem;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*STEP 1 END*/

/*STEP 2 START*/

.badge--top-choice {
  background: linear-gradient(45deg, #D4AF37, #B8860B);
}

.badge--editors-pick {
  background: linear-gradient(45deg, #2E8B57, #228B22);
}

.badge--popular {
  background: linear-gradient(45deg, #4682B4, #5F9EA0);
}

/* ==========================================================================
   Casino Card Components
   ========================================================================== */

.casino-card__rank {
  width: 3.75rem;
  height: 3.75rem;
  background: linear-gradient(45deg, #718096, #B794F4);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1.5625rem;
  flex-shrink: 0;
}

.casino-card__info {
  flex: 1;
  display: flex;
  gap: 1.875rem;
  align-items: center;
}

.casino-card__logo {
  width: 5rem;
  height: 5rem;
  background: #FAF5FF;
  border: 2px solid #E9D8FD;
  border-radius: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.casino-card__logo:hover {
  transform: scale(1.05);
}

.casino-card__logo--dark {
  background: #553C9A;
  border: none;
  box-shadow: 0 0.125rem 0.5rem rgba(85, 60, 154, 0.35);
}

.casino-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.casino-card__details h3 {
  font-size: 1.4rem;
  color: #553C9A;
  margin-bottom: 0.5rem;
}

.casino-card__rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.casino-card__stars {
  color: #A0AEC0;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.casino-card__score {
  font-weight: 600;
  color: #553C9A;
}

.casino-card__visit-link {
  color: #6B46C1;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  flex: 1;
  max-width: 18.75rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.feature__checkmark {
  color: var(--warning);
  margin-right: 0.625rem;
  font-weight: 700;
  font-size: 1rem;
}

.feature a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.feature a:hover {
  color: #6B46C1;
  text-decoration: none;
}

.feature a:hover::after {
  content: " 🔗";
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ==========================================================================
   Offer Section
   ========================================================================== */

.offer-section {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  margin: 0 1.25rem;
  width: 20rem;
  flex-shrink: 0;
}

.bonus-section {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border: 2px solid #D6BCFA;
  padding: 1.25rem;
  border-radius: 0.9375rem;
  text-align: center;
  height: 5.3125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.bonus-section:hover {
  transform: scale(1.02);
}

.bonus-section__amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #553C9A;
  margin-bottom: 0.3125rem;
}

.bonus-section__subtitle {
  font-size: 0.8rem;
  color: #718096;
  margin: 0;
}

.play-btn {
  background: linear-gradient(45deg, #718096, #A0AEC0);
  color: #FFFFFF;
  border: none;
  padding: 0.9375rem 1.5625rem;
  border-radius: 1.5625rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.125rem;
  font-size: 1rem;
}

.play-btn:hover {
  transform: scale(1.05);
  color: #FFFFFF;
  text-decoration: none;
}

.terms-notice {
  font-size: 0.75rem;
  color: #718096;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.3;
}

.terms-notice__link {
  color: #718096;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.terms-notice__link:hover {
  color: #D69E2E;
  text-decoration: underline;
}

/* ==========================================================================
   Author Section
   ========================================================================== */

.author-section {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border-radius: 1.25rem;
  padding: 2.1875rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5625rem;
  box-shadow: 0 0.5rem 1.5625rem rgba(85, 60, 154, 0.12);
  border-left: 0.3125rem solid #718096;
  position: relative;
}

.author-section::before {
  content: '"';
  position: absolute;
  top: 0.9375rem;
  left: 1.5625rem;
  font-size: 3rem;
  color: #6B46C1;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.author-section__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #718096, #B794F4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.25rem 0.9375rem rgba(113, 128, 150, 0.3);
  flex-shrink: 0;
  overflow: hidden;
}

.author-section__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-section__info {
  flex: 1;
  margin-left: 0.9375rem;
}

.author-section__title {
  color: #553C9A;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.author-section__text {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-left: 0.9375rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Info Section
   ========================================================================== */

.info-section {
  background: #FAF5FF;
  border-radius: 0.9375rem;
  padding: 2.1875rem;
  margin-top: 2.5rem;
  box-shadow: 0 0.3125rem 1.25rem rgba(85, 60, 154, 0.12);
}

.info-section__title {
  color: #553C9A;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.info-section__text {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.info-list {
  margin: 1.5625rem 0;
}

.info-list .feature {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Responsible Gaming Section
   ========================================================================== */

.responsible-gaming {
  background: #FAF5FF;
  border-radius: 0.9375rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 0.3125rem 1.25rem rgba(85, 60, 154, 0.12);
  border: 1px solid #E9D8FD;
}

.responsible-gaming__title {
  color: #553C9A;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.responsible-gaming__title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #B794F4, #9F7AEA);
  transform: translateX(-50%);
  border-radius: 2px;
}

.responsible-gaming__text {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Organizations Cards */
.responsible-gaming__organizations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.org-card {
  background: #FFFFFF;
  border: 2px solid #E9D8FD;
  border-radius: 0.9375rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: 0 0.25rem 0.75rem rgba(85, 60, 154, 0.08);
  text-decoration: none;
  display: block;
  color: inherit;
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(107, 70, 193, 0.16);
  border-color: #B794F4;
  text-decoration: none;
  color: inherit;
}

/*STEP 2 END*/

/*STEP 3 START*/

.org-card__logo-img {
  height: 60px;
  width: auto;
  max-width: 120px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.org-card:hover .org-card__logo-img {
  filter: none;
}

.org-card__logo-img--dark-bg {
  background: linear-gradient(135deg, #718096, #B794F4);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(85, 60, 154, 0.22);
}

.org-card__title {
  color: #718096;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.org-card__subtitle {
  color: #A0AEC0;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Help Section */
.help-section {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border: 2px solid var(--warning);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: 0 0.25rem 1rem rgba(85, 60, 154, 0.1);
}

.help-section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.help-section__icon {
  background: linear-gradient(45deg, #718096, #B794F4);
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  box-shadow: 0 0.125rem 0.5rem rgba(113, 128, 150, 0.3);
}

.help-section__title {
  color: var(--warning);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.help-section__contacts {
  margin-bottom: 1.5rem;
}

.help-contact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E9D8FD;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(85, 60, 154, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.75rem rgba(85, 60, 154, 0.1);
}

.help-contact:last-child {
  margin-bottom: 0;
}

.help-contact__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.help-contact__info {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.5;
}

.help-contact__info strong {
  color: #4A5568;
}

.help-contact__link {
  color: #6B46C1;
  text-decoration: none;
  font-weight: 500;
}

.help-contact__link:hover {
  color: #D69E2E;
  text-decoration: underline;
}

.help-section__button {
  display: inline-block;
  background: linear-gradient(45deg, #718096, #A0AEC0);
  color: #FFFFFF;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(85, 60, 154, 0.16);
}

.help-section__button:hover {
  background: linear-gradient(45deg, #D69E2E, #C0843B);
  transform: translateY(-2px);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 0.375rem 1rem rgba(214, 158, 46, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #553C9A;
  color: #FFFFFF;
  text-align: center;
  padding: 2.5rem 1.25rem;
  margin: 0;
  width: 100%;
  line-height: 1.6;
}

.footer__text {
  margin: 0.75rem 0;
  font-size: 0.9rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer__text:first-child {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer__link {
  color: #B794F4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #9F7AEA;
  text-decoration: underline;
}

/* ==========================================================================
   Terms Page Styles
   ========================================================================== */

.terms-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid #E9D8FD;
}

.terms-header__title {
  color: #553C9A;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.terms-header__subtitle {
  color: #4A5568;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.terms-header__date {
  color: #6B46C1;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(85, 60, 154, 0.08);
  border-left: 4px solid #718096;
  transition: box-shadow 0.3s ease;
}

.terms-section:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(85, 60, 154, 0.12);
}

.terms-section__title {
  color: #553C9A;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E9D8FD;
}

.terms-section__content {
  color: #4A5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

.terms-section__content p {
  margin-bottom: 1.25rem;
}

.terms-section__content p:last-child {
  margin-bottom: 0;
}

.terms-list {
  margin: 1.25rem 0;
  padding-left: 0;
  list-style: none;
}

.terms-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(250, 245, 255, 0.9);
  transition: background-color 0.2s ease;
}

.terms-list li:hover {
  background: rgba(240, 235, 248, 0.95);
}

.terms-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  color: var(--warning);
  font-weight: 700;
  font-size: 1rem;
}

.warning-text {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border: 2px solid #D69E2E;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #553C9A !important;
  font-weight: 500;
}

.help-resources {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border: 2px solid var(--warning);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.help-resources h3 {
  color: var(--warning);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.help-resources p {
  margin-bottom: 0.75rem;
  color: #553C9A;
  font-weight: 500;
}

.help-resources p:last-child {
  margin-bottom: 0;
}

.help-resources a {
  color: #718096;
  text-decoration: none;
  font-weight: 500;
}

.help-resources a:hover {
  color: #D69E2E;
  text-decoration: underline;
}

.contact-info {
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #E9D8FD;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: #553C9A;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info a {
  color: #718096;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: #D69E2E;
  text-decoration: underline;
}

/*STEP 3 END*/

/* Mobile Terms Page Styles */
@media (max-width: 768px) {
  .terms-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }

  .terms-header__title {
    font-size: 2rem;
  }

  .terms-header__subtitle {
    font-size: 1rem;
  }

  .terms-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .terms-section__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .terms-section__content {
    font-size: 0.9rem;
  }

  .terms-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    font-size: 0.9rem;
  }

  .help-resources,
  .contact-info {
    padding: 1.25rem;
    margin: 1.25rem 0;
  }

  .warning-text {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .terms-header__title {
    font-size: 1.75rem;
  }

  .terms-section {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .terms-section__title {
    font-size: 1.125rem;
  }

  .terms-section__content {
    font-size: 0.875rem;
  }

  .terms-list li {
    padding: 0.375rem 0 0.375rem 1.5rem;
    font-size: 0.875rem;
  }

  .terms-list li::before {
    left: 0.5rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large tablets and small desktop */
@media (max-width: 1024px) {
  .site-header__container {
    padding: 0.9375rem 1.125rem;
  }

  .site-header__nav {
    gap: 1.75rem;
  }

  .site-header__nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.9375rem;
  }
}

/* Desktop and tablet - ensure menu is always visible */
@media (min-width: 769px) {
  .site-header__menu-toggle {
    display: none !important;
  }

  .site-header__nav {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    gap: 2rem !important;
    max-height: none !important;
  }

  .site-header__nav::before {
    display: none !important;
  }
}

/* Tablet and small desktop optimization */
@media (max-width: 992px) {
  .site-header__container {
    padding: 0.875rem 1rem;
  }

  .site-header__nav {
    gap: 1.5rem;
  }

  .site-header__nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
  }
}

/* Mobile landscape and small tablet */
@media (max-width: 768px) {
  .warning-section {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
  }

  .warning-section__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .warning-section__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .warning-section__text {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .warning-section__button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .site-header {
    padding: 0;
  }

  .site-header__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.875rem;
    gap: 1rem;
  }

  .site-header__logo img {
    height: 50px;
    max-width: 220px;
  }

  /* Show mobile menu toggle */
  .site-header__menu-toggle {
    display: flex;
    order: 2;
  }

  /*STEP 4 START*/

/* Hide navigation by default on mobile */
  .site-header__nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-top: 1px solid #E9D8FD;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Show navigation when open */
  .site-header__nav--open {
    top: 80px; /* Adjust based on header height */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header__nav-link {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(183, 148, 244, 0.05);
    border: 1px solid rgba(183, 148, 244, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    font-weight: 500;
  }

  .site-header__nav-link:hover,
  .site-header__nav-link:active {
    background: rgba(183, 148, 244, 0.1);
    border-color: rgba(183, 148, 244, 0.2);
    transform: translateY(-2px);
    color: #6B46C1;
  }

  .site-header__nav-link::after {
    display: none; /* Remove underline decoration on mobile */
  }

  .container {
    padding: 1.25rem 0.625rem 3.125rem;
  }

  .header__title {
    font-size: 2rem;
  }

  .casino-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .casino-card__info {
    flex-direction: column;
    gap: 1.25rem;
  }

  .casino-card__rank {
    margin-right: 0;
    margin-bottom: 0.9375rem;
  }

  .offer-section {
    margin: 1.25rem 0 0 0;
    width: 100%;
  }

  .features {
    max-width: 100%;
  }

  .terms-notice {
    font-size: 0.7rem;
    margin-top: 0.75rem;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
    padding: 1.5625rem 1.25rem;
  }

  .author-section::before {
    display: none;
  }

  .author-section__info {
    margin-left: 0;
  }

  .author-section__text {
    margin-left: 0;
  }

  .info-section {
    padding: 1.5625rem 1.25rem;
  }

  .info-section__title {
    font-size: 1.5rem;
  }

  .responsible-gaming {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .responsible-gaming__title {
    font-size: 1.75rem;
  }

  .responsible-gaming__organizations {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .org-card {
    padding: 1.25rem;
  }

  .org-card__logo-img {
    height: 50px;
    max-width: 100px;
  }

  .org-card__logo-img--dark-bg {
    padding: 0.5rem;
  }

  .help-section {
    padding: 1.5rem;
  }

  .help-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .help-contact__info {
    font-size: 0.9rem;
    color: #718096;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer__text {
    font-size: 0.85rem;
    margin: 0.6rem 0;
    text-align: left;
  }

  .footer__text:first-child {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
}

/* Medium mobile devices */
@media (max-width: 640px) {
  .site-header__container {
    padding: 0.875rem 0.75rem;
    gap: 1rem;
  }

  .site-header__logo img {
    height: 46px;
    max-width: 200px;
  }

  .site-header__nav {
    padding: 1.25rem;
  }

  .site-header__nav--open {
    top: 75px;
  }

  .site-header__nav-link {
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .warning-section {
    padding: 1.25rem;
    margin: 1.25rem 0;
    border-radius: 0.5rem;
  }

  .warning-section__icon {
    font-size: 1.75rem;
  }

  .warning-section__title {
    font-size: 1.25rem;
  }

  .warning-section__text {
    font-size: 0.9rem;
  }

  .warning-section__button {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }

  .site-header__container {
    padding: 0.75rem 0.625rem;
    gap: 0.875rem;
  }

  .site-header__logo img {
    height: 42px;
    max-width: 180px;
  }

  .site-header__nav {
    padding: 1rem;
  }

  .site-header__nav--open {
    top: 70px;
  }

  .site-header__nav-link {
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background: rgba(183, 148, 244, 0.08);
    border: 1px solid rgba(183, 148, 244, 0.15);
  }

  .site-header__nav-link:hover,
  .site-header__nav-link:active {
    background: rgba(183, 148, 244, 0.15);
    border-color: rgba(183, 148, 244, 0.25);
  }

  .header__title {
    font-size: 1.75rem;
  }

  .casino-card__logo {
    width: 4rem;
    height: 4rem;
  }

  .casino-card__rank {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .offer-section {
    gap: 0.75rem;
  }

  .bonus-section {
    height: auto;
    padding: 1rem;
  }

  .bonus-section__amount {
    font-size: 1rem;
  }

  .responsible-gaming {
    padding: 1.5rem 1rem;
  }

  .responsible-gaming__title {
    font-size: 1.5rem;
  }

  .responsible-gaming__text {
    font-size: 0.9rem;
    text-align: left;
    color: #718096;
  }

  .responsible-gaming__organizations {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .org-card {
    padding: 1rem;
  }

  .org-card__logo-img {
    height: 45px;
    max-width: 90px;
    margin-bottom: 0.75rem;
  }

  .org-card__logo-img--dark-bg {
    padding: 0.4rem;
    border-radius: 0.375rem;
  }

  .org-card__title {
    font-size: 1rem;
  }

  .org-card__subtitle {
    font-size: 0.8rem;
  }

  .help-section {
    padding: 1.25rem;
  }

  .help-section__title {
    font-size: 1.1rem;
  }

  .help-contact__info {
    font-size: 0.85rem;
    color: #718096;
  }

  .help-section__button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    display: block;
  }

  .footer {
    padding: 1.5rem 0.75rem;
  }

  .footer__text {
    font-size: 0.8rem;
    margin: 0.5rem 0;
    text-align: left;
  }

  .footer__text:first-child {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid #6B46C1;
  outline-offset: 2px;
}

/* Enhanced focus for mobile menu toggle */
.site-header__menu-toggle:focus-visible {
  outline: 2px solid #6B46C1;
  outline-offset: 2px;
  background-color: rgba(183, 148, 244, 0.1);
}

/*STEP 4 END*/

/* Smooth animations for menu */
@media (prefers-reduced-motion: no-preference) {
  .site-header__nav {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header__nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header__menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .site-header__nav-link {
    min-height: 48px; /* Apple/Android recommended touch target size */
    padding: 0.75rem 1rem;
  }

  .site-header__nav-link:hover {
    background-color: transparent; /* Remove hover on touch devices */
  }

  .site-header__nav-link:active {
    background-color: rgba(74, 144, 226, 0.1);
    transform: scale(0.98);
  }

  .site-header__menu-toggle {
    min-height: 48px;
    min-width: 48px;
  }
}

/* Improve scrolling performance on mobile */
@media screen and (max-width: 768px) {
  .site-header {
    transform: translateZ(0); /* Force hardware acceleration */
  }
}

/* Mobile landscape optimization */
@media screen and (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
  .site-header__nav {
    max-height: calc(100vh - 60px);
    padding: 1rem;
  }

  .site-header__nav--open {
    top: 60px;
  }

  .site-header__nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .site-header__container {
    padding: 0.75rem 0.875rem;
  }

  .site-header__logo img {
    height: 40px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .casino-card {
    border: 2px solid #000000;
  }

  .badge {
    border: 1px solid #000000;
  }
}

/*STEP 5 START*/

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  background: #FAF5FF;
  border-radius: 1.25rem;
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: 0 0.25rem 1rem rgba(85, 60, 154, 0.06);
}

.faq-section__title {
  font-size: 2rem;
  color: #553C9A;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
}

.faq-section__title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: linear-gradient(90deg, #B794F4, #9F7AEA);
  border-radius: 2px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(85, 60, 154, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0.375rem 1rem rgba(85, 60, 154, 0.12);
  transform: translateY(-2px);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item__question {
  width: 100%;
  padding: 1.5rem 4rem 1.5rem 4.75rem;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #553C9A;
  background: linear-gradient(135deg, #FAF5FF, #F0EBF8);
  border: none;
  border-bottom: 1px solid #E9D8FD;
  position: relative;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item__question:hover {
  background: linear-gradient(135deg, #F0EBF8, #E9D8FD);
  color: #553C9A;
}

.faq-item__question:focus {
  outline: 2px solid #6B46C1;
  outline-offset: -2px;
}

.faq-item__question::before {
  content: "?";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: linear-gradient(45deg, #718096, #B794F4);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.faq-item__question:hover::before {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0.25rem 0.75rem rgba(183, 148, 244, 0.3);
}

.faq-item__question-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-item__toggle {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(45deg, #718096, #B794F4);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #FFFFFF;
}

.faq-item__answer-content {
  padding: 0 2rem 0 4.75rem;
}

.faq-item__answer-content p {
  margin: 1.5rem 0;
  color: #4A5568;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-item__answer-content p:first-child {
  margin-top: 1.5rem;
}

.faq-item__answer-content p:last-child {
  margin-bottom: 1.5rem;
}

.faq-item__answer-content a {
  color: #718096;
  font-weight: 500;
}

.faq-item__answer-content a:hover {
  text-decoration: underline;
}

/* Expanded state */
.faq-item--expanded .faq-item__question {
  background: linear-gradient(45deg, #718096, #B794F4);
  color: #FFFFFF;
  border-bottom-color: #718096;
}

.faq-item--expanded .faq-item__question::before {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.faq-item--expanded .faq-item__toggle {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.faq-item--expanded .faq-item__answer {
  max-height: 300px; /* Adjust based on content */
}

/* Mobile FAQ Styles */
@media (max-width: 768px) {
  .faq-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .faq-section__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .faq-item__question {
    padding: 1rem 3rem 1rem 3.5rem;
    font-size: 1rem;
  }

  .faq-item__question::before {
    left: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.875rem;
  }

  .faq-item__toggle {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
  }

  .faq-item__answer-content {
    padding: 0 1.5rem 0 3.5rem;
  }

  .faq-item__answer-content p {
    font-size: 0.9rem;
  }

  .faq-item--expanded .faq-item__answer {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 1rem 0.75rem;
  }

  .faq-section__title {
    font-size: 1.25rem;
  }

  .faq-item {
    margin-bottom: 1rem;
  }

  .faq-item__question {
    padding: 0.875rem 2.5rem 0.875rem 3rem;
    font-size: 0.95rem;
  }

  .faq-item__question::before {
    left: 0.4rem;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
  }

  .faq-item__toggle {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.875rem;
  }

  .faq-item__answer-content {
    padding: 0 1rem 0 3rem;
  }

  .faq-item__answer-content p {
    font-size: 0.875rem;
    margin: 1rem 0;
  }

  .faq-item--expanded .faq-item__answer {
    max-height: 300px;
  }
}

/*STEP 5 END*/