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

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

  /* Text Colors */
  --text-main: #22182E;             /* Main text color */
  --links: #F5F0FF;                 /* Navigation/menu text color */

  /* Button Colors */
  --button-base: #FFEF00;           /* Primary button background (if needed) */
  --button-hover: #6D28D9;          /* Button hover background */

  /* Additional variables you used */
  --login-btn-bg: #2E1A5E;          /* Login button background */
  --login-btn-color: #FFFFFF;       /* Login button text color */
  --login-btn-border: 1px solid #10B981;         /* Login button border (e.g. 2px solid #fff) */
  --registr-btn-gradient: linear-gradient(270deg, #FFEF00 100%, #7C3AED 0%);
  --registr-btn-color: #22182E;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #8B5CF6 100%, #7C3AED 0%);
  --main-btn-color: #FFFFFF;        /* Main button text color */

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

  /* Theme-adaptive Colors (change these for light themes) */
  --text-muted: rgba(0, 0, 0, 0.5);    /* Subdued text (review count, dates) */
  --text-accent: #FFEF00;                     /* Accent text (breadcrumb active, TOC arrows) */
  --border-color: rgba(0, 0, 0, 0.12);  /* Input/card borders */
  --border-accent: #7C3AED;                   /* TOC toggle, focus rings */
  --card-bg: rgba(124, 58, 237, 0.04);          /* TOC inner, overlay backgrounds */
  --card-shadow: 0 4px 20px rgba(0,0,0,0.06); /* Card box-shadows */
  --star-empty: #C8B8E8;                         /* Empty star color */

  /* Table Wrapper Styles */
  --table-scrollbar-color: #A78BFA;
  --table-scrollbar-hover: #7C3AED;
  --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-cd4a16 ===== */
.c-cd4a16 {
    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-cd4a16 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-cd4a16 th {
    font-size: 16px !important;
}

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

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

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

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

.c-cd4a16::-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-b7b856 {
  display: none;
}

/* Burger Icon */
.c-9f3e6a {
  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-9f3e6a 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-414c38 {
  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-94c173 img {
  max-height: 50px;
  width: auto;
}

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

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

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

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

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

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

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

.c-890d60:hover {
  opacity: 0.9;
}

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

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

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

/* ==================================================
   Mobile Nav Close Button
   ================================================== */
@media (max-width: 1023px) {
  .c-7e39ab {
    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-311002 {
  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-a3f9cd {
  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-a3f9cd:hover {
  transform: scale(1.02);
}

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

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

.c-8e8012 {
  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-c2c912 {
  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-c2c912 {
    flex: 1 1 calc(50% - 1rem);
  }
}

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

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

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

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

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

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

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

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

.c-01418b .c-eee369 {
  margin-bottom: 20px;
}

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

.c-01418b .c-eee369 a:hover {
  color: var(--registr-btn-gradient);
}

.c-01418b .c-5f588f {
  margin-bottom: 20px;
}

.c-01418b .c-5f588f .c-2fa41a {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-01418b .c-5f588f .c-2fa41a .c-b2a675 img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.c-01418b .c-5f588f .c-2fa41a .c-b2a675 img:hover {
  transform: scale(1.05);
}

.c-01418b .c-daf382 {
  font-size: 0.9rem;
}

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

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

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

.c-01418b .c-f4babc a:hover {
  color: var(--button-base);
  text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

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

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

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

.c-8afc00:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
  .c-81c31e {
    margin-top: 80px;
  }
  
  .c-6b8683 {
    padding: 20px;
  }
  
  .c-7cc9f7 {
    font-size: 1.8em;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c-5b29ee .c-a8d922 {
  fill: var(--star-empty);
}

.c-5b29ee .c-a8d922.c-ac8291 {
  fill: #FFD700;
}

.c-5b29ee .c-a8d922.c-27caae {
  fill: url(#star-gradient);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c-719e47:hover,
.c-b216cb:hover {
  opacity: 0.9;
}

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

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

.c-eccdc2.show {
  display: block;
}

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

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

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

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

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

.c-99d6b3 {
  margin-bottom: 15px;
}

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

.c-99d6b3 .c-a8d922 {
  fill: var(--star-empty);
}

.c-99d6b3 .c-a8d922.c-ac8291 {
  fill: #FFD700;
}

.c-99d6b3 .c-a8d922.c-c7ece7 {
  fill: var(--star-empty);
}

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

.c-573e22 p {
  margin: 0;
}

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

/* Responsive Styles */
@media (max-width: 767px) {
  .c-54663e {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .c-54663e h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .c-f95264 {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .c-6b6105 {
    flex-direction: column;
    gap: 15px;
  }
  
  .c-ef86e1 {
    font-size: 28px;
  }
  
  .c-a3781f {
    width: 100%;
  }
  
  .c-eccdc2 {
    padding: 20px;
  }
  
  .c-d0ddd3 {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .c-544717 {
    width: 16px;
    height: 16px;
  }
  
  .c-b602c5 {
    padding: 20px;
  }
  
  .c-d6af26 {
    font-size: 28px;
    gap: 8px;
  }
  
  .c-a09a19 {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-719e47,
  .c-b216cb {
    width: 100%;
  }
}


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

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

.c-bb0879 {
  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-bb0879::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-bb0879:hover::before {
  left: 100%;
}

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

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

.c-4a1fd1[hidden] {
  display: none;
}

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

.c-4a1fd1 ul li {
  position: relative;
}

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

.c-4a1fd1 ul li a:hover::before {
  width: 100%;
}

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

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

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

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

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

.c-9d65e2 {
  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-0f4c5e,
.c-b5b473 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

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

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

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

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

/* Counter increment for each list item */
.c-0f4c5e ol li,
.c-b5b473 ol li {
  counter-increment: list-item;
}

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

/* Small device adjustments */
@media (max-width: 767px) {
  .c-9d65e2 {
    padding: 15px;
    gap: 15px;
    border-left-width: 3px;
  }
  
  .c-0f4c5e h4,
  .c-b5b473 h4 {
    font-size: 15px;
  }
}

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