/* ==================================================
   Global CSS Variables (Theme Colors)
   ================================================== */
:root {
  /* Overriding Water’s variables so they match your desired colors */

  /* Background Colors */
  --background-body: #f0d5af;		/* Main background color */
  --background-alt: #9f303c;		/* Header & footer background */

  /* Text Colors */
  --text-main: #a65e3a;             /* Main text color */
  --links: #FFFFFF;                 /* Navigation/menu text color */
  --text-on-alt: #FFFFFF;          /* Text on --background-alt sections (header, footer, TOC, tables, reviews, contacts) */

  /* Button Colors */
  --button-base: #0e8505;           /* Primary button background (if needed) */
  --button-hover: #fa5807;          /* Button hover background */

  /* Additional variables you used */
  --login-btn-bg: #1D213C;          /* Login button background */
  --login-btn-color: #FFFFFF;       /* Login button text color */
  --login-btn-border: none;         /* Login button border (e.g. 2px solid #fff) */
  --registr-btn-gradient: linear-gradient(270deg, #0e8505 100%, #AC20C9 0%);
  --registr-btn-color: #fff;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #0e8505 100%, #AC20C9 0%);
  --main-btn-color: #fff;        /* Main button text color */

  /* Transitions */
  --transition-speed: 0.3s;

  /* Theme-adaptive Colors (change these for light themes) */
  --text-muted: rgba(255, 255, 255, 0.7);    /* Subdued text (review count, dates) */
  --text-accent: #FFC421;                     /* Accent text (breadcrumb active, TOC arrows) */
  --border-color: rgba(255, 255, 255, 0.2);  /* Input/card borders */
  --border-accent: #530c63;                   /* TOC toggle, focus rings */
  --card-bg: rgba(22, 22, 22, 0.3);          /* TOC inner, overlay backgrounds */
  --card-shadow: 0 4px 20px rgba(0,0,0,0.3); /* Card box-shadows */
  --star-empty: #dddddd;                         /* Empty star color */

  /* Table Wrapper Styles */
  --table-scrollbar-color: #fcca6a;
  --table-scrollbar-hover: #AC20C9;
}

/* ==================================================
   Global Reset & Base Styles
   ================================================== */
html {
  max-width: 100vw;
  overflow-x: hidden;
}

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

body {
  /* Now referencing the Water variables so your colors show up */
  background: var(--background-body);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1 {
  margin-top: 80px;
}

a {
  text-decoration: none;
  cursor: pointer;
}

p {
  margin: 10px 0;
}

img[src*="gioco-responsabile"] { margin-top: 15px; }

/* ==================================================
   Table Styles - Override Water.css
   ================================================== */

/* Default table styles (unchanged from original) */
table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 50px auto !important;
    background: var(--background-alt) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

th {
    background: var(--registr-btn-gradient) !important;
    color: var(--registr-btn-color) !important;
    font-weight: 600 !important;
    padding: 12px 15px !important;
    text-align: left !important;
    border-bottom: 2px solid var(--table-border) !important;
    border-right: 1px solid var(--table-border-light) !important;
}

td {
    padding: 12px 15px !important;
    border-bottom: 1px solid var(--table-border-light) !important;
    border-right: 1px solid var(--table-border-light) !important;
    color: var(--text-on-alt) !important;
    background: transparent !important;
}

/* Override water's alternating row colors */
tbody tr:nth-child(2n) {
    background: var(--table-row-even) !important;
}

tbody tr:hover {
    background: var(--table-row-hover) !important;
    transition: background var(--transition-speed) !important;
}

/* ===== Only for tables with .c-b973f7 ===== */
.c-b973f7 {
    overflow-x: auto;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.c-b973f7 table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 !important;
    background: var(--background-alt) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none !important;
    min-width: 1000px;
    font-size: 16px !important;
}

.c-b973f7 th {
    font-size: 16px !important;
}

.c-b973f7 td {
    font-size: 16px !important;
}

.c-b973f7::-webkit-scrollbar {
    height: 8px;
}

.c-b973f7::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.c-b973f7::-webkit-scrollbar-thumb {
    background: var(--table-scrollbar-color);
    border-radius: 4px;
}

.c-b973f7::-webkit-scrollbar-thumb:hover {
    background: var(--table-scrollbar-hover);
}

/* ==================================================
   HEADER – Desktop and Mobile
   ================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background-alt);
  z-index: 1000;
  /* Default header height for desktop */
  height: 66px;
  padding: 0 20px;
}

/* The checkbox and burger are now direct children of header */
.c-322dc5 {
  display: none;
}

/* Burger Icon */
.c-a82eea {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background: var(--login-btn-bg);
  padding: 8px;
  gap: 8px;
  border-radius: 6px;
  /* Position the burger in the top right corner */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.c-a82eea span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--login-btn-color);
  border-radius: 2px;
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

/* Header Inner – contains logo, desktop nav, header-buttons */
.c-72b415 {
  max-width: 1310px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Extra right padding so that the burger (absolutely positioned) does not overlap content */
  padding-right: 80px;
}

/* Logo */
.c-092a53 img {
  max-height: 50px;
  width: auto;
}

/* Main Navigation – Desktop (centered) */
.c-9bdb14 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-9bdb14 ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.c-9bdb14 ul li a {
  color: var(--links);
  font-weight: 600;
  transition: color var(--transition-speed);
}

.c-9bdb14 ul li a:hover {
  text-decoration: underline;
}

/* Header Buttons (desktop) */
.c-c8bdaf {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-c8bdaf a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background var(--transition-speed);
  white-space: nowrap;
}

.c-d8bca9 {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
  border: var(--login-btn-border, none);
}

.c-d8bca9:hover {
  opacity: 0.9;
}

.c-ad721f {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  padding: 12px 24px;       /* Increased vertical/horizontal padding */
  font-size: 18px;          /* Larger font size */
  font-weight: 600;
  border-radius: 8px;       /* Slightly larger border radius */
  text-transform: uppercase;
  animation: pulse-main 2s infinite;
  transition: background var(--transition-speed);
}

.c-ad721f:hover {
  background: var(--button-hover);
}

/* Pulse Animation for buttons (registr-btn & main-button) */
@keyframes pulse-main {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 var(--button-base);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 4px 24px 0 var(--button-hover);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ==================================================
   Mobile & Tablet Styles (max-width: 1023px)
   ================================================== */
@media (max-width: 1023px) {
  /* Reduce header inner right padding */
  .c-72b415 {
    justify-content: space-between;
    padding-right: 40px;  /* Reduced from 80px */
  }
  /* Hide desktop navigation */
  .c-9bdb14 {
    display: none;
  }
  /* Show burger icon */
  .c-a82eea {
    display: flex;
  }
  /* Mobile Navigation Curtain */
  .c-dcb1e0 {
    display: none;
    position: fixed;
    top: 0;             /* Cover full viewport height */
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--background-alt);
    flex-direction: column;
    padding-top: 60px;  /* Leave room for the close button */
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .c-dcb1e0 ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .c-dcb1e0 ul li {
    border-bottom: 1px solid var(--border-color);
  }
  /* Increase menu item text and padding */
  .c-dcb1e0 ul li a {
    padding: 18px 20px;
    font-size: 18px;
    color: var(--links);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .c-dcb1e0 ul li a::after {
    content: "";
    border: 5px solid transparent;
    border-left: 5px solid var(--links);
  }
  /* Display mobile nav when checkbox is checked */
  .c-322dc5:checked ~ .c-dcb1e0 {
    display: flex;
  }
  /* Animate burger icon when toggled */
  .c-322dc5:checked + .c-a82eea span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  .c-322dc5:checked + .c-a82eea span:nth-child(2) {
    opacity: 0;
  }
  .c-322dc5:checked + .c-a82eea span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ==================================================
   Desktop Styles (min-width: 1024px)
   ================================================== */
@media (min-width: 1024px) {
  .c-9bdb14 {
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    padding: 0;
  }
  .c-dcb1e0 {
    display: none !important;
  }
  .c-a82eea {
    display: none;
  }
}

/* ==================================================
   Small Device Adjustments (max-width: 767px)
   ================================================== */
@media (max-width: 767px) {
  header {
    height: 54px;
  }
  .c-092a53 img {
    max-height: 40px;
  }
  .c-c8bdaf a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* ==================================================
   Mobile Nav Close Button
   ================================================== */
@media (max-width: 1023px) {
  .c-26d461 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: var(--links);
    cursor: pointer;
    z-index: 1001;
  }
}

/* ==================================================
   Main Content Padding (to account for fixed header)
   ================================================== */
main {
  padding-top: 80px;
}

/* ==================================================
   Content HeaderLogo Override (if used in content)
   ================================================== */
.c-604699 {
  display: block !important;
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
  font-size: 2.5em;
  color: var(--text-on-alt);
}

/* ---------- Bonus Button (Main Button) ---------- */
.c-6c7208 {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;       /* Slightly larger width */
  width: 100%;
  height: 70px;           /* Increased height */
  margin: 20px auto;      /* Vertical margin for spacing */
  border-radius: 10px;    /* More rounded corners */
  background: var(--main-btn-gradient);  /* Uses your gradient */
  color: var(--main-btn-color);
  font-size: 20px;        /* Larger text */
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: pulse-main 2s infinite;
}

.c-6c7208:hover {
  transform: scale(1.02);
}

/* Indent the first paragraph in .c-69acfe */
.c-69acfe p:first-of-type {
  text-indent: 2em;
  margin-left: 20px;
  margin-right: 20px;
}

/* ==================================================
   Cards Block and Grid
   ================================================== */
.c-22554c {
  margin: 2rem 0;
  padding: 0 1rem;
}

.c-191478 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each card occupies roughly one-fourth of the container (desktop) */
.c-c00561 {
  position: relative;
  flex: 1 1 calc(25% - 1rem);
  background: #161616; /* Or var(--background-alt) if you prefer */
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* On mobile devices: 2 per row */
@media (max-width: 767px) {
  .c-c00561 {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Scale up slightly on hover */
.c-c00561:hover {
  transform: scale(1.05);
}

/* Card image styles */
.c-8e118e {
  position: relative;
}

.c-8e118e img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Overlay on hover */
.c-9b1f87 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 22, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-c00561:hover .c-9b1f87 {
  opacity: 1;
}

/* Container for buttons inside card overlay */
.c-e3df4f {
  display: flex;
  gap: 1rem;
}

/* Button styles within cards */
.c-e3df4f a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--registr-btn-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.c-e3df4f a:hover {
  background: #c34707;
}

/* Card title and provider text */
.c-3cd687,
.c-1be3c1 {
  display: block;
  text-align: center;
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #a2a5af;
}

/* ==================================================
   Footer Styles
   ================================================== */
.c-adad6a {
  background: var(--background-alt);
  color: var(--text-on-alt);
  padding: 20px 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  margin-top: 30px;
}

.c-adad6a .c-fb0fd7 {
  margin-bottom: 20px;
}

.c-adad6a .c-fb0fd7 a {
  margin: 0 10px;
  font-size: 2rem;
  color: var(--text-on-alt);
  transition: color 0.3s;
}

.c-adad6a .c-fb0fd7 a:hover {
  color: var(--registr-btn-gradient);
}

.c-adad6a .c-f5716e {
  margin-bottom: 20px;
}

.c-adad6a .c-f5716e .c-497a95 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-adad6a .c-f5716e .c-497a95 .c-0d6d81 img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.c-adad6a .c-f5716e .c-497a95 .c-0d6d81 img:hover {
  transform: scale(1.05);
}

.c-adad6a .c-8f2f71 {
  font-size: 0.9rem;
}

ul, ol {
  margin:20px 30px;
}

/* Footer Menu Styles */
.c-adad6a .c-8b054f {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 15px;
}

.c-adad6a .c-8b054f a {
  color: var(--links);
  padding: 8px 15px;
  transition: color var(--transition-speed);
  font-size: 0.9rem;
  position: relative;
}

.c-adad6a .c-8b054f a:hover {
  color: var(--button-base);
  text-decoration: underline;
}

/* Separator between links on desktop */
.c-adad6a .c-8b054f a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: var(--text-on-alt); opacity: 0.4;
}

/* Mobile Styles */
@media (max-width: 767px) {
  .c-adad6a .c-8b054f {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .c-adad6a .c-8b054f a {
    padding: 6px 10px;
  }
  
/* Remove separators on mobile */
  .c-adad6a .c-8b054f a:not(:last-child)::after {
    display: none;
  }
}

/* Contact Form Styles */
.c-d65991 {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
}

.c-b36ed0 {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.c-2dd211 {
  font-size: 2.2em;
  margin-bottom: 15px;
  text-align: center;
  color: var(--text-on-alt);
}

.c-8665ec {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-on-alt);
}

.c-da9048 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-ac27f5 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-ac27f5 label {
  font-weight: 600;
  color: var(--text-on-alt);
}

.c-ac27f5 input,
.c-ac27f5 textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color var(--transition-speed);
}

.c-ac27f5 input:focus,
.c-ac27f5 textarea:focus {
  outline: none;
  border-color: var(--button-base);
  box-shadow: 0 0 0 2px rgba(42, 183, 101, 0.3);
}

.c-ac27f5 textarea {
  resize: vertical;
  min-height: 150px;
}

.c-6f0953 {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: center;
  margin-top: 10px;
  animation: pulse-main 2s infinite;
}

.c-6f0953:hover {
  transform: scale(1.05);
}

.c-6f0953:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success message styles */
.c-ef5217 {
  text-align: center;
  background: rgba(42, 183, 101, 0.1);
  border: 1px solid var(--button-base);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.c-ef5217 p {
  color: #2AB765;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .c-d65991 {
    margin-top: 80px;
  }
  
  .c-b36ed0 {
    padding: 20px;
  }
  
  .c-2dd211 {
    font-size: 1.8em;
  }
}

/* ==================================================
   Breadcrumb Navigation Styles
   ================================================== */
.c-4c87ee {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 70px 0 20px 0;
  padding: 10px 20px;
  background: var(--background-alt);
  border-radius: 8px;
  font-size: 14px;
}

.c-4c87ee li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.c-4c87ee li a {
  color: var(--links);
  opacity: 0.8;
  transition: opacity var(--transition-speed);
  text-decoration: none;
}

.c-4c87ee li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.c-4c87ee li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: var(--links);
  opacity: 0.6;
}

.c-4c87ee li:last-child a {
  color: var(--text-accent);
  opacity: 1;
  pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .c-4c87ee {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .c-4c87ee li:not(:last-child)::after {
    margin: 0 5px;
  }
}

/* ==================================================
   Customer Reviews Section Styles
   ================================================== */
.c-464b05 {
  max-width: 1110px;
  margin: 60px auto;
  padding: 0 20px;
}

.c-464b05 h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

/* Reviews Header */
.c-57fd7c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background-alt);
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
}

.c-dedb4c {
  display: flex;
  align-items: center;
  gap: 30px;
}

.c-eb4310 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-alt);
}

.c-cc5698 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-7132a9 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-on-alt);
}

.c-9249ce {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.c-9249ce svg {
  width: 120px;
  height: 22px;
}

.c-9249ce .c-30af00 {
  fill: var(--star-empty);
}

.c-9249ce .c-30af00.c-22ac08 {
  fill: #FFD700;
}

.c-9249ce .c-30af00.c-af2f21 {
  fill: url(#star-gradient);
}

.c-9249ce small {
  font-size: 14px;
  color: var(--text-muted);
}

/* Write Review Button */
.c-77adc0 {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.c-77adc0:hover {
  transform: scale(1.05);
}

/* Review Modal */
.c-4f52f2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.c-4f52f2.active {
  display: flex;
}

.c-67df9c {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--card-shadow);
}

.c-67df9c h3 {
  color: var(--text-on-alt);
  margin-bottom: 20px;
  text-align: center;
}

.c-e07ac8 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-796d10,
.c-fb7d6d {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color 0.3s;
}

.c-796d10:focus,
.c-fb7d6d:focus {
  outline: none;
  border-color: var(--button-base);
}

.c-fb7d6d {
  resize: vertical;
  min-height: 100px;
}

/* Star Rating Selection */
.c-f81795 {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
}

.c-d42718 {
  color: var(--star-empty);
  cursor: pointer;
  transition: color 0.2s;
}

.c-d42718:hover,
.c-d42718.active {
  color: #FFD700;
}

.c-b85d00 {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.c-c6335e,
.c-fae636 {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.c-c6335e {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
}

.c-fae636 {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
}

.c-c6335e:hover,
.c-fae636:hover {
  opacity: 0.9;
}

/* Reviews List */
.c-16c31d {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.c-3941eb {
  background: var(--background-alt);
  border-radius: 12px;
  padding: 25px;
  display: none;
  transition: all 0.3s ease;
}

.c-3941eb.show {
  display: block;
}

.c-4ebcb7 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.c-2c7d78 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--registr-btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--registr-btn-color);
  position: relative;
}

.c-7d9867 {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

.c-f32843 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c-918889 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-on-alt);
}

.c-cebbf8 {
  font-size: 14px;
  color: var(--text-on-alt);
}

.c-7bfc11 {
  margin-bottom: 15px;
}

.c-7bfc11 svg {
  width: 100px;
  height: 20px;
}

.c-7bfc11 .c-30af00 {
  fill: var(--star-empty);
}

.c-7bfc11 .c-30af00.c-22ac08 {
  fill: #FFD700;
}

.c-7bfc11 .c-30af00.c-a093d1 {
  fill: var(--star-empty);
}

.c-be747b {
  color: var(--text-on-alt);
  line-height: 1.6;
  font-size: 15px;
}

.c-be747b p {
  margin: 0;
}

/* Load More Button */
.c-be59db {
  display: block;
  margin: 0 auto;
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse-main 2s infinite;
}

.c-be59db:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 767px) {
  .c-464b05 {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .c-464b05 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .c-57fd7c {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .c-dedb4c {
    flex-direction: column;
    gap: 15px;
  }
  
  .c-7132a9 {
    font-size: 28px;
  }
  
  .c-77adc0 {
    width: 100%;
  }
  
  .c-3941eb {
    padding: 20px;
  }
  
  .c-2c7d78 {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .c-7d9867 {
    width: 16px;
    height: 16px;
  }
  
  .c-67df9c {
    padding: 20px;
  }
  
  .c-f81795 {
    font-size: 28px;
    gap: 8px;
  }
  
  .c-b85d00 {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-c6335e,
  .c-fae636 {
    width: 100%;
  }
}


/* ==================================================
   Enhanced Table of Contents Styles
   ================================================== */
.c-3e6bc6 {
  max-width: 1110px;
  margin: 40px auto;
  padding: 0 20px;
}

.c-e43dac {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.c-e43dac::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--registr-btn-gradient);
}

.c-8958bd {
  background: var(--background-alt);
  color: var(--text-on-alt);
  border: 2px solid var(--border-accent);
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  /* Remove the pulse animation */
}

.c-8958bd::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.c-8958bd:hover::before {
  left: 100%;
}

.c-8958bd:hover {
  transform: translateY(-1px);
  box-shadow: var(--card-shadow);
  border-color: var(--border-accent);
}

.c-54f74c {
  border-radius: 10px;
  background: var(--card-bg);
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}

.c-54f74c[hidden] {
  display: none;
}

.c-54f74c ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

/* Two-column layout on desktop */
@media (min-width: 768px) {
  .c-54f74c ul {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

.c-54f74c ul li {
  position: relative;
}

.c-54f74c ul li a {
  display: block;
  color: var(--text-on-alt);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--card-bg);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.c-54f74c ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--registr-btn-gradient);
  transition: width 0.3s ease;
  z-index: -1;
}

.c-54f74c ul li a:hover {
  color: var(--text-bright);
  transform: translateX(5px);
  border-left-color: var(--text-accent);
  box-shadow: var(--card-shadow);
}

.c-54f74c ul li a:hover::before {
  width: 100%;
}

.c-54f74c ul li a::after {
  content: '>';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--text-accent);
}

.c-54f74c ul li a:hover::after {
  opacity: 1;
}

/* Nested TOC items (sub-sections) */
.c-54f74c ul ul {
  margin-top: 8px;
  padding-left: 20px;
  grid-template-columns: 1fr;
  gap: 8px;
}

.c-54f74c ul ul li a {
  font-size: 14px;
  padding: 8px 15px;
  background: var(--card-bg);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .c-3e6bc6 {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .c-e43dac {
    padding: 20px;
  }
  
  .c-54f74c ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .c-54f74c ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* ==================================================
   Two-Column Text Blocks (Universal)
   ================================================== */

.c-83949d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 4px solid var(--button-base);
}

.c-77aabc,
.c-68e0f3 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Column headings */
.c-77aabc h4,
.c-68e0f3 h4 {
  margin: 0;
  color: var(--button-base);
  font-size: 16px;
  font-weight: 600;
}

/* Paragraph styles */
.c-77aabc p,
.c-68e0f3 p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-main);
}

/* List styles - remove default bullets */
.c-77aabc ul,
.c-68e0f3 ul,
.c-77aabc ol,
.c-68e0f3 ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* List item styling with padding for custom icons */
.c-77aabc li,
.c-68e0f3 li {
  margin: 8px 0;
  line-height: 1.6;
  color: var(--text-main);
  padding-left: 25px;
  position: relative;
}

/* Unordered list custom icons (checkmark) */
.c-77aabc ul li::before,
.c-68e0f3 ul li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  color: var(--button-base);
  font-weight: bold;
  font-size: 18px;
}

/* Ordered list custom numbering */
.c-77aabc ol li::before,
.c-68e0f3 ol li::before {
  content: counter(list-item);
  position: absolute;
  left: 0;
  color: var(--button-base);
  font-weight: bold;
  font-size: 16px;
}

/* Counter initialization for ordered lists */
.c-77aabc ol,
.c-68e0f3 ol {
  counter-reset: list-item;
}

/* Counter increment for each list item */
.c-77aabc ol li,
.c-68e0f3 ol li {
  counter-increment: list-item;
}

/* Mobile responsiveness - stack to single column */
@media (max-width: 1023px) {
  .c-83949d {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Small device adjustments */
@media (max-width: 767px) {
  .c-83949d {
    padding: 15px;
    gap: 15px;
    border-left-width: 3px;
  }
  
  .c-77aabc h4,
  .c-68e0f3 h4 {
    font-size: 15px;
  }
}

.c-ab9765 {
    display: block;
	margin: 30px auto;
	max-width: 100%;
	height: auto;
  }
