/* Slot RTP Database - Shared Page Styles */
/* For game pages, provider pages, and casino pages */

/* Breadcrumbs */
.breadcrumbs a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Search Box */
.search-box {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95em;
  background: rgb(0 0 0 / .3);
  backdrop-filter: blur(10px);
  border: 2px solid rgb(255 255 255 / .1);
  border-radius: 12px;
  color: #fff;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  background: rgb(0 0 0 / .4);
  border-color: rgb(139 92 246 / .5);
  box-shadow: 0 0 0 3px rgb(139 92 246 / .1);
}

.search-box::placeholder {
  color: #64748b;
}

/* Slot Detail Page - Game Pages */
.slot-detail-hero {
  margin-bottom: 40px;
  text-align: center;
}

.slot-image-large {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 30px;
  display: block;
}

.provider-badge-large {
  display: inline-block;
  background: #2d3349;
  color: #a0a4b8;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-decoration: none;
  cursor: pointer;
}

.provider-badge-large:hover {
  background: #3d4359;
  color: #ffffff;
}

.rtp-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.rtp-overview-card {
  background: #1a1d2e;
  border: 2px solid #2d3349;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.rtp-overview-label {
  font-size: 0.85rem;
  color: #8b8fa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-weight: 600;
}

.rtp-overview-value {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.rtp-overview-value.stated {
  color: #ffffff;
}

.rtp-overview-value.bad {
  color: #ef4444;
}

.rtp-overview-value.good {
  color: #10b981;
}

.rtp-overview-value.neutral {
  color: #f59e0b;
}

.test-sessions-section {
  margin: 50px 0;
}

.test-sessions-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #ffffff;
}

.test-session-card {
  background: #1a1d2e;
  border: 1px solid #2d3349;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #2d3349;
}

.casino-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.test-date {
  color: #8b8fa3;
  font-size: 0.9rem;
}

/* Free spins badge */
.free-spins-badge-wrapper {
  position: absolute;
  top: 85px;
  right: 110px;
  z-index: 10;
}

.session-stats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
}

.session-stat {
  text-align: center;
}

.session-stat-label {
  font-size: 0.75rem;
  color: #8b8fa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.session-stat-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.back-to-database {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1d2e;
  border: 1px solid #2d3349;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 40px;
  transition: all 0.2s;
}

.back-to-database:hover {
  background: #2d3349;
  border-color: #4d5369;
}

.back-to-database::before {
  content: '←';
  font-size: 1.2rem;
}

/* Provider Pages */
.provider-hero {
  background: #1a1d2e;
  border: 1px solid #2d3349;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.provider-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.provider-badge-hero {
  display: inline-block;
  background: #2d3349;
  color: #a0a4b8;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.provider-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.provider-stat-card {
  background: #0f1117;
  border: 1px solid #2d3349;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.provider-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.provider-stat-label {
  font-size: 0.85rem;
  color: #8b8fa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slots-section {
  margin: 50px 0;
}

.slots-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Casino Pages */
.casino-hero {
  background: #1a1d2e;
  border: 1px solid #2d3349;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.casino-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.casino-hero p {
  font-size: 1.1rem;
  color: #8b8fa3;
  margin-bottom: 25px;
}

.casino-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.casino-stat-card {
  background: #0f1117;
  border: 1px solid #2d3349;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.casino-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.casino-stat-label {
  font-size: 0.85rem;
  color: #8b8fa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f1117;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  margin-top: 10px;
}

.view-review-btn:hover {
  background: #e0e0e0;
}

.view-review-btn::after {
  content: '→';
  font-size: 1.2rem;
}

.slots-tested-section {
  margin: 50px 0;
}

.slots-tested-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Shared: Slot Grid (used on provider and casino pages) */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.slot-card {
  background: #1a1d2e;
  border: 1px solid #2d3349;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: #4d5369;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.slot-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.slot-image-container {
  position: relative;
}

.performance-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.performance-indicator.good {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.performance-indicator.bad {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.performance-indicator.neutral {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.slot-content {
  padding: 24px;
}

.slot-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.slot-provider {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #a0a4b8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.slot-rtp-display {
  margin-top: 15px;
}

.slot-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #2d3349;
  font-size: 0.9rem;
}

.slot-rtp-row:last-child {
  border-bottom: none;
}

.rtp-label {
  color: #8b8fa3;
  font-weight: 500;
}

.rtp-value {
  color: #ffffff;
  font-weight: 600;
}

.rtp-highlight.good {
  color: #10b981;
}

.rtp-highlight.bad {
  color: #ef4444;
}

.rtp-highlight.neutral {
  color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 1108px) {
  .free-spins-badge-wrapper {
    position: static;
    margin-top: 10px;
  }

  .free-spins-badge-wrapper img {
    width: 70px !important;
  }
}

@media (max-width: 768px) {
  .slot-detail-hero h1 {
    font-size: 1.8rem;
  }

  .rtp-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .rtp-overview-value {
    font-size: 2rem;
  }

  .session-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .session-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .provider-hero,
  .casino-hero {
    padding: 25px 20px;
  }

  .provider-hero h1,
  .casino-hero h1 {
    font-size: 1.8rem;
  }

  .slot-grid {
    grid-template-columns: 1fr;
  }
}
