/* ============================================
   TopCasinoTunisia - Brand Page Styles
   ============================================ */

/* === BRAND HERO === */
.brand-hero {
  background: radial-gradient(ellipse at center, #4a0008, #1a0003);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(231,0,19,0.2);
}

.brand-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 50%, rgba(231,0,19,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.brand-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-red);
}

.brand-hero-content { flex: 1; min-width: 200px; }

.brand-hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.brand-hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.brand-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.brand-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === BRAND SCORE === */
.brand-score-card {
  background: var(--color-dark-card);
  border: 1px solid rgba(231,0,19,0.25);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  min-width: 160px;
  box-shadow: var(--shadow-glow-red);
}

.score-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin: 0.5rem 0;
}

/* === BRAND CONTENT LAYOUT === */
.brand-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .brand-layout { grid-template-columns: 1fr; }
}

/* === BRAND SIDEBAR === */
.brand-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--color-dark-card);
  border: 1px solid rgba(231,0,19,0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(231,0,19,0.15);
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(231,0,19,0.15), rgba(192,57,43,0.1));
  border: 1px solid rgba(231,0,19,0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.sidebar-cta .btn { width: 100%; margin-bottom: 0.75rem; }
.sidebar-cta .btn:last-child { margin-bottom: 0; }

.info-list { list-style: none; }
.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
}
.info-list li:last-child { border-bottom: none; }
.info-label { color: rgba(255,255,255,0.5); }
.info-value { font-weight: 600; color: rgba(255,255,255,0.9); text-align: right; max-width: 55%; }

/* === BRAND CONTENT === */
.brand-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(231,0,19,0.2);
}

.brand-content h2:first-child { margin-top: 0; }

.brand-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: rgba(255,255,255,0.9);
}

.brand-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.brand-content ul, .brand-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.brand-content li {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === PROS CONS === */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

.pros-box, .cons-box {
  background: var(--color-dark-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.pros-box { border: 1px solid rgba(16,185,129,0.25); }
.cons-box { border: 1px solid rgba(231,0,19,0.2); }

.pros-title { color: #10b981; font-weight: 700; margin-bottom: 0.75rem; }
.cons-title { color: var(--color-primary); font-weight: 700; margin-bottom: 0.75rem; }

.pros-list, .cons-list { list-style: none; padding: 0; }
.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.pros-list li::before { content: '✓'; color: #10b981; flex-shrink: 0; font-weight: 700; }
.cons-list li::before { content: '✗'; color: var(--color-primary); flex-shrink: 0; font-weight: 700; }

/* === BRAND FAQ === */
.brand-faq { margin-top: 2rem; }

/* === RELATED BRANDS === */
.related-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.related-brand-card {
  background: var(--color-dark-card);
  border: 1px solid rgba(231,0,19,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: all var(--transition-slow);
  text-decoration: none;
  display: block;
}

.related-brand-card:hover {
  border-color: rgba(231,0,19,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231,0,19,0.1);
}

.related-brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  margin: 0 auto 0.75rem;
}

.related-brand-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

/* === BONUS TABLE === */
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.bonus-table th {
  background: rgba(231,0,19,0.1);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(231,0,19,0.2);
}

.bonus-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
}

.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table tr:hover td { background: rgba(231,0,19,0.03); }
