/* ==================================================
   Global CSS Variables (Theme Colors)
   ================================================== */
:root {
  /* Overriding Water’s variables so they match your desired colors */

  /* Background Colors */
  --background-body: #0F1117;		/* Main background color */
  --background-alt: #1E2028;		/* Header & footer background */

  /* Text Colors */
  --text-main: #FFFFFF;             /* Main text color */
  --links: #CBD5E1;                 /* Navigation/menu text color */

  /* Button Colors */
  --button-base: #6366F1;           /* Primary button background (if needed) */
  --button-hover: #4F46E5;          /* Button hover background */

  /* Additional variables you used */
  --login-btn-bg: #272A38;          /* Login button background */
  --login-btn-color: #FFFFFF;       /* Login button text color */
  --registr-btn-gradient: linear-gradient(270deg, #FED600 100%, #4F46E5 0%);
  --registr-btn-color: #0F1117;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #FED600 100%, #4F46E5 0%);
  --main-btn-color: #0F1117;        /* Main button text color */

  /* Transitions */
  --transition-speed: 0.3s;

  /* Table Wrapper Styles */
  --table-scrollbar-color: #818CF8;
  --table-scrollbar-hover: #6366F1;
  --text-on-alt: #FFFFFF;
  --text-accent: #818CF8;
  --star-empty: #cccccc;
  --border-accent: #6366F1;
  --login-btn-border: 1px solid #4B5563;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(30, 32, 40, 0.6);
  --card-shadow: 0 4px 20px rgba(0,0,0,0.25);
  --text-muted: rgba(255, 255, 255, 0.5);
}

/* ==================================================
   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-dc4e57 ===== */
.c-dc4e57 {
    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-dc4e57 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-dc4e57 th {
    font-size: 16px !important;
}

.c-dc4e57 td {
    font-size: 16px !important;
}

.c-dc4e57::-webkit-scrollbar {
    height: 8px;
}

.c-dc4e57::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.c-dc4e57::-webkit-scrollbar-thumb {
    background: var(--table-scrollbar-color);
    border-radius: 4px;
}

.c-dc4e57::-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-b4f3fe {
  display: none;
}

/* Burger Icon */
.c-b5ea46 {
  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-b5ea46 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-1ebf40 {
  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-346708 img {
  max-height: 50px;
  width: auto;
}

/* Main Navigation – Desktop (centered) */
.c-fc219b {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-fc219b ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.c-fc219b ul li a {
  color: var(--links);
  font-weight: 600;
  transition: color var(--transition-speed);
}

.c-fc219b ul li a:hover {
  text-decoration: underline;
}

/* Header Buttons (desktop) */
.c-835acd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-835acd a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background var(--transition-speed);
  white-space: nowrap;
}

.c-265621 {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
}

.c-265621:hover {
  opacity: 0.9;
}

.c-6c6452 {
  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-6c6452: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-1ebf40 {
    justify-content: space-between;
    padding-right: 40px; /* reserves room for the absolutely-positioned burger */
  }
  .c-346708 img { margin-left: -12px; } /* pull logo flush left — SVG has built-in left whitespace */
  /* Hide desktop navigation */
  .c-fc219b {
    display: none;
  }
  /* Show burger icon */
  .c-b5ea46 {
    display: flex;
	right: 10px;
  }
  /* Mobile Navigation Curtain */
  .c-73431f {
    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-73431f ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .c-73431f ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  /* Increase menu item text and padding */
  .c-73431f 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-73431f ul li a::after {
    content: "";
    border: 5px solid transparent;
    border-left: 5px solid var(--links);
  }
  /* Display mobile nav when checkbox is checked */
  .c-b4f3fe:checked ~ .c-73431f {
    display: flex;
  }
  /* Animate burger icon when toggled */
  .c-b4f3fe:checked + .c-b5ea46 span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  .c-b4f3fe:checked + .c-b5ea46 span:nth-child(2) {
    opacity: 0;
  }
  .c-b4f3fe:checked + .c-b5ea46 span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ==================================================
   Desktop Styles (min-width: 1024px)
   ================================================== */
@media (min-width: 1024px) {
  .c-fc219b {
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    padding: 0;
  }
  .c-73431f {
    display: none !important;
  }
  .c-b5ea46 {
    display: none;
  }
}

/* ==================================================
   Small Device Adjustments (max-width: 767px)
   ================================================== */
@media (max-width: 767px) {
  header {
    height: 54px;
  }
  .c-346708 img {
    max-height: 40px;
  }
  .c-835acd a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* ==================================================
   Mobile Nav Close Button
   ================================================== */
@media (max-width: 1023px) {
  .c-39529d {
    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-3cbb41 {
  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-4bf690 {
  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-4bf690:hover {
  transform: scale(1.02);
}

/* Indent the first paragraph in .c-7da593 */
.c-7da593 p:first-of-type {
  text-indent: 2em;
  margin-left: 20px;
  margin-right: 20px;
}

/* ==================================================
   Cards Block and Grid
   ================================================== */
.c-ae0832 {
  margin: 2rem 0;
  padding: 0 1rem;
}

.c-7cbb9d {
  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-face0b {
  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-face0b {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Scale up slightly on hover */
.c-face0b:hover {
  transform: scale(1.05);
}

/* Card image styles */
.c-dc1bdd {
  position: relative;
}

.c-dc1bdd img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Overlay on hover */
.c-4d7147 {
  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-face0b:hover .c-4d7147 {
  opacity: 1;
}

/* Container for buttons inside card overlay */
.c-586f54 {
  display: flex;
  gap: 1rem;
}

/* Button styles within cards */
.c-586f54 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-586f54 a:hover {
  background: #c34707;
}

/* Card title and provider text */
.c-c63243,
.c-7a5583 {
  display: block;
  text-align: center;
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #a2a5af;
}

/* ==================================================
   Footer Styles
   ================================================== */
.c-f569aa {
  background: var(--background-alt);
  color: var(--text-main);
  padding: 20px 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  margin-top: 30px;
}

.c-f569aa .c-094317 {
  margin-bottom: 20px;
}

.c-f569aa .c-094317 a {
  margin: 0 10px;
  font-size: 2rem;
  color: var(--text-main);
  transition: color 0.3s;
}

.c-f569aa .c-094317 a:hover {
  color: var(--registr-btn-gradient);
}

.c-f569aa .c-b734bc {
  margin-bottom: 20px;
}

.c-f569aa .c-b734bc .c-52e398 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-f569aa .c-b734bc .c-52e398 .c-0a491f img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.c-f569aa .c-b734bc .c-52e398 .c-0a491f img:hover {
  transform: scale(1.05);
}

.c-f569aa .c-879fff {
  font-size: 0.9rem;
}

ul, ol {
  margin:20px 30px;
}

/* Footer Menu Styles */
.c-f569aa .c-61327e {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 15px;
}

.c-f569aa .c-61327e a {
  color: var(--links);
  padding: 8px 15px;
  transition: color var(--transition-speed);
  font-size: 0.9rem;
  position: relative;
}

.c-f569aa .c-61327e a:hover {
  color: var(--button-base);
  text-decoration: underline;
}

/* Separator between links on desktop */
.c-f569aa .c-61327e a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: rgba(var(--text-main), 0.4);
}

/* Mobile Styles */
@media (max-width: 767px) {
  .c-f569aa .c-61327e {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .c-f569aa .c-61327e a {
    padding: 6px 10px;
  }
  
/* Remove separators on mobile */
  .c-f569aa .c-61327e a:not(:last-child)::after {
    display: none;
  }
}

/* Contact Form Styles */
.c-3aad74 {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
}

.c-d629e0 {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.c-da930b {
  font-size: 2.2em;
  margin-bottom: 15px;
  text-align: center;
  color: var(--text-main);
}

.c-8ba410 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

.c-538186 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-baa8bb {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-baa8bb label {
  font-weight: 600;
  color: var(--text-main);
}

.c-baa8bb input,
.c-baa8bb textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color var(--transition-speed);
}

.c-baa8bb input:focus,
.c-baa8bb textarea:focus {
  outline: none;
  border-color: var(--button-base);
  box-shadow: 0 0 0 2px rgba(42, 183, 101, 0.3);
}

.c-baa8bb textarea {
  resize: vertical;
  min-height: 150px;
}

.c-d15772 {
  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-d15772:hover {
  transform: scale(1.05);
}

.c-d15772:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success message styles */
.c-5beb22 {
  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-5beb22 p {
  color: #2AB765;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .c-3aad74 {
    margin-top: 80px;
  }
  
  .c-d629e0 {
    padding: 20px;
  }
  
  .c-da930b {
    font-size: 1.8em;
  }
}

/* ==================================================
   Breadcrumb Navigation Styles
   ================================================== */
.c-ad5130 {
  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-ad5130 li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.c-ad5130 li a {
  color: var(--text-main);
  opacity: 0.8;
  transition: opacity var(--transition-speed);
  text-decoration: none;
}

.c-ad5130 li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.c-ad5130 li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: var(--text-main);
  opacity: 0.6;
}

.c-ad5130 li:last-child a {
  color: #ffe71d;
  opacity: 1;
  pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .c-ad5130 {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .c-ad5130 li:not(:last-child)::after {
    margin: 0 5px;
  }
}

/* ==================================================
   Customer Reviews Section Styles
   ================================================== */
.c-1a59c1 {
  max-width: 1110px;
  margin: 60px auto;
  padding: 0 20px;
}

.c-1a59c1 h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

/* Reviews Header */
.c-689421 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background-alt);
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.c-9f7b4b {
  display: flex;
  align-items: center;
  gap: 30px;
}

.c-dcddd8 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.c-70b8f4 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-6446d3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
}

.c-a5a498 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.c-a5a498 svg {
  width: 120px;
  height: 22px;
}

.c-a5a498 .c-b92f33 {
  fill: #ddd;
}

.c-a5a498 .c-b92f33.c-77b33e {
  fill: #FFD700;
}

.c-a5a498 .c-b92f33.c-859fa7 {
  fill: url(#star-gradient);
}

.c-a5a498 small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Write Review Button */
.c-cbd443 {
  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-cbd443:hover {
  transform: scale(1.05);
}

/* Review Modal */
.c-cecc7c {
  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-cecc7c.active {
  display: flex;
}

.c-165a93 {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.c-165a93 h3 {
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.c-761322 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-d96d1a,
.c-bebb8c {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color 0.3s;
}

.c-d96d1a:focus,
.c-bebb8c:focus {
  outline: none;
  border-color: var(--button-base);
}

.c-bebb8c {
  resize: vertical;
  min-height: 100px;
}

/* Star Rating Selection */
.c-e58202 {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
}

.c-47cf45 {
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
}

.c-47cf45:hover,
.c-47cf45.active {
  color: #FFD700;
}

.c-4d2154 {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.c-b99b5a,
.c-1eda1d {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.c-b99b5a {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
}

.c-1eda1d {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
}

.c-b99b5a:hover,
.c-1eda1d:hover {
  opacity: 0.9;
}

/* Reviews List */
.c-10d9fe {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.c-9037df {
  background: var(--background-alt);
  border-radius: 12px;
  padding: 25px;
  display: none;
  transition: all 0.3s ease;
}

.c-9037df.show {
  display: block;
}

.c-f46db2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.c-2de78f {
  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-7fb11d {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

.c-91b1e5 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c-ec1d76 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.c-8b3d38 {
  font-size: 14px;
  color: var(--text-main);
}

.c-fb0738 {
  margin-bottom: 15px;
}

.c-fb0738 svg {
  width: 100px;
  height: 20px;
}

.c-fb0738 .c-b92f33 {
  fill: #ddd;
}

.c-fb0738 .c-b92f33.c-77b33e {
  fill: #FFD700;
}

.c-fb0738 .c-b92f33.c-906cb0 {
  fill: #444;
}

.c-4bac4b {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

.c-4bac4b p {
  margin: 0;
}

/* Load More Button */
.c-d02e0c {
  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-d02e0c:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 767px) {
  .c-1a59c1 {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .c-1a59c1 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .c-689421 {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .c-9f7b4b {
    flex-direction: column;
    gap: 15px;
  }
  
  .c-6446d3 {
    font-size: 28px;
  }
  
  .c-cbd443 {
    width: 100%;
  }
  
  .c-9037df {
    padding: 20px;
  }
  
  .c-2de78f {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .c-7fb11d {
    width: 16px;
    height: 16px;
  }
  
  .c-165a93 {
    padding: 20px;
  }
  
  .c-e58202 {
    font-size: 28px;
    gap: 8px;
  }
  
  .c-4d2154 {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-b99b5a,
  .c-1eda1d {
    width: 100%;
  }
}


/* ==================================================
   Enhanced Table of Contents Styles
   ================================================== */
.c-a11bca {
  max-width: 1110px;
  margin: 40px auto;
  padding: 0 20px;
}

.c-7ad374 {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 196, 33, 0.2);
  position: relative;
  overflow: hidden;
}

.c-7ad374::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--registr-btn-gradient);
}

.c-f978eb {
  background: var(--background-alt);
  color: var(--text-main);
  border: 2px solid #530c63;
  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-f978eb::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-f978eb:hover::before {
  left: 100%;
}

.c-f978eb:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(83, 12, 99, 0.3);
  border-color: #c62ce8;
}

.c-1952ba {
  border-radius: 10px;
  background: rgba(22, 22, 22, 0.3);
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 196, 33, 0.1);
}

.c-1952ba[hidden] {
  display: none;
}

.c-1952ba 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-1952ba ul {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

.c-1952ba ul li {
  position: relative;
}

.c-1952ba ul li a {
  display: block;
  color: var(--text-main);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.c-1952ba 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-1952ba ul li a:hover {
  color: var(--text-bright);
  transform: translateX(5px);
  border-left-color: #FFC421;
  box-shadow: 0 4px 15px rgba(255, 196, 33, 0.2);
}

.c-1952ba ul li a:hover::before {
  width: 100%;
}

.c-1952ba ul li a::after {
  content: '>';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFC421;
}

.c-1952ba ul li a:hover::after {
  opacity: 1;
}

/* Nested TOC items (sub-sections) */
.c-1952ba ul ul {
  margin-top: 8px;
  padding-left: 20px;
  grid-template-columns: 1fr;
  gap: 8px;
}

.c-1952ba ul ul li a {
  font-size: 14px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.03);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .c-a11bca {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .c-7ad374 {
    padding: 20px;
  }
  
  .c-1952ba ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .c-1952ba ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* ==================================================
   Two-Column Text Blocks (Universal)
   ================================================== */

.c-34096d {
  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-9264bb,
.c-a4328f {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Column headings */
.c-9264bb h4,
.c-a4328f h4 {
  margin: 0;
  color: var(--button-base);
  font-size: 16px;
  font-weight: 600;
}

/* Paragraph styles */
.c-9264bb p,
.c-a4328f p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-main);
}

/* List styles - remove default bullets */
.c-9264bb ul,
.c-a4328f ul,
.c-9264bb ol,
.c-a4328f ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* List item styling with padding for custom icons */
.c-9264bb li,
.c-a4328f li {
  margin: 8px 0;
  line-height: 1.6;
  color: var(--text-main);
  padding-left: 25px;
  position: relative;
}

/* Unordered list custom icons (checkmark) */
.c-9264bb ul li::before,
.c-a4328f ul li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  color: var(--button-base);
  font-weight: bold;
  font-size: 18px;
}

/* Ordered list custom numbering */
.c-9264bb ol li::before,
.c-a4328f 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-9264bb ol,
.c-a4328f ol {
  counter-reset: list-item;
}

/* Counter increment for each list item */
.c-9264bb ol li,
.c-a4328f ol li {
  counter-increment: list-item;
}

/* Mobile responsiveness - stack to single column */
@media (max-width: 1023px) {
  .c-34096d {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Small device adjustments */
@media (max-width: 767px) {
  .c-34096d {
    padding: 15px;
    gap: 15px;
    border-left-width: 3px;
  }
  
  .c-9264bb h4,
  .c-a4328f h4 {
    font-size: 15px;
  }
}

.c-9d686d {
    display: block;
	margin: 30px auto;
	max-width: 100%;
	height: auto;
  }
