:root {
  --blue: #2563eb;
  --blue-dark: #045cb4;
  --green: #16a34a;
  --orange: #ea580c;
  --text: #334155;
  --heading: #1e293b;
  --muted: #64748b;
  --line: #d1d5db;
  --bg: #f0f5fa;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

a:hover,
a:focus {
  color: var(--blue-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
}

.skip-link:focus {
  left: 10px;
  z-index: 10;
  background: var(--white);
  padding: 10px 14px;
}

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

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.site-content {
  padding: 60px 0;
}

.article {
  background: var(--white);
  padding: 48px;
  box-shadow: var(--shadow);
}

.entry-header {
  margin-bottom: 22px;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

h2 {
  margin-top: 34px;
  font-size: 30px;
}

h3 {
  margin-top: 28px;
  font-size: 24px;
}

h4 {
  margin: 20px 0 6px;
  font-size: 20px;
}

.entry-meta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.casino-list {
  margin: 22px 0 34px;
}

.list {
  display: grid;
  gap: 14px;
}

.item {
  position: relative;
  display: grid;
  grid-template-columns: 176px 1fr 170px;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.item-featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  padding-top: 34px;
}

.choice {
  position: absolute;
  left: 14px;
  top: -13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 10px;
  box-shadow: var(--shadow);
}

.choice img {
  width: 20px;
  height: 16px;
}

.choice .star {
  width: 16px;
  height: 16px;
}

.image {
  position: relative;
  min-height: 100px;
}

.image > span {
  position: absolute;
  left: -4px;
  top: -4px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.image a {
  position: relative;
  min-height: 100px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #111827;
  overflow: hidden;
  padding: 8px;
}

.image img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.image label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 7px;
}

.info p {
  margin: 0;
}

.info p:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rating {
  display: inline-flex;
  align-items: baseline;
  color: var(--green);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.rating small {
  color: var(--muted);
  font-size: 14px;
  margin-left: 1px;
}

.title {
  color: var(--heading);
  font-size: 24px;
  font-weight: 800;
}

.offer {
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tags span {
  border-radius: 999px;
  background: #eaf3ff;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.button {
  display: grid;
  justify-items: stretch;
  gap: 10px;
}

.button > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  padding: 12px 16px;
  text-align: center;
}

.button > a:hover,
.button > a:focus {
  background: #11823b;
  color: var(--white);
}

.payments {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.payments img {
  width: 34px;
  height: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  display: block;
  overflow-x: auto;
}

th,
td {
  border: 1px solid #dfe5ec;
  padding: 12px 14px;
  text-align: left;
}

th {
  background: #f8fafc;
  color: var(--heading);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 20px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-content {
    padding: 30px 0;
  }

  .article {
    padding: 28px 20px;
  }

  .item {
    grid-template-columns: 130px 1fr;
  }

  .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1200px);
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    font-size: 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 20px;
  }

  .item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .image {
    min-height: 116px;
  }

  .image a {
    min-height: 116px;
  }

  .title {
    font-size: 22px;
  }

  .offer {
    font-size: 16px;
  }
}
