:root {
  --eth-bg: #0f111b;
  --eth-bg-elev: #171b2c;
  --eth-panel: #1d2338;
  --eth-panel-soft: #242c47;
  --eth-text: #f2f4ff;
  --eth-muted: #a8b0d3;
  --eth-line: #313a5e;
  --eth-accent: #7f5bff;
  --eth-accent-2: #4bc6ff;
  --eth-ok: #37d9a1;
  --eth-warn: #f0b44f;
  --eth-font-body: "Inter", Arial, Helvetica, sans-serif;
  --eth-font-heading: "Space Grotesk", "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--eth-font-body);
  color: var(--eth-text);
  background:
    radial-gradient(circle at 15% -10%, rgba(127, 91, 255, 0.25), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(75, 198, 255, 0.18), transparent 42%),
    var(--eth-bg);
  line-height: 1.62;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 95%);
  z-index: -1;
}

a {
  color: var(--eth-accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--eth-font-heading);
  line-height: 1.22;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

.eth-container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.eth-section {
  margin: 1.2rem auto 0;
  padding: 1.2rem;
  border: 1px solid var(--eth-line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(4px);
  position: relative;
  overflow: clip;
}

.eth-section::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(127, 91, 255, 0.22) 0%, rgba(127, 91, 255, 0) 68%);
  pointer-events: none;
}

.eth-text-section {
  padding: 1.35rem;
}

.eth-site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid transparent;
  background: rgba(10, 13, 24, 0.86);
  backdrop-filter: blur(8px);
}

.eth-site-header.eth-is-scrolled {
  border-bottom-color: var(--eth-line);
}

.eth-header-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.eth-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--eth-text);
  font-weight: 700;
}

.eth-brand-mark {
  display: grid;
  place-items: center;
  width: 36px; /* ~15% smaller than 42px */
  height: 36px; /* ~15% smaller than 42px */
  border-radius: 0; /* logo should be shown without the old diamond shape */
  background: transparent;
  clip-path: none;
}

.eth-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.eth-burger-btn {
  display: none;
  border: 1px solid var(--eth-line);
  border-radius: 11px;
  width: 44px;
  height: 44px;
  background: var(--eth-panel);
  color: var(--eth-text);
}

.eth-burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--eth-text);
}

.eth-site-nav {
  display: inline-flex;
  gap: 0.95rem;
  align-items: center;
}

.eth-site-nav a {
  font-size: 0.92rem;
  color: var(--eth-text);
  padding: 0.4rem 0.62rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.eth-site-nav a:hover {
  background: rgba(127, 91, 255, 0.16);
  border-color: rgba(127, 91, 255, 0.45);
  text-decoration: none;
}

.eth-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--eth-muted);
  font-size: 0.86rem;
  padding-bottom: 0.7rem;
}

.eth-hero h1 {
  font-size: clamp(1.72rem, 3.8vw, 2.55rem);
}

.eth-hero-meta {
  margin-bottom: 1rem;
}

.eth-author-short {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  max-width: 760px;
}

.eth-author-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden; /* ensures avatar image is clipped to rounded badge */
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #8d70ff, #63d4ff);
  font-weight: 700;
  color: #0f1528;
}

.eth-author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eth-eyebrow {
  color: var(--eth-accent-2);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.eth-editorial-toggle,
.eth-read-more-inline {
  border: 1px solid var(--eth-line);
  border-radius: 12px;
  background: var(--eth-panel-soft);
  color: var(--eth-text);
  font-size: 0.82rem;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
}

.eth-read-more-inline {
  margin-left: 0.45rem;
}

.eth-editorial-note,
.eth-hero-more-text {
  color: var(--eth-muted);
}

.eth-is-hidden {
  display: none;
}

.eth-section-head {
  margin-bottom: 1rem;
}

.eth-casino-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.eth-casino-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  background: var(--eth-bg-elev);
  border: 1px solid var(--eth-line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eth-rank-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(150deg, var(--eth-accent), #5d7dff);
  clip-path: polygon(50% 0%, 92% 22%, 92% 78%, 50% 100%, 8% 78%, 8% 22%);
}

.eth-casino-meta strong {
  display: block;
  font-size: 1rem;
}

.eth-casino-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.eth-casino-logo {
  width: 52px;
  height: auto;
  display: block;
}

.eth-review-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eth-review-logo {
  width: 34px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.eth-casino-meta span {
  color: var(--eth-muted);
  font-size: 0.84rem;
}

.eth-casino-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
}

.eth-btn-play-now {
  display: inline-block;
  border-radius: 12px;
  padding: 0.48rem 0.72rem;
  background: linear-gradient(140deg, var(--eth-accent), var(--eth-accent-2));
  color: #0e1427;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  box-shadow:
    0 8px 22px rgba(99, 212, 255, 0.22),
    0 0 0 1px rgba(99, 212, 255, 0.15),
    0 0 22px rgba(99, 212, 255, 0.25);
  animation: ethPlayNowPulse 2s ease-in-out infinite;
}

.eth-btn-play-now:hover {
  box-shadow:
    0 12px 28px rgba(99, 212, 255, 0.28),
    0 0 0 1px rgba(99, 212, 255, 0.2),
    0 0 28px rgba(99, 212, 255, 0.35);
}

.eth-btn-play-now:focus-visible {
  outline: 3px solid rgba(99, 212, 255, 0.55);
  outline-offset: 2px;
}

@keyframes ethPlayNowPulse {
  0% {
    filter: saturate(1);
    box-shadow:
      0 8px 22px rgba(99, 212, 255, 0.22),
      0 0 0 1px rgba(99, 212, 255, 0.15),
      0 0 22px rgba(99, 212, 255, 0.25);
    transform: translateZ(0) scale(1);
  }
  50% {
    filter: saturate(1.1);
    box-shadow:
      0 10px 26px rgba(99, 212, 255, 0.32),
      0 0 0 1px rgba(99, 212, 255, 0.22),
      0 0 30px rgba(99, 212, 255, 0.4);
    transform: translateZ(0) scale(1.08);
  }
  100% {
    filter: saturate(1);
    box-shadow:
      0 8px 22px rgba(99, 212, 255, 0.22),
      0 0 0 1px rgba(99, 212, 255, 0.15),
      0 0 22px rgba(99, 212, 255, 0.25);
    transform: translateZ(0) scale(1);
  }
}

.eth-btn-review {
  display: inline-block;
  border-radius: 12px;
  padding: 0.34rem 0.58rem;
  background: rgba(75, 198, 255, 0.12);
  border: 1px solid rgba(75, 198, 255, 0.33);
  color: #b8e9ff;
  text-align: center;
  font-weight: 800;
  font-size: 0.76rem;
  white-space: nowrap;
  text-decoration: none;
}

.eth-bonus-chip {
  background: rgba(75, 198, 255, 0.12);
  border: 1px solid rgba(75, 198, 255, 0.33);
  color: #b8e9ff;
  border-radius: 12px;
  padding: 0.44rem 0.64rem;
  text-align: center;
  font-size: 0.81rem;
  max-width: 170px;
}

.eth-verified-box {
  margin-top: 0.95rem;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--eth-line);
  background: var(--eth-bg-elev);
}

.eth-verified-list {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.eth-table-wrap {
  overflow-x: auto;
}

.eth-network-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.eth-network-table th,
.eth-network-table td {
  border: 1px solid var(--eth-line);
  padding: 0.62rem 0.72rem;
  text-align: left;
}

.eth-network-table th {
  background: var(--eth-panel);
}

.eth-review-blocks {
  display: grid;
  gap: 0.8rem;
}

.eth-review-card {
  border: 1px solid var(--eth-line);
  border-radius: 16px;
  background: var(--eth-bg-elev);
  padding: 1rem;
}

.eth-review-carousel {
  margin-top: 0.75rem;
}

.eth-review-carousel-viewport {
  overflow: hidden;
  border: 1px solid var(--eth-line);
  border-radius: 14px;
  background: #0f1528;
  position: relative;
  display: block;
  height: fit-content; /* keeps container height aligned with the images */
}

.eth-review-carousel-viewport::before,
.eth-review-carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  pointer-events: none;
  z-index: 2;
}

.eth-review-carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(15, 21, 40, 0.92), rgba(15, 21, 40, 0));
  backdrop-filter: blur(12px);
}

.eth-review-carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 21, 40, 0.92), rgba(15, 21, 40, 0));
  backdrop-filter: blur(12px);
}

.eth-review-carousel-track {
  display: flex;
  transition: transform 0.28s ease;
}

.eth-review-carousel-slide {
  flex: 0 0 100%;
}

.eth-review-carousel-slide img {
  width: 100%;
  height: auto; /* keep original aspect ratio */
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.eth-review-carousel-controls {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.eth-review-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfe8ff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.eth-review-carousel-btn:hover {
  background: rgba(99, 212, 255, 0.12);
  border-color: rgba(99, 212, 255, 0.35);
}

.eth-review-carousel-btn:focus-visible {
  outline: 3px solid rgba(99, 212, 255, 0.55);
  outline-offset: 2px;
}

.eth-review-carousel-counter {
  color: var(--eth-muted);
  font-weight: 650;
  font-size: 0.86rem;
  white-space: nowrap;
}

.eth-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.eth-review-tags {
  color: var(--eth-muted);
  font-size: 0.84rem;
}

.eth-review-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.eth-review-grid div {
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--eth-line);
  background: #151a2b;
  font-size: 0.9rem;
}

.eth-review-actions {
  margin-top: 0.7rem;
}

.eth-btn-claim {
  display: inline-block;
  border-radius: 12px;
  padding: 0.52rem 0.88rem;
  background: linear-gradient(140deg, var(--eth-accent), var(--eth-accent-2));
  color: #0e1427;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  white-space: nowrap;
  box-shadow:
    0 8px 22px rgba(99, 212, 255, 0.22),
    0 0 0 1px rgba(99, 212, 255, 0.15),
    0 0 22px rgba(99, 212, 255, 0.25);
  animation: ethPlayNowPulse 2s ease-in-out infinite;
}

.eth-btn-claim:hover {
  box-shadow:
    0 12px 28px rgba(99, 212, 255, 0.28),
    0 0 0 1px rgba(99, 212, 255, 0.2),
    0 0 28px rgba(99, 212, 255, 0.35);
}

.eth-btn-claim:focus-visible {
  outline: 3px solid rgba(99, 212, 255, 0.55);
  outline-offset: 2px;
}

.eth-rg-list {
  padding-left: 1rem;
}

.eth-faq-item {
  border: 1px solid var(--eth-line);
  border-radius: 12px;
  background: var(--eth-bg-elev);
}

.eth-faq-item + .eth-faq-item {
  margin-top: 0.55rem;
}

.eth-faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--eth-text);
  font: inherit;
  padding: 0.78rem 0.95rem;
  cursor: pointer;
}

.eth-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--eth-muted);
}

.eth-faq-answer p {
  padding: 0 0.95rem 0.9rem;
  margin: 0;
}

.eth-faq-item.eth-is-open .eth-faq-answer {
  max-height: 220px;
}

.eth-about-author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid var(--eth-line);
  border-radius: 14px;
  background: var(--eth-bg-elev);
  padding: 0.85rem;
}

.eth-site-footer {
  margin-top: 1.3rem;
  border-top: 1px solid var(--eth-line);
  background: #0d101d;
}

.eth-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
}

.eth-footer-title {
  font-family: var(--eth-font-heading);
  font-size: 1.05rem;
}

.eth-footer-note {
  color: var(--eth-muted);
  font-size: 0.9rem;
}

.eth-footer-links {
  display: grid;
  gap: 0.44rem;
  align-content: start;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(49, 58, 94, 0.55);
  background: rgba(36, 44, 71, 0.42); /* same “lighter card” tone as RG blocks */
}

.eth-footer-links a {
  color: #cfdbff;
}

.eth-footer-rg {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  align-content: start;
}

.eth-footer-info {
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(49, 58, 94, 0.55);
  background: rgba(36, 44, 71, 0.42); /* same “lighter card” tone as RG blocks */
}

.eth-footer-rg h4 {
  margin: 0 0 0.2rem;
  font-family: var(--eth-font-heading);
  font-size: 0.96rem;
}

.eth-footer-rg-block {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(49, 58, 94, 0.55);
  background: rgba(36, 44, 71, 0.42); /* slightly lighter card background */
}

.eth-footer-rg-list {
  display: grid;
  gap: 0.45rem;
}

.eth-footer-rg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.eth-footer-rg-row-label {
  color: #f2f4ff;
  font-size: 0.84rem;
  line-height: 1.25;
}

.eth-footer-rg-logo {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}

.eth-footer-rg-row a {
  text-decoration: none;
}

.eth-footer-rg-row a:hover {
  text-decoration: underline;
}

.eth-footer-age {
  justify-self: end;
  margin-top: 0.15rem;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--eth-line);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--eth-font-heading);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .eth-casino-cards,
  .eth-review-grid,
  .eth-footer-inner {
    grid-template-columns: 1fr;
  }

  .eth-footer-rg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .eth-burger-btn {
    display: inline-block;
  }

  .eth-site-nav {
    position: fixed;
    top: 72px;
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #11172b;
    border: 1px solid var(--eth-line);
    border-radius: 15px;
    padding: 0.8rem;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
  }

  .eth-site-nav.eth-is-open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .eth-section {
    padding: 1rem;
    border-radius: 18px;
  }

  .eth-breadcrumbs {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  .eth-author-short {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .eth-editorial-toggle,
  .eth-read-more-inline {
    margin-left: 0;
  }

  .eth-review-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .eth-casino-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .eth-casino-actions {
    align-items: stretch;
  }

  .eth-btn-play-now,
  .eth-btn-review,
  .eth-btn-claim {
    width: 100%;
    white-space: normal;
    padding: 0.5rem 0.65rem;
    font-size: 0.86rem;
  }

  .eth-review-carousel-controls {
    gap: 0.55rem;
  }

  .eth-review-carousel-viewport::before,
  .eth-review-carousel-viewport::after {
    width: 26px;
  }
}
