body.casino-slot-page {
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(150deg, #12103a 0%, #24146f 46%, #171145 100%);
}

body.live-casino-page {
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(150deg, #1a0f2e 0%, #3d1a5c 46%, #1f1038 100%);
}

.casino-shell-wrap {
  min-width: 0;
}

.casino-page {
  padding: 0 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  min-width: 0;
}

.casino-hero {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(141, 85, 255, .35), rgba(34, 223, 79, .12));
  border: 1px solid rgba(152, 104, 255, .35);
}

.casino-hero h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.casino-hero p {
  margin: 0;
  color: #c9bdf1;
  font-size: 0.9rem;
}

.casino-hero-links {
  margin-top: 10px !important;
}

.casino-hero-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.casino-hero-links a:hover {
  color: #e8d4ff;
}

.casino-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.casino-tab {
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(0, 0, 0, .2);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.casino-tab.active,
.casino-tab:hover {
  background: linear-gradient(135deg, #8d55ff, #5b2fd4);
  border-color: transparent;
}

.casino-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.casino-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .25);
}

.casino-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  min-height: 42px;
  font: inherit;
  outline: none;
}

.casino-vendor-strip-wrap {
  margin: -6px 0 16px;
  padding: 4px 0 8px;
  position: relative;
}

.casino-vendor-strip-wrap::before,
.casino-vendor-strip-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
}

.casino-vendor-strip-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 16, 58, .95), transparent);
}

.casino-vendor-strip-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 16, 58, .95), transparent);
}

.casino-vendor-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.casino-vendor-strip::-webkit-scrollbar {
  display: none;
}

.casino-vendor-strip-empty {
  margin: 0;
  padding: 12px 4px;
  color: #9aa3c7;
  font-size: 0.85rem;
}

.casino-vendor-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  padding: 8px 6px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
  color: #e8e4ff;
  cursor: pointer;
  font: inherit;
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}

.casino-vendor-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 85, 255, .45);
}

.casino-vendor-chip.active {
  border-color: rgba(141, 85, 255, .85);
  background: linear-gradient(160deg, rgba(141, 85, 255, .35), rgba(34, 223, 79, .08));
  box-shadow: 0 6px 20px rgba(91, 47, 212, .35);
}

.casino-vendor-chip-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 18, 72, .9);
  border: 1px solid rgba(255, 255, 255, .08);
}

.casino-vendor-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  display: block;
}

.casino-vendor-chip-icon--all {
  color: #c9bdf1;
  background: rgba(141, 85, 255, .15);
}

.casino-vendor-fallback {
  font-size: 0.95rem;
  font-weight: 800;
  color: #c9bdf1;
  letter-spacing: 0.04em;
}

.casino-vendor-chip-label {
  max-width: 100%;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.casino-vendor-chip--all .casino-vendor-chip-label {
  color: #fff;
}

@media (min-width: 768px) {
  .casino-vendor-chip {
    width: 84px;
  }

  .casino-vendor-chip-icon {
    width: 56px;
    height: 56px;
  }
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .casino-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .casino-game-actions {
    flex-direction: column;
  }
}

.casino-game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(42, 29, 104, .6);
  border: 1px solid rgba(152, 104, 255, .2);
  transition: transform .15s, box-shadow .15s;
}

.casino-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.casino-game-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #1a1248;
}

.casino-game-body {
  flex: 1;
  padding: 10px 10px 8px;
  min-width: 0;
}

.casino-game-body strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.casino-game-body span {
  display: block;
  font-size: 0.68rem;
  color: #9aa3c7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.casino-game-actions {
  display: flex;
  gap: 6px;
  padding: 0 8px 10px;
}

.casino-game-actions:has(.casino-btn--demo) .casino-btn {
  flex: 1;
  min-width: 0;
}

.casino-game-actions:not(:has(.casino-btn--demo)) .casino-btn--real {
  width: 100%;
}

.casino-btn {
  border: 0;
  border-radius: 10px;
  padding: 8px 6px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: filter .15s, transform .1s;
  white-space: nowrap;
}

.casino-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.casino-btn--demo {
  color: #0d0a2b;
  background: linear-gradient(135deg, #ffd54f, #ffb300);
}

.casino-btn--real {
  color: #fff;
  background: linear-gradient(135deg, #8d55ff, #5b2fd4);
}

.casino-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.casino-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.casino-game-actions--disabled {
  justify-content: center;
  padding-bottom: 12px !important;
}

.casino-unavailable {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff9a9a;
  text-align: center;
  line-height: 1.3;
}

/* Canlı casino sayfası */
html[data-default-category="live"] .casino-hero {
  background: linear-gradient(135deg, rgba(232, 93, 138, .35), rgba(141, 85, 255, .12));
  border-color: rgba(232, 93, 138, .35);
}

html[data-default-category="live"] .casino-tab.active,
html[data-default-category="live"] .casino-tab:hover {
  background: linear-gradient(135deg, #e85d8a, #b83d6a);
}

html[data-default-category="live"] .casino-vendor-chip.active {
  border-color: rgba(232, 93, 138, .85);
  background: linear-gradient(160deg, rgba(232, 93, 138, .35), rgba(141, 85, 255, .08));
  box-shadow: 0 6px 20px rgba(184, 61, 106, .35);
}

html[data-default-category="live"] .casino-btn--real {
  background: linear-gradient(135deg, #e85d8a, #b83d6a);
}

html[data-default-category="live"] .casino-load-more {
  background: linear-gradient(135deg, #e85d8a, #8d55ff);
}

.casino-badge-new {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #22df4f;
  color: #0d0a2b;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.casino-thumb-wrap {
  position: relative;
}

.casino-empty,
.casino-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #9aa3c7;
}

.casino-load-more {
  display: block;
  margin: 20px auto 0;
  padding: 12px 28px;
  border-radius: 99px;
  border: 0;
  background: linear-gradient(135deg, #8d55ff, #22df4f);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}

.casino-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, .85);
  display: none;
  flex-direction: column;
}

.casino-launch-overlay.open {
  display: flex;
}

.casino-launch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0d0a2b;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.casino-launch-bar button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 0;
  background: #8d55ff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.casino-launch-frame {
  flex: 1;
  border: 0;
  width: 100%;
  background: #000;
}

.casino-launch-hint {
  margin: 0;
  padding: 8px 14px;
  font-size: 12px;
  color: #9aa3c7;
  background: #0d0a2b;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
