.popular-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  padding-left: 0;
  list-style: none;
}

.popular-slot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border-radius: 12px;
  background: #252536;
  box-shadow: 0 2px 2px 0 #0000003d;
}

.popular-slot-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 222, 38, 0.28), transparent 32%),
    linear-gradient(135deg, #33334a 0%, #1e1e2c 100%);
  color: #ffde26;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.popular-slot-thumb span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.popular-slot-thumb img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.popular-slot-card h3,
.popular-slot-card p {
  margin: 0;
}

.popular-slot-card h3 a {
  color: #fff;
  text-decoration: none;
}

.popular-slot-card h3 a:hover {
  color: #ffde26;
}

.popular-slot-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.popular-slot-card li {
  padding: 6px 8px;
  border-radius: 4px;
  background: #1e1e2c;
  color: #bcbcd1;
  font-size: 12px;
  line-height: 16px;
}

.popular-slot-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.popular-slot-card .custom-button {
  width: 100%;
  margin-top: 4px;
}

.homepage-slots-container {
  align-items: stretch;
}

.homepage-slot-card {
  flex: 0 1 calc(20% - 13px);
  min-width: 210px;
  max-width: 280px;
  background: #1e1e2c;
}

.homepage-slot-card .gamecard-background {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 222, 38, 0.14), transparent 38%),
    #101018;
  border-radius: 8px;
}

.homepage-slot-card .gamecard-title {
  padding: 0 10px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.homepage-slot-provider {
  right: 10px;
  left: 10px;
  justify-content: flex-end;
}

.homepage-slot-provider .gamecard-chip-publisher {
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 4px 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.slot-detail-content {
  display: block;
  width: 100%;
}

.slot-demo-panel {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px;
  border-radius: 12px;
  background: #252536;
}

.slot-demo-panel h2 {
  margin-top: 0;
}

.slot-specs-table {
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    #1e1e2c;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.slot-specs-table th,
.slot-specs-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
}

.slot-specs-table th {
  width: 30%;
  background: rgba(255, 222, 38, 0.05);
  color: #ffde26;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.slot-specs-table td {
  color: #f4f4fb;
  font-weight: 600;
}

.slot-specs-table tr:hover th,
.slot-specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.035);
}

.slot-specs-table tr:last-child th,
.slot-specs-table tr:last-child td {
  border-bottom: 0;
}

.sports-facts-card {
  margin-bottom: 32px;
}

.sports-facts-card h2 {
  margin-top: 0;
}

.sports-facts-table {
  margin-top: 16px;
}

.homepage-info-card {
  margin: 8px 0 40px;
}

.homepage-info-card .h2-base-title {
  margin-bottom: 18px;
}

.homepage-info-table {
  margin-top: 0;
}

.login-mirror-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(254, 40, 74, 0.2), transparent 32%),
    #252536;
  box-shadow: 0 2px 2px 0 #0000003d;
}

.login-mirror-card h2 {
  margin-bottom: 12px;
  text-align: center;
}

.login-mirror-card p {
  text-align: center;
}

.login-mirror-card .custom-button {
  width: 220px;
  margin: 0 auto;
}

.slot-demo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 220px));
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin: 18px auto 0;
}

.slot-demo-actions .custom-button {
  width: 100%;
  min-width: 0;
  border: 0;
}

.slot-demo-start-button:disabled {
  cursor: default;
  opacity: 0.72;
}

.slot-demo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 20px 0 14px;
  aspect-ratio: 16 / 9;
  min-height: clamp(520px, 68vh, 820px);
  border-radius: 0;
  background: #050509;
  box-shadow: none;
}

.slot-demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 222, 38, 0.16), transparent 38%),
    #050509;
}

.slot-demo-placeholder span {
  display: block;
  max-width: 620px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.slot-demo-placeholder small {
  display: block;
  max-width: 520px;
  color: #bcbcd1;
  font-size: 14px;
  line-height: 22px;
}

.slot-demo-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  border: 0;
}

.slot-demo-panel .slot-demo-frame,
.slot-demo-panel .slot-demo-frame iframe {
  min-width: 100%;
}

.slot-faq {
  display: block;
  width: 100%;
  margin: 44px 0 32px;
}

.slot-faq .h2-base-title {
  margin-bottom: 18px;
}

.slot-faq .faq-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  margin-bottom: 0;
}

.slot-faq .faq-item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 12px !important;
  background: #252536;
}

.slot-faq .faq-item-header-wrapper {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.slot-faq .faq-item-header-wrapper:focus,
.slot-faq .faq-item-header-wrapper:focus-visible,
.slot-faq .faq-item-title:focus,
.slot-faq .faq-item-content-hidden:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.slot-faq .faq-item-header-wrapper:active {
  outline: 0 !important;
}

.slot-faq .faq-item-title {
  display: block;
  flex: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.slot-faq .faq-item-content {
  margin: 0;
  padding: 0 20px 20px;
  color: #d7d7e8;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
}

.slot-faq .faq-item-content-hidden {
  display: block;
}

.slot-faq .toggle-icon {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 1024px) {
  .popular-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-slot-card {
    flex-basis: calc(50% - 8px);
    max-width: none;
  }

  .login-mirror-card {
    grid-template-columns: 1fr;
  }

  .slot-demo-frame {
    min-height: clamp(460px, 64vh, 720px);
  }
}

@media (max-width: 668px) {
  .popular-slots-grid {
    grid-template-columns: 1fr;
  }

  .homepage-slot-card {
    flex-basis: 100%;
    min-width: 0;
  }

  .slot-demo-frame {
    aspect-ratio: 4 / 5;
    min-height: 560px;
  }

  .slot-demo-panel {
    padding: 16px;
  }

  .slot-demo-actions .custom-button {
    width: 100%;
  }

  .slot-demo-actions {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .slot-demo-placeholder span {
    font-size: 20px;
    line-height: 28px;
  }

  .slot-specs-table th,
  .slot-specs-table td {
    display: block;
    width: 100%;
  }

  .slot-specs-table th {
    padding-bottom: 4px;
  }

  .slot-specs-table td {
    padding-top: 4px;
  }

  .slot-faq .faq-item-header-wrapper {
    padding: 16px;
  }

  .slot-faq .faq-item-content {
    padding: 0 16px 16px;
  }
}
