:root {
  --jellyexpress-bg: #fff9fd;
  --jellyexpress-bg-soft: #fff2fb;
  --jellyexpress-surface: rgba(255, 255, 255, 0.82);
  --jellyexpress-surface-strong: rgba(255, 255, 255, 0.94);
  --jellyexpress-text: #3e2552;
  --jellyexpress-muted: #775d8f;
  --jellyexpress-line: rgba(180, 96, 183, 0.18);
  --jellyexpress-pink: #ff4fb3;
  --jellyexpress-purple: #8a4dff;
  --jellyexpress-blue: #3dcbff;
  --jellyexpress-green: #59db8e;
  --jellyexpress-yellow: #ffd85c;
  --jellyexpress-orange: #ff9f4f;
  --jellyexpress-shadow: 0 24px 60px rgba(115, 60, 152, 0.17);
  --jellyexpress-radius-lg: 28px;
  --jellyexpress-radius-md: 18px;
  --jellyexpress-radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--jellyexpress-text);
  background:
    radial-gradient(circle at top left, rgba(255, 79, 179, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(61, 203, 255, 0.25), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(89, 219, 142, 0.2), transparent 25%),
    linear-gradient(180deg, #fff6fc 0%, #fff9fd 44%, #f9f3ff 100%);
  line-height: 1.7;
}

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

a {
  color: var(--jellyexpress-purple);
  text-decoration: none;
}

a:hover {
  color: var(--jellyexpress-pink);
}

p,
li,
td,
th,
summary,
select {
  font-size: 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.6rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

figure {
  margin: 1.5rem 0 0;
}

figcaption {
  margin-top: 0.85rem;
  color: var(--jellyexpress-muted);
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--jellyexpress-radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 253, 0.88));
}

th,
td {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--jellyexpress-line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 32%;
  color: var(--jellyexpress-text);
  background: rgba(255, 255, 255, 0.42);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.jellyexpress-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.jellyexpress-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 253, 0.72);
  border-bottom: 1px solid rgba(176, 102, 200, 0.14);
}

.jellyexpress-topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
}

.jellyexpress-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--jellyexpress-text);
  font-weight: 800;
}

.jellyexpress-wordmark img {
  width: auto;
  max-width: 220px;
  height: 56px;
  object-fit: contain;
}

.jellyexpress-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.jellyexpress-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--jellyexpress-pink), var(--jellyexpress-orange));
  box-shadow: 0 14px 34px rgba(255, 79, 179, 0.24);
}

.jellyexpress-header-cta:hover {
  color: #fff;
  filter: brightness(1.03);
}

.jellyexpress-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.jellyexpress-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--jellyexpress-text);
  font-weight: 700;
}

.jellyexpress-nav a:hover {
  background: rgba(255, 79, 179, 0.1);
}

.jellyexpress-menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jellyexpress-menu-button {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 79, 179, 0.92), rgba(138, 77, 255, 0.92));
  box-shadow: 0 14px 34px rgba(138, 77, 255, 0.24);
  cursor: pointer;
}

.jellyexpress-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.language-container {
  display: flex;
  justify-content: flex-end;
}

.language-selector {
  min-width: 170px;
  padding: 0.8rem 2.8rem 0.8rem 1rem;
  border: 1px solid rgba(138, 77, 255, 0.22);
  border-radius: 999px;
  color: var(--jellyexpress-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 251, 0.95)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%238a4dff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem;
  appearance: none;
  box-shadow: 0 12px 28px rgba(176, 102, 200, 0.12);
}

.language-selector:focus {
  outline: 2px solid rgba(61, 203, 255, 0.5);
  outline-offset: 2px;
}

.jellyexpress-intro {
  padding: 2.4rem 0 1rem;
}

.jellyexpress-intro-layout {
  display: block;
}

.jellyexpress-intro-copy,
.jellyexpress-feature-card,
.jellyexpress-section,
.jellyexpress-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 105, 194, 0.16);
  border-radius: var(--jellyexpress-radius-lg);
  background: var(--jellyexpress-surface);
  box-shadow: var(--jellyexpress-shadow);
}

.jellyexpress-intro-copy,
.jellyexpress-section,
.jellyexpress-panel {
  padding: 1.55rem;
}

.jellyexpress-intro-copy {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 253, 0.88) 42%, rgba(255, 245, 251, 0.42) 100%),
    url("/img/jelly-express-slot-main-screen.webp") no-repeat center center / cover;
}

.jellyexpress-intro-copy::before,
.jellyexpress-feature-card::before,
.jellyexpress-section::before,
.jellyexpress-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 216, 92, 0.22), transparent 24%),
    radial-gradient(circle at left bottom, rgba(61, 203, 255, 0.14), transparent 20%);
  pointer-events: none;
}

.jellyexpress-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #8c3568;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  background: rgba(255, 216, 92, 0.35);
}

.jellyexpress-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.jellyexpress-intro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.jellyexpress-intro-cta-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--jellyexpress-pink), var(--jellyexpress-orange));
  box-shadow: 0 14px 34px rgba(255, 79, 179, 0.24);
}

.jellyexpress-intro-cta-primary:hover {
  color: #fff;
}

.jellyexpress-intro-cta-secondary {
  color: var(--jellyexpress-text);
  border: 1px solid rgba(138, 77, 255, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(176, 102, 200, 0.12);
}

.jellyexpress-intro-cta-secondary:hover {
  color: var(--jellyexpress-pink);
}

.jellyexpress-statbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.jellyexpress-statbar div {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 240, 250, 0.78));
  border: 1px solid rgba(186, 105, 194, 0.12);
}

.jellyexpress-statbar strong {
  display: block;
  font-size: 1.35rem;
  color: #8f2cdf;
}

.jellyexpress-statbar span {
  color: var(--jellyexpress-muted);
  font-weight: 700;
}

.jellyexpress-feature-card {
  margin: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 251, 0.9));
}

.jellyexpress-feature-card img,
.jellyexpress-section img {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(112, 71, 168, 0.16);
}

.jellyexpress-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  padding: 1rem 0 3rem;
}

.jellyexpress-main-column {
  display: grid;
  gap: 1.5rem;
}

.jellyexpress-side-column {
  display: grid;
  gap: 1.5rem;
  align-self: start;
  position: sticky;
  top: 100px;
}

.jellyexpress-section > *:first-child,
.jellyexpress-panel > *:first-child {
  position: relative;
  z-index: 1;
}

.jellyexpress-section > *,
.jellyexpress-panel > * {
  position: relative;
  z-index: 1;
}

.jellyexpress-toc summary {
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 1rem;
}

.jellyexpress-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin-left: 1rem;
}

.jellyexpress-toc a {
  font-weight: 700;
}

.jellyexpress-demo-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 105, 194, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 251, 0.86));
  box-shadow: 0 16px 34px rgba(112, 71, 168, 0.12);
}

.jellyexpress-demo-target {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.jellyexpress-demo-poster,
.jellyexpress-demo-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 675;
  min-height: 0;
}

.jellyexpress-demo-poster img,
.jellyexpress-demo-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.jellyexpress-demo-poster img {
  object-fit: cover;
}

.jellyexpress-demo-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(62, 37, 82, 0.12), rgba(62, 37, 82, 0.38));
}

.jellyexpress-demo-embed {
  display: none;
  background: #140a1f;
}

#jellyexpress-demo-live:target ~ .jellyexpress-demo-poster {
  display: none;
}

#jellyexpress-demo-live:target ~ .jellyexpress-demo-embed {
  display: block;
}

.authorBlock {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 1px solid rgba(186, 105, 194, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 242, 251, 0.82));
}

.authorAvatar img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(112, 71, 168, 0.16);
}

.authorDetails h3 {
  margin-bottom: 0.65rem;
}

.authorDetails p:last-child {
  margin-bottom: 0;
}

.jellyexpress-casino-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.jellyexpress-casino-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgba(186, 105, 194, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 251, 0.82));
  box-shadow: 0 16px 34px rgba(112, 71, 168, 0.12);
}

.jellyexpress-casino-card h3 {
  margin-bottom: 0;
}

.jellyexpress-casino-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(112, 71, 168, 0.16);
}

.jellyexpress-casino-logo {
  display: inline-flex;
  width: fit-content;
}

.jellyexpress-casino-card p,
.jellyexpress-casino-card ul {
  margin-bottom: 0;
}

.jellyexpress-summary-list {
  list-style: none;
  margin: 0;
}

.jellyexpress-summary-list li {
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(138, 77, 255, 0.2);
}

.jellyexpress-summary-list li:last-child {
  border-bottom: 0;
}

.jellyexpress-footer {
  padding: 0 0 2.5rem;
}

.jellyexpress-legal-main {
  padding: 2rem 0 3rem;
}

.jellyexpress-legal-section h1 {
  margin-bottom: 1rem;
}

.jellyexpress-legal-section h2 {
  margin-top: 2rem;
}

.jellyexpress-legal-section ul {
  margin-bottom: 1.2rem;
}

.jellyexpress-footer .jellyexpress-shell {
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(186, 105, 194, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--jellyexpress-muted);
  text-align: center;
}

.jellyexpress-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.2rem;
  margin-top: 0.6rem;
}

.jellyexpress-footer-links a {
  font-weight: 700;
}

@media (max-width: 1040px) {
  .jellyexpress-intro-layout,
  .jellyexpress-content-grid {
    grid-template-columns: 1fr;
  }

  .jellyexpress-side-column {
    position: static;
  }

  .jellyexpress-topbar-inner {
    padding: 0.9rem 0;
  }

  .jellyexpress-nav {
    justify-content: flex-start;
  }

  .language-container {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    line-height: 1.6;
  }

  .jellyexpress-shell {
    width: min(100% - 1rem, 1180px);
  }

  .jellyexpress-topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
  }

  .jellyexpress-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .jellyexpress-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(186, 105, 194, 0.16);
  }

  .jellyexpress-nav a {
    width: 100%;
    background: rgba(255, 79, 179, 0.06);
  }

  .jellyexpress-menu-toggle:checked ~ .jellyexpress-nav {
    display: flex;
  }

  .jellyexpress-menu-toggle:checked ~ .jellyexpress-header-actions .jellyexpress-menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .jellyexpress-menu-toggle:checked ~ .jellyexpress-header-actions .jellyexpress-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .jellyexpress-menu-toggle:checked ~ .jellyexpress-header-actions .jellyexpress-menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .language-container {
    grid-column: 1 / -1;
  }

  .language-selector {
    width: 100%;
  }

  .jellyexpress-header-actions {
    gap: 0.55rem;
  }

  .jellyexpress-header-cta {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }

  .jellyexpress-intro-actions {
    gap: 0.7rem;
  }

  .jellyexpress-intro-copy {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 251, 0.9)),
      url("/img/jelly-express-slot-main-screen.webp") no-repeat center center / cover;
  }

  .jellyexpress-intro-cta {
    min-height: 46px;
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
  }

  .jellyexpress-demo-actions {
    gap: 0.7rem;
    padding: 1rem;
  }

  .jellyexpress-casino-grid {
    grid-template-columns: 1fr;
  }

  .jellyexpress-statbar,
  .jellyexpress-toc ul {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 0.85rem 0.8rem;
  }

  th {
    width: auto;
  }
}

@media (max-width: 560px) {
  .jellyexpress-intro-copy {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 244, 251, 0.92)),
      url("/img/jelly-express-slot-main-screen.webp") no-repeat center center / cover;
  }

  .jellyexpress-wordmark img {
    max-width: 158px;
    height: 42px;
  }

  .jellyexpress-header-actions {
    min-width: 0;
    gap: 0.45rem;
  }

  .jellyexpress-header-cta {
    min-height: 40px;
    padding: 0.55rem 0.78rem;
    font-size: 0.76rem;
  }

  .jellyexpress-intro-actions {
    flex-direction: column;
  }

  .jellyexpress-intro-cta {
    width: 100%;
    min-height: 44px;
    font-size: 0.86rem;
  }

  .jellyexpress-demo-actions {
    flex-direction: column;
  }

  .authorBlock {
    grid-template-columns: 1fr;
  }

  .authorAvatar img {
    width: 64px;
    height: 64px;
  }

  .jellyexpress-menu-button {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .jellyexpress-intro {
    padding-top: 1.25rem;
  }

  .jellyexpress-intro-copy,
  .jellyexpress-section,
  .jellyexpress-panel,
  .jellyexpress-feature-card {
    border-radius: 22px;
  }

  .jellyexpress-intro-copy,
  .jellyexpress-section,
  .jellyexpress-panel {
    padding: 1.15rem;
  }

  h1 {
    font-size: 2.15rem;
  }
}
