/*
=================================================================
|  TOP SITES GENERATOR v2.0 - FULL SEO EDITION                  |
|  File: styles.css                                             |
|  Theme: Deep Purple Dark Theme                                |
|  Generated: 2026-01-20                                        |
=================================================================
*/

/* --------------------------------------------------------------
   TABLE OF CONTENTS
-----------------------------------------------------------------
   1.  FONTS & ROOT VARIABLES
   2.  RESET & GLOBAL STYLES
   3.  ACCESSIBILITY
   4.  LAYOUT & GRID
   5.  HEADER & NAVIGATION
   6.  FOOTER
   7.  COMPONENTS
       7.1. Buttons
       7.2. Forms
       7.3. Modals
       7.4. Cookie Banner
       7.5. Badges
   8.  PAGE-SPECIFIC SECTIONS
       8.1. Hero Section
       8.2. Partners Section (Card Stack)
       8.3. Stats Section
       8.4. Testimonials Section (Slider)
       8.5. Review/Newsletter Forms
       8.6. Responsible Play Section
       8.7. Generic Page Header
       8.8. Content Sections (About, Policies)
       8.9. FAQ Accordion
       8.10. Contact Page
   9.  ANIMATIONS & KEYFRAMES
   10. UTILITY CLASSES
   11. RESPONSIVE DESIGN (MEDIA QUERIES)
-------------------------------------------------------------- */

/* --------------------------------------------------------------
   1. FONTS & ROOT VARIABLES
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
  --primary: #1E1B4B;
  --secondary: #A78BFA;
  --accent: #F472B6;
  --dark: #0F0D24;
  --light: #E8E4FF;
  --bg: #1A1744;
  --bg-gradient: linear-gradient(180deg, rgba(26, 23, 68, 0.9) 0%, rgba(26, 23, 68, 1) 100%);

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans Pro', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.4);

  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
}

/* --------------------------------------------------------------
   2. RESET & GLOBAL STYLES
-------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--light);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 500;
  text-wrap: balance;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus-visible {
  color: var(--light);
  text-decoration: underline;
}

ul, ol {
  list-style-position: inside;
  padding-left: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------
   3. ACCESSIBILITY
-------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--dark);
  padding: 1rem;
  z-index: 10000;
  transition: top 0.3s;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------
   4. LAYOUT & GRID
-------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

.alternate-bg {
  background-color: var(--dark);
}

/* --------------------------------------------------------------
   5. HEADER & NAVIGATION
-------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: background-color var(--transition-med), padding var(--transition-med);
}

.site-header.scrolled {
  background-color: rgba(15, 13, 36, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

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

.logo a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.main-nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-med);
}

.main-nav a:hover::after, .main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none; /* Hidden on desktop */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

.nav-toggle[aria-expanded='true'] .hamburger {
  background-color: transparent;
}

.nav-toggle[aria-expanded='true'] .hamburger::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .hamburger::after {
  transform: translateY(-3px) rotate(-45deg);
}

/* --------------------------------------------------------------
   6. FOOTER
-------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--light);
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-logos img {
  height: 30px;
  width: auto;
  filter: grayscale(50%) brightness(1.8) contrast(1.2);
  transition: filter var(--transition-fast);
  opacity: 0.9;
}

.footer-logos a:hover img {
  filter: none;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--primary);
  padding-top: 2rem;
  text-align: center;
  color: rgba(232, 228, 255, 0.6);
}

.footer-bottom .disclaimer {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------
   7. COMPONENTS
-------------------------------------------------------------- */

/* 7.1. Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn--primary {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background-color: transparent;
  color: var(--secondary);
  text-decoration: none;
}

.btn--accent {
  background-color: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn--accent:hover, .btn--accent:focus-visible {
  background-color: transparent;
  color: var(--accent);
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  color: var(--light);
  border-color: var(--light);
}

.btn--outline:hover, .btn--outline:focus-visible {
  background-color: var(--light);
  color: var(--dark);
  text-decoration: none;
}

/* 7.2. Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group-inline {
  display: flex;
  gap: 0.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}

input[type='text'],
input[type='email'],
input[type='number'],
textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-md);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='number']:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.5);
}

textarea {
  resize: vertical;
}

/* 7.3. Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 13, 36, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  background-color: var(--dark);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(1);
  transition: transform var(--transition-med);
}

.modal.hidden .modal-content {
  transform: scale(0.9);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--light);
  font-size: 2rem;
  cursor: pointer;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--dark);
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.modal h2 {
  margin-bottom: 0.5rem;
}

.modal p {
  margin-bottom: 2rem;
}

/* 7.4. Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark);
  padding: 1rem;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
  z-index: 3000;
  transition: transform 0.5s ease-in-out;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* 7.5. Badges */
.card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.card-badge.hot { background-color: #f59e0b; }
.card-badge.popular { background-color: #8b5cf6; color: var(--light); }
.card-badge.editor { background-color: var(--secondary); color: var(--primary); }
.card-badge.recommended { background-color: #10b981; }
.card-badge.premium { background-color: #d1d5db; color: var(--dark); }


/* --------------------------------------------------------------
   8. PAGE-SPECIFIC SECTIONS
-------------------------------------------------------------- */

/* 8.1. Hero Section */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: flex-start; /* top align */
  justify-content: center;
  text-align: center;
  padding-top: 10rem; /* space for header */
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 23, 68, 0.7) 0%, rgba(26, 23, 68, 1) 100%);
  z-index: -1;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1rem auto 2.5rem;
  color: var(--light);
}

.hero-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-partner-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--primary);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(167, 139, 250, 0.3);
}

.hero-partner-card img {
  height: 40px;
  margin: 0 auto 1rem;
}

.hero-partner-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* 8.2. Partners Section (Card Stack) */
.partners-section {
    background: var(--bg-gradient);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.partner-card-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.partner-card {
  background-color: var(--primary);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform var(--transition-med);
  z-index: 1;
}

.partner-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.partner-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.partner-logo img {
  height: 40px;
}
.partner-logo img[src*='partner_5'] { /* Fix for png */
  filter: none;
}


.partner-rating {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary);
}

.partner-rating .rating-value {
  font-size: 2.2rem;
}

.partner-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.partner-card-body .bonus-info {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.partner-card-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.partner-card-body li {
  margin-bottom: 0.5rem;
}

.partner-card-footer {
  text-align: right;
}

/* 8.3. Stats Section */
.stats-section {
  background-color: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
}

.stat-item span {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--secondary);
}

.stat-item .stat-label {
  font-size: 1.1rem;
  color: var(--light);
  margin: 0;
}

/* 8.4. Testimonials Section (Slider) */
.testimonials-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
  display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.slide .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background-color: var(--primary);
  line-height: 1;
}

.slide blockquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--light);
  max-width: 600px;
  margin: 0 auto 1rem;
}

.slide footer {
  font-weight: 700;
  color: var(--accent);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  border: none;
  color: var(--light);
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* 8.5. Review/Newsletter Forms */
.review-form-section, .newsletter-section {
    text-align: center;
}

.review-form-section form, .newsletter-section form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.newsletter-section form {
    max-width: 500px;
}

.form-group-inline input {
    flex-grow: 1;
}

/* 8.6. Responsible Play Section */
.responsible-play {
  text-align: center;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.responsible-play .container {
    position: relative;
}

.responsible-play h2 {
  margin-bottom: 2rem;
}

.responsible-play p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.age-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  border: 3px solid var(--bg);
}


/* 8.7. Generic Page Header */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--dark);
}

.page-header h1 {
  color: var(--light);
}

.page-header p {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* 8.8. Content Sections (About, Policies) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-grid.reverse .content-text {
    order: 2;
}

.content-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.text-content .container {
    max-width: 800px;
}

.text-content h2 {
    margin-top: 3rem;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background-color: var(--primary);
    line-height: 1;
}

.team-member h3 {
    color: var(--light);
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--accent);
}

.support-organizations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.org-card {
    background: var(--primary);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.org-card img {
    height: 50px;
    margin: 0 auto 1rem;
    filter: grayscale(1) brightness(1.5);
}

/* 8.9. FAQ Accordion */
.accordion details {
  background-color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--secondary);
}

.accordion summary {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none; /* Hide default marker */
}

.accordion summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.accordion details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion .faq-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--secondary);
}

/* 8.10. Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--primary);
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

/* --------------------------------------------------------------
   9. ANIMATIONS & KEYFRAMES
-------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --------------------------------------------------------------
   10. UTILITY CLASSES
-------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
/* ... more utility classes ... */


/* --------------------------------------------------------------
   11. RESPONSIVE DESIGN (MEDIA QUERIES)
-------------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

  .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 991px) {
  .main-nav ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--dark);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    gap: 1rem;
    z-index: 1002;
  }

  .main-nav ul.active {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: block;
  }

  .menu-close-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary);
  }

  .menu-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
  }

  .menu-close:hover,
  .menu-close:focus-visible {
    color: var(--accent);
  }
}

@media (min-width: 992px) {
  .menu-close-wrapper {
    display: none;
  }
}

@media (max-width: 768px) {

  .hero {
    padding-top: 8rem;
    height: auto;
    padding-bottom: 4rem;
  }
  
  .hero-partners-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logos {
      justify-content: center;
  }

  .content-grid, .content-grid.reverse {
      grid-template-columns: 1fr;
  }
  .content-grid.reverse .content-text { order: 0; }

  .cookie-content {
      flex-direction: column;
      text-align: center;
  }

  .contact-wrapper {
      grid-template-columns: 1fr;
      padding: 2rem;
  }

}

@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero-content h1 { font-size: 2.5rem; }

  .partner-card {
      padding: 1.5rem;
  }
  .partner-card-header {
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1.5rem;
  }
  .partner-card-footer {
      text-align: center;
  }
  
  .slider-btn { display: none; }
}
