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

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

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

  /* Button Colors */
  --button-base: #FFD318;           /* Primary button background (if needed) */
  --button-hover: #1D4ED8;          /* Button hover background */

  /* Additional variables you used */
  --login-btn-bg: #1E3A5F;          /* Login button background */
  --login-btn-color: #FFFFFF;       /* Login button text color */
  --login-btn-border: 1px solid #3B82F6;         /* Login button border (e.g. 2px solid #fff) */
  --registr-btn-gradient: linear-gradient(270deg, #FFD318 100%, #1D4ED8 0%);
  --registr-btn-color: #FFFFFF;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #FFD318 100%, #1D4ED8 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(255, 255, 255, 0.6);    /* Subdued text (review count, dates) */
  --text-accent: #60A5FA;                     /* Accent text (breadcrumb active, TOC arrows) */
  --border-color: rgba(255, 255, 255, 0.15);  /* Input/card borders */
  --border-accent: #3B82F6;                   /* TOC toggle, focus rings */
  --card-bg: rgba(19, 39, 68, 0.5);          /* TOC inner, overlay backgrounds */
  --card-shadow: 0 4px 20px rgba(0,0,0,0.35); /* Card box-shadows */
  --star-empty: #dddddd;                         /* Empty star color */

  /* Table Wrapper Styles */
  --table-scrollbar-color: #60A5FA;
  --table-scrollbar-hover: #2563EB;
}

/* ==================================================
   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; }
img[src*="spielsuchthilfe"] { margin-top: 10px; }

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

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

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

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

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

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

/* ===== Only for tables with .c-48a937 ===== */
.c-48a937 {
    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-48a937 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-48a937 th {
    font-size: 16px !important;
}

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

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

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

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

.c-48a937::-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-38d87b {
  display: none;
}

/* Burger Icon */
.c-7edb23 {
  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-7edb23 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-9859a8 {
  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-217a6d img {
  max-height: 50px;
  width: auto;
}

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

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

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

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

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

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

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

.c-9b2591:hover {
  opacity: 0.9;
}

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

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

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

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

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

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

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

.c-78e9e4 {
  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-479c1c {
  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-479c1c {
    flex: 1 1 calc(50% - 1rem);
  }
}

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

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

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

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

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

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

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

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

.c-0089ae .c-a66371 {
  margin-bottom: 20px;
}

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

.c-0089ae .c-a66371 a:hover {
  color: var(--registr-btn-gradient);
}

.c-0089ae .c-84eafb {
  margin-bottom: 20px;
}

.c-0089ae .c-84eafb .c-c78c3c {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.c-0089ae .c-84eafb .c-c78c3c .c-27827b img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.c-0089ae .c-84eafb .c-c78c3c .c-27827b img:hover {
  transform: scale(1.05);
}

.c-0089ae .c-d06ed5 {
  font-size: 0.9rem;
}

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

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

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

.c-0089ae .c-dda4a9 a:hover {
  color: var(--button-base);
  text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsive adjustments */
@media (max-width: 767px) {
  .c-a42ca5 {
    margin-top: 80px;
  }
  
  .c-177e6c {
    padding: 20px;
  }
  
  .c-500a2a {
    font-size: 1.8em;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c-9a98c8 .c-b987df {
  fill: var(--star-empty);
}

.c-9a98c8 .c-b987df.c-7c2c15 {
  fill: #FFD700;
}

.c-9a98c8 .c-b987df.c-614a67 {
  fill: url(#star-gradient);
}

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

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

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

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

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

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

.c-60c111,
.c-1388d5 {
  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-60c111:focus,
.c-1388d5:focus {
  outline: none;
  border-color: var(--button-base);
}

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

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

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

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

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

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

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

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

.c-ac247e:hover,
.c-262757:hover {
  opacity: 0.9;
}

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

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

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

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

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

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

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

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

.c-80ab39 {
  margin-bottom: 15px;
}

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

.c-80ab39 .c-b987df {
  fill: var(--star-empty);
}

.c-80ab39 .c-b987df.c-7c2c15 {
  fill: #FFD700;
}

.c-80ab39 .c-b987df.c-36669a {
  fill: var(--star-empty);
}

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

.c-8cad0f p {
  margin: 0;
}

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

/* Responsive Styles */
@media (max-width: 767px) {
  .c-660249 {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .c-660249 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .c-b6e36a {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .c-f465e6 {
    flex-direction: column;
    gap: 15px;
  }
  
  .c-21432b {
    font-size: 28px;
  }
  
  .c-764851 {
    width: 100%;
  }
  
  .c-a55a26 {
    padding: 20px;
  }
  
  .c-72d35f {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .c-dccf83 {
    width: 16px;
    height: 16px;
  }
  
  .c-8a442c {
    padding: 20px;
  }
  
  .c-895950 {
    font-size: 28px;
    gap: 8px;
  }
  
  .c-9bdf5d {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-ac247e,
  .c-262757 {
    width: 100%;
  }
}


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

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

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

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

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

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

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

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

.c-362315 ul li {
  position: relative;
}

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

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

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

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

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

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

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

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

.c-bdefb0 {
  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-ca987b,
.c-fdf708 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

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

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

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

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

/* Counter increment for each list item */
.c-ca987b ol li,
.c-fdf708 ol li {
  counter-increment: list-item;
}

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

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

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