:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef6f2;
  --ink: #18202d;
  --muted: #647083;
  --line: #dde3ec;
  --green: #138a4b;
  --green-dark: #0c6337;
  --red: #dc3d38;
  --blue: #2563eb;
  --gold: #d29022;
  --shadow: 0 18px 50px rgba(24, 32, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 72px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.12rem;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-menu a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 14px;
}

.nav-menu a:hover {
  background: var(--surface-2);
  color: var(--green-dark);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 5px 0;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 72px);
  padding: 72px 24px 48px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 820px;
}

.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 22px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(19, 138, 75, 0.24);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 12px;
}

.hero-media {
  align-items: center;
  display: flex;
  justify-content: center;
}

.hero-media img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: min(100%, 520px);
}

.content-wrap {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 260px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px 72px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 32, 45, 0.06);
  padding: 18px;
  position: sticky;
  top: 96px;
}

.toc h2 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.toc a {
  border-radius: 6px;
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 10px;
}

.toc a:hover {
  background: var(--surface-2);
  color: var(--green-dark);
}

.article {
  min-width: 0;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 30px;
}

.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.section h3 {
  line-height: 1.25;
  margin: 0 0 8px;
}

.section p {
  color: var(--muted);
  margin: 0 0 18px;
}

.feature-grid,
.game-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature,
.game-card img{
  width:100%;
  height:auto;
  border-radius:8px;
  margin:12px 0;
  display:block;
}

.icon,
.game-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 4px 9px;
}

.icon {
  background: var(--surface-2);
  color: var(--green-dark);
}

.game-badge {
  color: #fff;
}

.game-badge.red {
  background: var(--red);
}

.game-badge.green {
  background: var(--green);
}

.game-badge.blue {
  background: var(--blue);
}

.game-badge.gold {
  background: var(--gold);
}

.info-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.info-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.info-table div + div {
  border-top: 1px solid var(--line);
}

.info-table span,
.info-table strong {
  padding: 14px 16px;
}

.info-table span {
  background: #f3f6fa;
  color: var(--muted);
  font-weight: 700;
}

.download-panel {
  align-items: center;
  background: linear-gradient(135deg, #eef6f2, #fff7e8);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 20px;
}

.download-panel p {
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.steps li {
  border-left: 3px solid var(--green);
  margin-bottom: 16px;
  padding: 4px 0 4px 18px;
}

.steps strong {
  display: block;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  margin: 12px 0 0;
}

.rating {
  text-align: center;
}

.stars {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.stars button {
  background: transparent;
  border: 0;
  color: #c5ccd8;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 3px;
}

.stars button.active,
.stars button:hover,
.stars button:hover ~ button {
  color: var(--gold);
}

.rating-text {
  margin-top: 10px;
}

.footer {
  background: var(--ink);
  color: #dce2ea;
  padding: 28px 24px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.sticky-cta {
  bottom: 18px;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  z-index: 40;
}

.sticky-cta a {
  background: var(--green);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(19, 138, 75, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 48px;
  padding: 11px 22px;
  white-space: nowrap;
}

.register-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(19, 138, 75, 0.18), transparent 32%),
    linear-gradient(135deg, #f7f8fb 0%, #eef6f2 58%, #fff7e8 100%);
}

.trust-bar {
  align-items: center;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 14px 18px;
}

.trust-bar span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 6px 12px;
}

.stats-panel {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
}

.stats-panel h2 {
  color: #fff;
}

.stats-panel .stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.stats-panel .stat-grid div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.stats-panel strong,
.stats-panel span {
  display: block;
}

.stats-panel strong {
  color: #d8f8e4;
  font-size: 1.6rem;
  line-height: 1;
}

.stats-panel span {
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 10px 24px 18px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-menu.open {
    display: grid;
    gap: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .content-wrap {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .feature-grid,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    padding: 0 16px;
  }

  .hero,
  .content-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 22px;
  }

  .feature-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .info-table div {
    grid-template-columns: 1fr;
  }

  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .sticky-cta {
    bottom: 10px;
    width: calc(100% - 32px);
  }

  .sticky-cta a {
    justify-content: center;
    width: 100%;
  }

  .stats-panel .stat-grid {
    grid-template-columns: 1fr;
  }
}



.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin: 16px auto 0;
  max-width: 900px;
}

.footer-links a {
  color: #dce2ea;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.78;
}

.footer-links a:hover {
  color: #fff;
  opacity: 1;
}

.footer-note {
  font-size: 0.86rem;
  margin-top: 18px;
  opacity: 0.78;
}

.footer-disclaimer {
  font-size: 0.78rem;
  margin-top: 6px;
  opacity: 0.55;
}

.brand-logo {
  border-radius: 8px;
  height: 40px;
  object-fit: contain;
  width: 40px;
}





/* ===== FINAL CONTRAST + ACCESSIBILITY FIX ===== */

/* 1. Buttons (contrast fix) */
.button.primary {
  background: #0b8043; /* darker green */
  color: #ffffff;
}

.button.primary:hover {
  background: #075c30;
}

/* Sticky CTA */
.sticky-cta a {
  background: #0b8043;
  color: #ffffff;
}

/* 2. Game badges (contrast boost) */
.game-badge.red {
  background: #b71c1c;
  color: #ffffff;
}

.game-badge.green {
  background: #1b5e20;
  color: #ffffff;
}

.game-badge.blue {
  background: #1e40af;
  color: #ffffff;
}

.game-badge.gold {
  background: #a16207;
  color: #ffffff;
}

/* 3. Light text readability fix */
.section p,
.hero-copy > p:not(.eyebrow),
.toc a,
.trust-strip span {
  color: #4a5568; /* darker than muted */
}

/* 4. Footer readability */
.footer-links a {
  opacity: 0.9;
}

/* 5. Stars contrast */
.stars button {
  color: #9aa4b2;
}

.stars button.active,
.stars button:hover,
.stars button:hover ~ button {
  color: #f59e0b;
}

/* 6. Nav links visibility */
.nav-menu a {
  color: #4a5568;
}

/* ===== END ===== */


/* ===== MOBILE IMAGE FIX ===== */
@media (max-width: 768px) {
  .hero-media img {
    width: 100%;
    height: auto;   /* important */
    aspect-ratio: auto; /* force natural ratio */
  }
}




.steps {
  margin-top: 40px;
}

.steps h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.steps .card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.steps .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.step-badge {
  position: absolute;
  top: -12px;
  left: 15px;
  background: #007a33;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 2px solid #005f27;

}

.steps h3 {
  margin-top: 10px;
  font-size: 20px;
}

.steps p {
  color: #555;
  font-size: 14px;
  margin-bottom: 15px;
}

.img-box {
  background: #f3fbf5;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.img-box img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 10px;
}



@media(max-width:768px){

  .toc{
    display:none;
  }

}
.section{
  content-visibility:auto;
  contain-intrinsic-size: 1000px;
}



.trusted-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;

  background:#ffffff;
  border:1px solid var(--line);

  border-radius:999px;
  padding:10px 16px;

  color:var(--ink);
  font-size:.92rem;
  font-weight:700;

  box-shadow:0 8px 20px rgba(24,32,45,.06);
  margin-top:14px;
  margin-bottom:22px;
}

.trusted-badge .dot{
  width:10px;
  height:10px;
  border-radius:50%;

  background:var(--green);

  box-shadow:
    0 0 0 5px rgba(19,138,75,.12);
}




.links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.links .button{
  flex:1;
  min-width:140px;
}

@media(max-width:620px){

  .links{
    flex-direction:column;
  }

  .links .button{
    width:100%;
  }

}



.button.register{
  display:flex;
  justify-content:center;
  align-items:center;

  width:fit-content;
  margin:24px auto 0;

  padding:14px 26px;

  background:#0b8043;
  color:#fff;

  border-radius:10px;
  font-weight:700;
}









/* =========================
   ELITE GIFT CODE CARD
========================= */

.giftcode-box{

  position:relative;

  max-width:540px;

  margin:30px auto;

  padding:24px;

  overflow:hidden;

  border-radius:28px;

  background:
  linear-gradient(
    180deg,
    rgba(10,15,25,.98),
    rgba(3,8,16,.98)
  );

  border:
  1px solid rgba(0,255,120,.08);

  backdrop-filter:blur(18px);

  box-shadow:
  0 0 0 1px rgba(255,255,255,.02),
  0 30px 90px rgba(0,0,0,.5);

}

/* glow */

.giftcode-box::before{

  content:"";

  position:absolute;

  width:280px;
  height:280px;

  top:-120px;
  right:-100px;

  border-radius:50%;

  background:
  radial-gradient(
    circle,
    rgba(0,255,120,.18),
    transparent 72%
  );

  pointer-events:none;

}

/* inner glow */

.giftcode-box::after{

  content:"";

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    135deg,
    rgba(255,255,255,.02),
    transparent 50%
  );

  pointer-events:none;

}

/* header */

.giftcode-head{

  position:relative;
  z-index:2;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:14px;

  margin-bottom:18px;

}

/* title */

.giftcode-title{

  color:#ffffff;

  font-size:22px;

  font-weight:800;

  letter-spacing:-.5px;

  line-height:1.2;

}

/* badge */

.giftcode-badge{

  padding:8px 14px;

  border-radius:999px;

  background:
  linear-gradient(
    135deg,
    rgba(0,255,120,.16),
    rgba(0,255,120,.05)
  );

  border:
  1px solid rgba(0,255,120,.14);

  color:#d1fae5;

  font-size:12px;

  font-weight:800;

  white-space:nowrap;

  box-shadow:
  0 8px 22px rgba(0,255,120,.12);

}

/* row */

.giftcode-row{

  position:relative;
  z-index:2;

  display:flex;
  align-items:center;

  gap:14px;

}

/* input */

.giftcode-input{

  flex:1;

  height:58px;

  padding:0 18px;

  border-radius:18px;

  border:
  1px solid rgba(255,255,255,.06);

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.02)
  );

  color:#ffffff;

  font-size:15px;

  font-weight:800;

  letter-spacing:.5px;

  outline:none;

  transition:.28s ease;

  box-shadow:
  inset 0 1px 0 rgba(255,255,255,.04);

}

.giftcode-input::placeholder{
  color:rgba(255,255,255,.38);
}

.giftcode-input:focus{

  border-color:
  rgba(0,255,120,.22);

  background:
  rgba(255,255,255,.05);

  box-shadow:
  0 0 0 4px rgba(0,255,120,.08);

}

/* button */

.giftcode-btn{

  position:relative;

  height:58px;

  padding:0 24px;

  border:none;

  border-radius:18px;

  cursor:pointer;

  overflow:hidden;

  white-space:nowrap;

  background:
  linear-gradient(
    135deg,
    #00d45d,
    #00a63e
  );

  color:#ffffff;

  font-size:15px;

  font-weight:800;

  letter-spacing:.3px;

  transition:.28s ease;

  box-shadow:
  0 16px 35px rgba(0,212,93,.22);

}

/* shine */

.giftcode-btn::before{

  content:"";

  position:absolute;

  top:0;
  left:-120%;

  width:100%;
  height:100%;

  background:
  linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.24),
    transparent
  );

  transition:.6s ease;

}

.giftcode-btn:hover::before{
  left:120%;
}

/* hover */

.giftcode-btn:hover{

  transform:
  translateY(-2px);

  box-shadow:
  0 20px 40px rgba(0,212,93,.28);

}

/* note */

.giftcode-note{

  position:relative;
  z-index:2;

  margin-top:14px;

  color:
  rgba(255,255,255,.52);

  font-size:12px;

  line-height:1.6;

}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

  .giftcode-box{

    max-width:100%;

  }

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .giftcode-box{

    margin:22px auto;

    padding:18px;

    border-radius:22px;

    box-shadow:
    0 20px 55px rgba(0,0,0,.42);

  }

  /* smaller glow */

  .giftcode-box::before{

    width:180px;
    height:180px;

    top:-80px;
    right:-60px;

  }

  /* header */

  .giftcode-head{

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

    margin-bottom:16px;

  }

  /* title */

  .giftcode-title{

    font-size:18px;

    line-height:1.35;

  }

  /* badge */

  .giftcode-badge{

    padding:7px 12px;

    font-size:11px;

  }

  /* row */

  .giftcode-row{

    flex-direction:column;

    gap:12px;

  }

  /* input */

  .giftcode-input{

    width:100%;

    height:52px;

    padding:0 16px;

    border-radius:16px;

    font-size:14px;

  }

  /* button */

  .giftcode-btn{

    width:100%;

    height:52px;

    border-radius:16px;

    font-size:14px;

  }

  /* note */

  .giftcode-note{

    margin-top:12px;

    font-size:11px;

    line-height:1.5;

  }

}






/* =========================
   FINAL ELITE TOC UI
========================= */

#ez-toc-container{

  position:relative;

  background:
  linear-gradient(
    180deg,
    rgba(12,18,28,.98),
    rgba(5,10,18,.98)
  );

  border:
  1px solid rgba(0,255,120,.08);

  border-radius:28px;

  padding:30px;

  overflow:hidden;

  margin:55px 0;

  backdrop-filter:blur(18px);

  box-shadow:
  0 0 0 1px rgba(255,255,255,.02),
  0 25px 80px rgba(0,0,0,.55);
}

/* GLOW */

#ez-toc-container::before{

  content:"";

  position:absolute;

  width:420px;
  height:420px;

  top:-220px;
  right:-180px;

  background:
  radial-gradient(
    circle,
    rgba(0,255,120,.14),
    transparent 70%
  );

  pointer-events:none;
}

/* TITLE AREA */

.ez-toc-title-container{

  position:relative;
  z-index:2;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:18px;

  margin-bottom:26px;
}

/* TITLE */

.ez-toc-title{

  margin:0;

  color:#ffffff;

  font-size:30px;
  font-weight:800;

  line-height:1.2;

  letter-spacing:-1px;
}

/* TOGGLE */

.ez-toc-title-toggle{
  display:flex;
  align-items:center;
}

.ez-toc-title-toggle a{

  width:44px;
  height:44px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:
  linear-gradient(
    135deg,
    rgba(0,255,120,.14),
    rgba(0,255,120,.05)
  );

  border:
  1px solid rgba(0,255,120,.14);

  transition:.3s ease;
}

.ez-toc-title-toggle a:hover{

  transform:translateY(-3px);

  background:
  linear-gradient(
    135deg,
    rgba(0,255,120,.24),
    rgba(0,255,120,.08)
  );

  box-shadow:
  0 10px 24px rgba(0,255,120,.14);
}

.ez-toc-title-toggle svg{
  fill:#ffffff !important;
  color:#ffffff !important;
}

/* LIST */

.ez-toc-list{

  position:relative;
  z-index:2;

  list-style:none;

  padding:0;
  margin:0;

  display:flex;
  flex-direction:column;

  gap:12px;
}

/* REMOVE DEFAULT */

.ez-toc-list li{
  margin:0;
}

/* LINKS */

.ez-toc-link{

  position:relative;

  display:flex;
  align-items:center;

  min-height:56px;

  padding:14px 18px;

  border-radius:18px;

  overflow:hidden;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.015)
  );

  border:
  1px solid rgba(255,255,255,.04);

  color:
  rgba(255,255,255,.82);

  font-size:15px;
  font-weight:650;

  line-height:1.5;

  transition:
  transform .28s ease,
  background .28s ease,
  border-color .28s ease,
  box-shadow .28s ease;
}

/* LEFT LINE */

.ez-toc-link::before{

  content:"";

  position:absolute;

  left:0;
  top:0;

  width:4px;
  height:100%;

  background:#00d26a;

  opacity:0;

  transition:.28s;
}

/* HOVER */

.ez-toc-link:hover{

  transform:translateX(6px);

  border-color:
  rgba(0,255,120,.18);

  background:
  linear-gradient(
    135deg,
    rgba(0,255,120,.12),
    rgba(255,255,255,.03)
  );

  color:#ffffff;

  box-shadow:
  0 12px 30px rgba(0,255,120,.08);
}

.ez-toc-link:hover::before{
  opacity:1;
}

/* ACTIVE */

.ez-toc-link.active{

  background:
  linear-gradient(
    135deg,
    rgba(0,255,120,.18),
    rgba(0,255,120,.06)
  );

  border-color:
  rgba(0,255,120,.24);

  color:#ffffff;
}

.ez-toc-link.active::before{
  opacity:1;
}

/* NESTED LEVELS */

.ez-toc-list-level-2{

  margin-top:10px;
  margin-left:18px;
}

.ez-toc-list-level-3{

  margin-top:8px;
  margin-left:18px;
}

.ez-toc-list-level-4{

  margin-top:8px;
  margin-left:18px;
}

/* NESTED LINKS */

.ez-toc-list-level-2 .ez-toc-link{

  min-height:50px;

  font-size:14px;

  opacity:.94;
}

.ez-toc-list-level-3 .ez-toc-link{

  min-height:46px;

  font-size:13px;

  opacity:.86;
}

.ez-toc-list-level-4 .ez-toc-link{

  min-height:42px;

  font-size:12px;

  opacity:.76;
}

/* SCROLLBAR */

#ez-toc-container::-webkit-scrollbar{
  width:6px;
}

#ez-toc-container::-webkit-scrollbar-thumb{

  background:
  rgba(0,255,120,.28);

  border-radius:999px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media(max-width:768px){

  #ez-toc-container{

    margin:38px 0;

    padding:20px 16px;

    border-radius:22px;

    box-shadow:
    0 18px 45px rgba(0,0,0,.4);
  }

  /* smaller glow */

  #ez-toc-container::before{

    width:220px;
    height:220px;

    top:-120px;
    right:-100px;
  }

  /* title */

  .ez-toc-title{

    font-size:22px;

    line-height:1.3;

    letter-spacing:-.5px;
  }

  /* toggle */

  .ez-toc-title-toggle a{

    width:38px;
    height:38px;

    border-radius:12px;
  }

  /* spacing */

  .ez-toc-list{
    gap:10px;
  }

  /* links */

  .ez-toc-link{

    min-height:50px;

    padding:12px 14px;

    border-radius:14px;

    font-size:14px;

    line-height:1.45;
  }

  .ez-toc-link:hover{
    transform:none;
  }

  /* nested */

  .ez-toc-list-level-2{

    margin-top:8px;
    margin-left:12px;
  }

  .ez-toc-list-level-3{

    margin-top:6px;
    margin-left:10px;
  }

  .ez-toc-list-level-4{

    margin-top:6px;
    margin-left:8px;
  }

  .ez-toc-list-level-2 .ez-toc-link{

    min-height:46px;

    font-size:13px;
  }

  .ez-toc-list-level-3 .ez-toc-link{

    min-height:44px;

    font-size:12px;
  }

  .ez-toc-list-level-4 .ez-toc-link{

    min-height:40px;

    font-size:11px;
  }

}


