@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========== Variáveis ========== */
:root {
  --background: 220 20% 4%;
  --foreground: 40 50% 90%;
  --card: 220 15% 8%;
  --card-foreground: 40 50% 90%;
  --primary: 42 90% 55%;
  --primary-foreground: 220 20% 4%;
  --secondary: 220 15% 14%;
  --muted: 220 15% 12%;
  --muted-foreground: 220 10% 55%;
  --border: 220 15% 16%;
  --radius: 0.75rem;
}

/* ========== Base ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.text-gold-gradient {
  background: linear-gradient(135deg, hsl(42 90% 55%), hsl(35 85% 65%), hsl(42 90% 55%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Layout principal (page) ========== */
.champion-page {
  position: relative;
  padding: 6rem 0 8rem;
  z-index: 10;
}

.champion-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Efeito de fundo */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at top,
    hsl(42, 90%, 55%, 0.05) 0%,
    transparent 65%
  );
}

/* ========== Review Widget Card ========== */
.review-widget {
  background: hsl(var(--card) / 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 45px hsl(0 0% 0% / 0.35);
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .review-widget {
    padding: 1.5rem;
  }
}

/* Header */
.review-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .review-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.review-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.review-brand img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
}

.review-brand h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.review-badges-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 640px) {
  .review-badges-rating {
    justify-content: space-between;
    width: 100%;
  }
}

.review-badges {
  display: flex;
  gap: 0.75rem;
}

.review-badge {
  background: hsl(var(--muted) / 0.7);
  border: 1px solid hsl(var(--border) / 0.8);
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-badge .badge-label {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.review-badge .badge-value {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}

.review-badge.badge-bonus .badge-value {
  color: hsl(45 100% 50%);
}

.review-badge.badge-rakeback .badge-value {
  color: hsl(200 90% 50%);
}

.review-rating {
  text-align: left;
}

@media (min-width: 640px) {
  .review-rating {
    text-align: right;
  }
}

.review-rating .rating-label {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.review-rating .rating-stars {
  color: hsl(45 100% 50%);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
  letter-spacing: 0.1em;
}

.review-rating .rating-number {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}

/* Columns Section */
.review-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .review-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .review-columns {
    grid-template-columns: 1fr 1.1fr 1fr;
  }
}

.review-column-title {
  font-size: 1.1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
  padding-bottom: 0.5rem;
}

/* Col 1: Características */
.char-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.char-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 1px dashed hsl(var(--border) / 0.5);
  padding-bottom: 0.65rem;
}

.char-label {
  color: hsl(var(--muted-foreground));
}

.char-value {
  font-weight: 600;
}

.char-platforms {
  display: flex;
  gap: 0.4rem;
}

.char-platforms svg {
  color: hsl(var(--foreground) / 0.8);
}

/* Col 2: Principais Fatores */
.factors-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.factor-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.factor-item svg {
  color: hsl(140 70% 45%);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Col 3: Nossa Avaliação */
.ratings-box {
  background: hsl(var(--muted) / 0.25);
  border: 1px solid hsl(var(--border) / 0.4);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rating-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
}

.rating-bar-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground));
}

.rating-bar-label svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.rating-bar-score {
  font-weight: 700;
}

.rating-bar-track {
  height: 5px;
  background: hsl(var(--muted) / 0.8);
  border-radius: 9999px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(to right, hsl(var(--primary)), hsl(45 100% 50%));
  border-radius: 9999px;
}

/* Bottom elements */
.review-footer-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .review-footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.brazil-accept {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(140 85% 45%);
}

.review-code-box {
  background: hsl(var(--muted) / 0.5);
  border: 1px dashed hsl(var(--primary) / 0.5);
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-code-box:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--muted) / 0.8);
}

.review-code-box code {
  font-family: monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: hsl(var(--primary));
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .review-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-actions .btn {
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.btn-primary-register {
  background: linear-gradient(135deg, hsl(350 80% 50%), hsl(355 80% 45%));
  color: #fff !important;
  box-shadow: 0 4px 15px hsl(350 80% 50% / 0.3);
}

.btn-primary-register:hover {
  background: linear-gradient(135deg, hsl(350 80% 55%), hsl(355 80% 50%));
  box-shadow: 0 6px 20px hsl(350 80% 50% / 0.5);
  transform: translateY(-2px);
}

.btn-secondary-contact {
  background: linear-gradient(135deg, hsl(140 70% 45%), hsl(140 70% 40%));
  color: #fff !important;
  box-shadow: 0 4px 15px hsl(140 70% 45% / 0.3);
}

.btn-secondary-contact:hover {
  background: linear-gradient(135deg, hsl(140 70% 50%), hsl(140 70% 45%));
  box-shadow: 0 6px 20px hsl(140 70% 45% / 0.5);
  transform: translateY(-2px);
}

.btn-tertiary-link {
  background: transparent;
  border: 1px solid hsl(var(--border)) !important;
  color: hsl(var(--foreground)) !important;
}

.btn-tertiary-link:hover {
  background: hsl(var(--foreground) / 0.05);
  border-color: hsl(var(--foreground)) !important;
  transform: translateY(-2px);
}

/* ========== Rewards section ========== */
.rewards-card {
  background: hsl(var(--card) / 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 45px hsl(0 0% 0% / 0.35);
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .rewards-card {
    padding: 1.5rem;
  }
}

.rewards-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.rewards-card .caption {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.rewards-table {
  background: hsl(var(--card) / 0.6);
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  overflow: hidden;
}

.rewards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.rewards-row + .rewards-row {
  border-top: 1px solid hsl(var(--border) / 0.6);
}

.rewards-row .pct {
  color: hsl(var(--primary));
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}

.rewards-row .amount {
  text-align: right;
  color: hsl(var(--foreground) / 0.8);
  font-weight: 500;
}

.rewards-note {
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ========== Description section ========== */
.description-card {
  background: hsl(var(--card) / 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 45px hsl(0 0% 0% / 0.35);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .description-card {
    padding: 1.5rem;
  }
}

.description-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.description-card p {
  color: hsl(var(--foreground) / 0.8);
  font-size: 1.05rem;
}

.description-card .highlight {
  color: hsl(var(--primary));
  font-weight: 700;
}
