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

  /* Background Colors */
  --background-body: #717171;		/* Main background color */
  --background-alt: #FECE38;		/* Header & footer background */

  /* Text Colors */
  --text-main: #000000;             /* Main text color */
  --links: #1D213C;                 /* Navigation/menu text color */

  /* Button Colors */
  --button-base: #3D3D3D;           /* Primary button background (if needed) */
  --button-hover: #1a713e;          /* 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: 1px solid #ffffff;         /* Login button border (e.g. 2px solid #fff) */
  --registr-btn-gradient: linear-gradient(270deg, #FFFFFF 100%, #AC20C9 0%);
  --registr-btn-color: #3D3D3D;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #FECE38 100%, #AC20C9 0%);
  --main-btn-color: #1D213C;        /* 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: #FECE38;                   /* 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: #FECE38;
  --table-scrollbar-hover: #AC20C9;
  --text-on-alt: #FFFFFF;
}

/* ==================================================
   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-main) !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-18f67c ===== */
.c-18f67c {
    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-18f67c 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-18f67c th {
    font-size: 16px !important;
}

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

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

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

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

.c-18f67c::-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-d33616 {
  display: none;
}

/* Burger Icon */
.c-b30b2c {
  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-b30b2c 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-57b028 {
  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-adcc35 img {
  max-height: 50px;
  width: auto;
}

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

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

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

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

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

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

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

.c-3e8ab6:hover {
  opacity: 0.9;
}

.c-f81e00 {
  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-f81e00: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-57b028 {
    justify-content: space-between;
    padding-right: 40px; /* reserves room for the absolutely-positioned burger */
  }
  .c-adcc35 img { margin-left: -12px; } /* pull logo flush left — SVG has built-in left whitespace */
  /* Hide desktop navigation */
  .c-d2e1e4 {
    display: none;
  }
  /* Show burger icon */
  .c-b30b2c {
    display: flex;
	right: 10px;
  }
  /* Mobile Navigation Curtain */
  .c-e52030 {
    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-e52030 ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .c-e52030 ul li {
    border-bottom: 1px solid var(--border-color);
  }
  /* Increase menu item text and padding */
  .c-e52030 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-e52030 ul li a::after {
    content: "";
    border: 5px solid transparent;
    border-left: 5px solid var(--links);
  }
  /* Display mobile nav when checkbox is checked */
  .c-d33616:checked ~ .c-e52030 {
    display: flex;
  }
  /* Animate burger icon when toggled */
  .c-d33616:checked + .c-b30b2c span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  .c-d33616:checked + .c-b30b2c span:nth-child(2) {
    opacity: 0;
  }
  .c-d33616:checked + .c-b30b2c span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

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

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

/* ==================================================
   Mobile Nav Close Button
   ================================================== */
@media (max-width: 1023px) {
  .c-378cad {
    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-9ab6e2 {
  display: block !important;
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
  font-size: 2.5em;
  color: var(--text-main);
}

/* ---------- Bonus Button (Main Button) ---------- */
.c-03db97 {
  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-03db97:hover {
  transform: scale(1.02);
}

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

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

.c-742a55 {
  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-948899 {
  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-948899 {
    flex: 1 1 calc(50% - 1rem);
  }
}

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

/* Card image styles */
.c-02c486 {
  position: relative;
}

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

/* Overlay on hover */
.c-45335f {
  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-948899:hover .c-45335f {
  opacity: 1;
}

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

/* Button styles within cards */
.c-9bf6e7 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-9bf6e7 a:hover {
  background: #c34707;
}

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

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

.c-b2d938 .c-551720 {
  margin-bottom: 20px;
}

.c-b2d938 .c-551720 a {
  margin: 0 10px;
  font-size: 2rem;
  color: var(--text-main);
  transition: color 0.3s;
}

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

.c-b2d938 .c-2b8f61 {
  margin-bottom: 20px;
}

.c-b2d938 .c-2b8f61 .c-1fffa7 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-b2d938 .c-2b8f61 .c-1fffa7 .c-ad414d img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.c-b2d938 .c-2b8f61 .c-1fffa7 .c-ad414d img:hover {
  transform: scale(1.05);
}

.c-b2d938 .c-5f4702 {
  font-size: 0.9rem;
}

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

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

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

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

/* Separator between links on desktop */
.c-b2d938 .c-8dd1ae a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: rgba(var(--text-main), 0.4);
}

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

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

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

.c-49701e {
  font-size: 2.2em;
  margin-bottom: 15px;
  text-align: center;
  color: var(--text-main);
}

.c-ed6eba {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

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

.c-8a6687 label {
  font-weight: 600;
  color: var(--text-main);
}

.c-8a6687 input,
.c-8a6687 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-8a6687 input:focus,
.c-8a6687 textarea:focus {
  outline: none;
  border-color: var(--button-base);
  box-shadow: 0 0 0 2px rgba(42, 183, 101, 0.3);
}

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

.c-3c40c3 {
  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-3c40c3:hover {
  transform: scale(1.05);
}

.c-3c40c3:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success message styles */
.c-9815d0 {
  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-9815d0 p {
  color: #2AB765;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .c-0ec9ba {
    margin-top: 80px;
  }
  
  .c-080323 {
    padding: 20px;
  }
  
  .c-49701e {
    font-size: 1.8em;
  }
}

/* ==================================================
   Breadcrumb Navigation Styles
   ================================================== */
.c-562015 {
  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-562015 li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

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

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

/* Reviews Header */
.c-7a2e9e {
  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-dc05b6 {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

.c-459a2b {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
}

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

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

.c-fc95fb .c-d437c4 {
  fill: var(--star-empty);
}

.c-fc95fb .c-d437c4.c-2af176 {
  fill: #FFD700;
}

.c-fc95fb .c-d437c4.c-694664 {
  fill: url(#star-gradient);
}

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

/* Write Review Button */
.c-eb3e64 {
  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-eb3e64:hover {
  transform: scale(1.05);
}

/* Review Modal */
.c-350331 {
  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-350331.active {
  display: flex;
}

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

.c-5f9b6b h3 {
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

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

.c-6ee096,
.c-fca090 {
  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-6ee096:focus,
.c-fca090:focus {
  outline: none;
  border-color: var(--button-base);
}

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

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

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

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

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

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

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

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

.c-eb4308:hover,
.c-d68020:hover {
  opacity: 0.9;
}

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

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

.c-53542f.show {
  display: block;
}

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

.c-b5aee5 {
  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-454e5f {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

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

.c-1dfd21 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.c-0405a2 {
  font-size: 14px;
  color: var(--text-main);
}

.c-bed4ad {
  margin-bottom: 15px;
}

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

.c-bed4ad .c-d437c4 {
  fill: var(--star-empty);
}

.c-bed4ad .c-d437c4.c-2af176 {
  fill: #FFD700;
}

.c-bed4ad .c-d437c4.c-44f7ff {
  fill: var(--star-empty);
}

.c-06565a {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

.c-06565a p {
  margin: 0;
}

/* Load More Button */
.c-0b65a1 {
  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-0b65a1:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 767px) {
  .c-18f5e4 {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .c-18f5e4 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .c-7a2e9e {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .c-dc05b6 {
    flex-direction: column;
    gap: 15px;
  }
  
  .c-459a2b {
    font-size: 28px;
  }
  
  .c-eb3e64 {
    width: 100%;
  }
  
  .c-53542f {
    padding: 20px;
  }
  
  .c-b5aee5 {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .c-454e5f {
    width: 16px;
    height: 16px;
  }
  
  .c-5f9b6b {
    padding: 20px;
  }
  
  .c-728a70 {
    font-size: 28px;
    gap: 8px;
  }
  
  .c-3d708b {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-eb4308,
  .c-d68020 {
    width: 100%;
  }
}


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

.c-6d1c6c {
  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-6d1c6c::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--registr-btn-gradient);
}

.c-6b07d1 {
  background: var(--background-alt);
  color: var(--text-main);
  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-6b07d1::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-6b07d1:hover::before {
  left: 100%;
}

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

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

.c-7706f9[hidden] {
  display: none;
}

.c-7706f9 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-7706f9 ul {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

.c-7706f9 ul li {
  position: relative;
}

.c-7706f9 ul li a {
  display: block;
  color: var(--text-main);
  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-7706f9 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-7706f9 ul li a:hover {
  color: var(--text-bright);
  transform: translateX(5px);
  border-left-color: var(--text-accent);
  box-shadow: var(--card-shadow);
}

.c-7706f9 ul li a:hover::before {
  width: 100%;
}

.c-7706f9 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-7706f9 ul li a:hover::after {
  opacity: 1;
}

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

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

/* Mobile responsiveness */
@media (max-width: 767px) {
  .c-9c0420 {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .c-6d1c6c {
    padding: 20px;
  }
  
  .c-7706f9 ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .c-7706f9 ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }
}

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

.c-dcddc7 {
  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-59c482,
.c-a520db {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Column headings */
.c-59c482 h4,
.c-a520db h4 {
  margin: 0;
  color: var(--button-base);
  font-size: 16px;
  font-weight: 600;
}

/* Paragraph styles */
.c-59c482 p,
.c-a520db p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-main);
}

/* List styles - remove default bullets */
.c-59c482 ul,
.c-a520db ul,
.c-59c482 ol,
.c-a520db ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

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

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

/* Ordered list custom numbering */
.c-59c482 ol li::before,
.c-a520db 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-59c482 ol,
.c-a520db ol {
  counter-reset: list-item;
}

/* Counter increment for each list item */
.c-59c482 ol li,
.c-a520db ol li {
  counter-increment: list-item;
}

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

/* Small device adjustments */
@media (max-width: 767px) {
  .c-dcddc7 {
    padding: 15px;
    gap: 15px;
    border-left-width: 3px;
  }
  
  .c-59c482 h4,
  .c-a520db h4 {
    font-size: 15px;
  }
}

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