/* ===== SLOT SINGLE PRODUCT PAGE ===== */

/* Force hide ALL default WooCommerce / GeneratePress single product elements */
body.single-product .woocommerce-breadcrumb,
body.single-product .product_title,
body.single-product .price,
body.single-product .quantity,
body.single-product .single_add_to_cart_button,
body.single-product .product_meta,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .cart,
body.single-product form.cart,
body.single-product .woocommerce-product-rating,
body.single-product #right-sidebar,
body.single-product .woocommerce-product-gallery,
body.single-product .entry-summary,
body.single-product .summary,
body.single-product .up-sells,
body.single-product .woocommerce-Reviews {
  display: none !important;
}

body.single-product .site-main {
  width: 100% !important;
  max-width: 100% !important;
}

body.single-product .site-content {
  max-width: 100% !important;
  padding: 0 !important;
}

body.single-product .inside-article {
  padding: 0 !important;
  margin: 0 !important;
}

body.single-product .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== PAGE WRAPPER ===== */

.slot-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #e5e7eb;
}

/* ===== HERO ROW: Game + Sidebar ===== */

.slot-hero-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ===== MAIN GAME AREA ===== */

.slot-main-area {
  min-width: 0;
}

/* Top bar: title + rating */
.slot-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #1a1a2e;
  border-radius: 10px 10px 0 0;
  border: 1px solid #2d2d44;
  border-bottom: none;
}

.slot-page .slot-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-topbar-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.slot-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 1px;
}

.slot-rating-text {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* ===== GAME DISPLAY AREA ===== */

.slot-game-area {
  position: relative;
  background: #0f0f23;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  border: 1px solid #2d2d44;
  border-top: none;
}

.slot-game-placeholder {
  position: relative;
}

/* Thumbnail container - relative for overlay */
.slot-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f0f23;
}

.slot-game-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Dark overlay on thumbnail */
.slot-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: background 0.3s;
}

.slot-game-placeholder:hover .slot-thumb-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* CTA buttons centered on image */
.slot-thumb-ctas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

/* ===== CTA BUTTONS ===== */

.slot-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  letter-spacing: 0.02em;
  line-height: 1.3;
  min-width: 260px;
  text-align: center;
}

.slot-cta:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.slot-cta:active {
  transform: translateY(0);
}

/* Play for real - bold red */
.slot-cta-real {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
}

.slot-cta-real:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  box-shadow: 0 6px 28px rgba(220, 38, 38, 0.6);
  color: #fff !important;
}

/* Play demo - outlined bright */
.slot-cta-demo {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(4px);
}

.slot-cta-demo:hover {
  border-color: #fff !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Large CTA variant */
.slot-cta-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ===== IFRAME ===== */

.slot-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.slot-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Iframe control bar */
.slot-iframe-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.slot-iframe-wrap:hover .slot-iframe-controls {
  opacity: 1;
}

.slot-fs-btn {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.slot-fs-btn:hover {
  background: rgba(255,255,255,0.3) !important;
}

.slot-iframe-real-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.slot-iframe-real-btn:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #fff !important;
}

/* ===== FULLSCREEN MODE ===== */

.slot-game-area.slot-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  border-radius: 0 !important;
  border: none !important;
  background: #000 !important;
}

.slot-game-area.slot-fullscreen .slot-iframe-wrap {
  aspect-ratio: auto !important;
  width: 100% !important;
  height: 100% !important;
}

.slot-game-area.slot-fullscreen .slot-iframe-controls {
  opacity: 1;
  padding: 0.5rem 1rem;
}

body.slot-fs-active {
  overflow: hidden !important;
}

/* Hide header/footer in fullscreen */
body.slot-fs-active .site-header,
body.slot-fs-active .site-footer {
  display: none !important;
}

/* ===== OVERLAY (every 3 min) ===== */

.slot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.slot-overlay-content {
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 420px;
  position: relative;
}

.slot-overlay-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.75rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s;
}

.slot-overlay-close:hover {
  color: #fff;
}

.slot-overlay-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.slot-overlay-content h3 {
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.slot-overlay-content p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.slot-overlay-content .slot-cta-real {
  width: 100%;
  margin-bottom: 1rem;
}

.slot-overlay-dismiss {
  background: none !important;
  border: none !important;
  color: #6b7280 !important;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.slot-overlay-dismiss:hover {
  color: #9ca3af !important;
}

/* ===== SIDEBAR: Featured Games ===== */

.slot-sidebar {
  background: #1a1a2e;
  border: 1px solid #2d2d44;
  border-radius: 10px;
  overflow: hidden;
  align-self: start;
}

.slot-sidebar-header {
  padding: 0.75rem 1rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.slot-sidebar-games {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem;
}

.slot-sidebar-game {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.slot-sidebar-game:hover {
  background: rgba(255, 255, 255, 0.08);
}

.slot-sidebar-game img {
  width: 72px !important;
  height: 48px !important;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  margin: 0 !important;
}

.slot-sidebar-game-name {
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== INFO TABLE ===== */

.slot-info-section {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2d2d44;
}

.slot-info-header {
  padding: 0.65rem 1rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.slot-info-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  background: #1a1a2e;
}

.slot-info-cell {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #2d2d44;
  border-right: 1px solid #2d2d44;
}

.slot-info-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.slot-info-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.slot-info-link {
  color: #f87171 !important;
  text-decoration: none !important;
  font-weight: 600;
}

.slot-info-link:hover {
  text-decoration: underline !important;
  color: #ef4444 !important;
}

.slot-stars-sm {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ===== THEME TAGS ===== */

.slot-themes-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0 0.25rem;
}

.slot-themes-label {
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 600;
}

.slot-theme-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: #1a1a2e;
  border: 1px solid #2d2d44;
  border-radius: 20px;
  color: #d1d5db !important;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s;
}

.slot-theme-badge:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff !important;
}

/* ===== DESCRIPTION ===== */

.slot-page .slot-description {
  background: #1a1a2e;
  border: 1px solid #2d2d44;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #d1d5db;
  font-size: 0.95rem;
}

.slot-page .slot-description h2,
.slot-page .slot-description h3 {
  color: #fff;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.slot-page .slot-description h2:first-child,
.slot-page .slot-description h3:first-child {
  margin-top: 0;
}

.slot-page .slot-description p {
  margin-bottom: 0.75rem;
}

.slot-page .slot-description ul,
.slot-page .slot-description ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.slot-page .slot-description strong {
  color: #fff;
}

/* ===== BOTTOM CTA ===== */

.slot-bottom-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.slot-bottom-cta .slot-cta-lg {
  min-width: 320px;
}

/* ===== PROVIDER SECTION ===== */

.slot-page .slot-provider-section {
  text-align: center;
  padding: 1.25rem 0;
  color: #6b7280;
  font-size: 0.9rem;
  border-top: 1px solid #2d2d44;
}

.slot-page .slot-provider-section a {
  color: #f87171 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.slot-page .slot-provider-section a:hover {
  text-decoration: underline !important;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .slot-hero-row {
    grid-template-columns: 1fr;
  }

  .slot-sidebar-games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .slot-page {
    padding: 0.75rem 0.5rem 2rem;
  }

  .slot-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
  }

  .slot-page .slot-title {
    font-size: 1.1rem !important;
  }

  .slot-cta {
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .slot-cta-lg {
    padding: 0.85rem 1.5rem;
  }

  .slot-thumb-ctas {
    gap: 0.75rem;
    padding: 1rem;
  }

  .slot-info-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .slot-bottom-cta .slot-cta-lg {
    min-width: auto;
    width: 100%;
  }

  .slot-sidebar-games {
    grid-template-columns: 1fr 1fr;
  }

  .slot-overlay-content {
    padding: 1.5rem 1rem;
  }

  .slot-overlay-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .slot-info-table {
    grid-template-columns: 1fr;
  }

  .slot-cta {
    min-width: 180px;
    font-size: 0.85rem;
  }
}
