/* GamblingPedia Pro - Casino Review Specific Styles */
/* Only loaded on casino review pages */

/* Casino Review Page Enhanced Styling */
.gp-casino-review .gp-article__header {
  background: linear-gradient(135deg, var(--gp-bg-secondary) 0%, var(--gp-bg-tertiary) 100%);
  padding: 2rem;
  margin: 0 auto 2rem;
  border-radius: 0.5rem;
  max-width: 800px;
}

/* Casino Quick Facts Box */
.gp-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .gp-quick-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gp-quick-fact {
  text-align: center;
}

.gp-quick-fact__label {
  display: block;
  font-size: 0.75rem;
  color: var(--gp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gp-quick-fact__value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gp-text-primary);
}

.gp-quick-fact__value--highlight {
  color: var(--gp-accent-green);
}

/* Bonus Table */
.gp-bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--gp-bg-primary);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
}

.gp-bonus-table th,
.gp-bonus-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gp-border);
}

.gp-bonus-table th {
  background: var(--gp-bg-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gp-text-secondary);
}

.gp-bonus-table tr:last-child td {
  border-bottom: none;
}

.gp-bonus-table__bonus {
  font-weight: 600;
  color: var(--gp-accent-green);
}

.gp-bonus-table__code {
  font-family: monospace;
  padding: 0.25rem 0.5rem;
  background: var(--gp-bg-tertiary);
  border-radius: 0.25rem;
}

/* Payment Methods Grid */
.gp-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.gp-payment-method {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.gp-payment-method img {
  height: 20px;
  width: auto;
}

/* Software Providers Grid */
.gp-software-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .gp-software-providers {
    grid-template-columns: repeat(6, 1fr);
  }
}

.gp-software-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.375rem;
}

.gp-software-provider img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.gp-software-provider:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Rating Breakdown */
.gp-rating-breakdown {
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.gp-rating-breakdown__title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.gp-rating-breakdown__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gp-rating-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gp-rating-item__label {
  flex: 0 0 120px;
  font-size: 0.875rem;
  color: var(--gp-text-secondary);
}

.gp-rating-item__bar {
  flex: 1;
  height: 8px;
  background: var(--gp-bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.gp-rating-item__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gp-accent-gold) 0%, #fbbf24 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.gp-rating-item__value {
  flex: 0 0 40px;
  font-weight: 600;
  text-align: right;
  color: var(--gp-text-primary);
}

/* Casino CTA Section */
.gp-casino-cta {
  background: linear-gradient(135deg, var(--gp-bg-dark) 0%, #2d2d44 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 2rem 0;
}

.gp-casino-cta__title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.gp-casino-cta__bonus {
  font-size: 1.125rem;
  color: var(--gp-accent-gold);
  margin-bottom: 1.5rem;
}

.gp-casino-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gp-accent-green);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}

.gp-casino-cta__button:hover {
  background: #15803d;
  text-decoration: none;
}

.gp-casino-cta__button:active {
  transform: scale(0.98);
}

.gp-casino-cta__terms {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

/* License Badge */
.gp-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gp-bg-secondary);
  border: 1px solid var(--gp-border);
  border-radius: 0.375rem;
}

.gp-license-badge__icon {
  width: 24px;
  height: 24px;
  color: var(--gp-accent-green);
}

.gp-license-badge__text {
  font-size: 0.875rem;
  font-weight: 500;
}

.gp-license-badge--ukgc {
  border-color: var(--gp-accent-primary);
}

.gp-license-badge--mga {
  border-color: var(--gp-accent-gold);
}

/* Game Categories */
.gp-game-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .gp-game-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gp-game-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  text-align: center;
  transition: background 0.2s;
}

.gp-game-category:hover {
  background: var(--gp-bg-tertiary);
  text-decoration: none;
}

.gp-game-category__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  color: var(--gp-accent-primary);
}

.gp-game-category__name {
  font-weight: 600;
  color: var(--gp-text-primary);
  margin-bottom: 0.25rem;
}

.gp-game-category__count {
  font-size: 0.75rem;
  color: var(--gp-text-muted);
}

/* Comparison Table */
.gp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.gp-comparison-table th,
.gp-comparison-table td {
  padding: 0.875rem 1rem;
  border: 1px solid var(--gp-border);
}

.gp-comparison-table thead th {
  background: var(--gp-bg-dark);
  color: #fff;
  font-weight: 600;
}

.gp-comparison-table tbody tr:nth-child(even) {
  background: var(--gp-bg-secondary);
}

.gp-comparison-table .check {
  color: var(--gp-accent-green);
  text-align: center;
}

.gp-comparison-table .cross {
  color: var(--gp-accent-red);
  text-align: center;
}

/* Security Features */
.gp-security-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .gp-security-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gp-security-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  text-align: center;
}

.gp-security-feature__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  color: var(--gp-accent-green);
}

.gp-security-feature__text {
  font-size: 0.75rem;
  color: var(--gp-text-secondary);
}

/* Mobile App Section */
.gp-mobile-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.gp-mobile-app__info {
  flex: 1;
  min-width: 280px;
}

.gp-mobile-app__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.gp-mobile-app__description {
  color: var(--gp-text-secondary);
  margin-bottom: 1rem;
}

.gp-mobile-app__badges {
  display: flex;
  gap: 0.75rem;
}

.gp-mobile-app__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  border-radius: 0.375rem;
  font-size: 0.75rem;
}

.gp-mobile-app__badge svg {
  width: 20px;
  height: 20px;
}

/* Support Section */
.gp-support-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.gp-support-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  text-align: center;
}

.gp-support-option__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  color: var(--gp-accent-primary);
}

.gp-support-option__name {
  font-weight: 600;
  color: var(--gp-text-primary);
  margin-bottom: 0.25rem;
}

.gp-support-option__hours {
  font-size: 0.75rem;
  color: var(--gp-text-muted);
}

.gp-support-option__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(22, 163, 74, 0.1);
  color: var(--gp-accent-green);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.gp-support-option__status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

/* Withdrawal Times */
.gp-withdrawal-times {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .gp-withdrawal-times {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gp-withdrawal-time {
  padding: 1rem;
  background: var(--gp-bg-secondary);
  border-radius: 0.5rem;
  text-align: center;
}

.gp-withdrawal-time__method {
  font-size: 0.75rem;
  color: var(--gp-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.gp-withdrawal-time__duration {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gp-text-primary);
}

.gp-withdrawal-time--fast .gp-withdrawal-time__duration {
  color: var(--gp-accent-green);
}

/* Final Verdict Section */
.gp-verdict {
  background: linear-gradient(135deg, var(--gp-bg-secondary) 0%, var(--gp-bg-tertiary) 100%);
  border: 2px solid var(--gp-border);
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 2rem 0;
}

.gp-verdict__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gp-border);
}

.gp-verdict__title {
  font-size: 1.5rem;
  margin: 0;
}

.gp-verdict__score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, var(--gp-accent-gold) 0%, #fbbf24 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.5rem;
}

.gp-verdict__content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gp-text-secondary);
}

.gp-verdict__content p:last-child {
  margin-bottom: 0;
}

/* Sticky Casino CTA (for mobile) */
@media (max-width: 767px) {
  .gp-casino-review .gp-casino-info-box {
    position: sticky;
    top: 60px;
    z-index: 100;
    margin-bottom: 1rem;
  }
}

/* Animation for rating bars */
.gp-rating-item__fill {
  animation: fillBar 1s ease-out forwards;
  transform-origin: left;
}

@keyframes fillBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
