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

:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-border: #dce7f3;
  --ink: #09162b;
  --muted: #64748f;
  --brand: #0e427a;
  --brand-dark: #0a315f;
  --accent: #2677d9;
  --cta-a: #2566ff;
  --cta-b: #19b8da;
  --check-bg: #d8f0e6;
  --check: #149c68;
  --chip: #ffd843;
  --chip-text: #1c1c1c;
  --shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(34, 114, 211, 0.08), transparent 28%),
    var(--bg);
  color: var(--ink);
}

.wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #45a7ff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.page {
  padding: 22px 0 40px;
}

.casino-list {
  display: grid;
  gap: 18px;
}

.casino-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 210px minmax(260px, 1fr) 150px 130px 200px;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.rank-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf2fb;
  color: var(--brand);
  font-size: 23px;
  font-weight: 800;
  border: 1px solid #d1deee;
}

.card-hero {
  min-height: 118px;
  border-radius: 22px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.hero-blue {
  background: linear-gradient(135deg, #256ec7, #0f3d78);
}

.hero-blue-deep {
  background: linear-gradient(135deg, #1551b6, #081e62);
}

.hero-purple {
  background: linear-gradient(135deg, #4c2ffd, #7615cf);
}

.hero-cyan {
  background: linear-gradient(135deg, #0e5ea4, #09346e);
}

.hero-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 60%, rgba(255,255,255,0.12) 60% 74%, transparent 74% 100%);
}

.hero-icon,
.hero-title,
.hero-chip {
  position: relative;
  z-index: 1;
}

.hero-icon {
  font-size: 26px;
  line-height: 1;
  color: #7fc2ff;
  margin-bottom: 6px;
}

.hero-title {
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.card-content h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.eyebrow {
  margin-bottom: 6px;
  color: #1560b8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.lead {
  margin: 0 0 2px;
  font-size: 16px;
  color: #22314a;
}

.legal {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.desktop-feature,
.desktop-score {
  min-width: 0;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-feature .check {
  margin-top: 12px;
}

.check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--check-bg);
  color: var(--check);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.desktop-score strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.visit-btn {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cta-a), var(--cta-b));
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 102, 255, 0.18);
}

.visit-btn span {
  font-size: 30px;
  line-height: 1;
}

.mobile-stats {
  display: none;
}

@media (max-width: 1100px) {
  .casino-card {
    grid-template-columns: 44px 180px minmax(220px, 1fr) 125px 110px 170px;
    gap: 14px;
    padding: 16px;
  }

  .card-hero {
    min-height: 110px;
  }

  .visit-btn {
    font-size: 17px;
  }

  .desktop-score strong {
    font-size: 33px;
  }
}


@media (max-width: 820px) {
  .wrap {
    width: min(100% - 16px, 1220px);
  }

  .page {
    padding-top: 10px;
    padding-bottom: 24px;
  }

  .casino-list {
    gap: 12px;
  }

  .casino-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 10px 12px;
    border-radius: 22px;
  }

  .rank-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 44px;
    height: 44px;
    z-index: 2;
    background: linear-gradient(180deg, #ff653a, #ff3337);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(255, 82, 64, 0.22);
    font-size: 18px;
  }

  .card-hero {
    min-height: 146px;
    padding: 14px 12px;
    border-radius: 20px;
  }

  .hero-icon {
    font-size: 24px;
    color: #ffd845;
    margin-bottom: 2px;
  }

  .hero-title {
    font-size: clamp(22px, 6.6vw, 30px);
    margin-bottom: 8px;
  }

  .hero-chip {
    min-height: 28px;
    padding: 0 14px;
    font-size: 11px;
  }

  .card-content {
    padding: 12px 4px 0;
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .card-content h2 {
    font-size: clamp(20px, 7vw, 28px);
    margin-bottom: 8px;
  }

  .lead {
    font-size: clamp(14px, 4.6vw, 18px);
    line-height: 1.22;
  }

  .legal {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .desktop-feature,
  .desktop-score {
    display: none;
  }

  .mobile-stats {
    display: block;
    margin-top: 14px;
  }

  .stat-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .stat-line + .stat-line {
    margin-top: 10px;
  }

  .stat-line .label {
    font-size: clamp(14px, 4.4vw, 18px);
  }

  .stat-line .check {
    width: 56px;
    height: 56px;
    font-size: 36px;
    flex: 0 0 auto;
  }

  .score-line strong {
    font-size: clamp(34px, 9.2vw, 46px);
    line-height: 1;
    letter-spacing: -0.07em;
  }

  .visit-btn {
    margin-top: 14px;
    min-height: 50px;
    font-size: clamp(16px, 5.2vw, 21px);
    gap: 10px;
  }

  .visit-btn span {
    font-size: 1.22em;
  }
}

@media (max-width: 420px) {
  .site-header {
    min-height: 56px;
  }

  .brand {
    font-size: 17px;
  }

  .wrap {
    width: calc(100% - 12px);
  }

  .casino-card {
    padding: 9px 9px 11px;
    border-radius: 20px;
  }

  .rank-badge {
    top: 4px;
    left: 4px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .card-hero {
    min-height: 138px;
    border-radius: 18px;
    padding: 12px 10px;
  }

  .hero-icon {
    font-size: 22px;
  }

  .hero-title {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .hero-chip {
    min-height: 26px;
    padding: 0 12px;
    font-size: 10px;
  }

  .card-content {
    padding: 10px 3px 0;
  }

  .card-content h2 {
    font-size: 19px;
  }

  .lead {
    font-size: 14px;
  }

  .legal {
    font-size: 10px;
  }

  .mobile-stats {
    margin-top: 12px;
  }

  .stat-line .label {
    font-size: 13px;
  }

  .stat-line .check {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .score-line strong {
    font-size: 32px;
  }

  .visit-btn {
    min-height: 46px;
    font-size: 16px;
    margin-top: 12px;
  }
}

