/* ============================================
   WELLNESS CREATORS — Concurso / Reality Show
   ============================================ */

/* ---------- Variables (extends main palette) ---------- */
:root {
  --color-primary: #0f3460;
  --color-primary-dark: #0a2647;
  --color-primary-light: #e8eef5;
  --color-accent: #c4a882;
  --color-accent-dark: #a88b6a;
  --color-accent-light: #f5efe8;
  --color-gold: #FFD700;
  --color-silver: #C0C0C0;
  --color-bronze: #CD7F32;

  --color-text: #1a2332;
  --color-text-secondary: #5a6a7e;
  --color-text-light: #8896a7;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-bg-dark: #0a2647;
  --color-border: #e4ddd4;

  --team-constancia: #2a9d8f;
  --team-disciplina: #e9c46a;
  --team-foco: #e63946;
  --team-evolucao: #457b9d;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 38, 71, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.header__logo span {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--color-accent);
}

/* ---------- Section Base ---------- */
.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section { padding: 100px 0; }
}

.section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196, 168, 130, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section__title--center {
  text-align: center;
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   HERO
   ============================================ */
.hero-concurso {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, #1a3a5c 70%, var(--color-primary-dark) 100%);
  overflow: hidden;
  text-align: center;
}

.hero-concurso__shimmer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 168, 130, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 168, 130, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-concurso__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-concurso__particles::before,
.hero-concurso__particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-concurso__particles::before {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.hero-concurso__particles::after {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

.hero-concurso__content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 80px;
}

.hero-concurso__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(196, 168, 130, 0.4);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-concurso__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-concurso__title span {
  display: block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-concurso__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-concurso__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.hero-concurso__status .pulse {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-concurso__status .pulse--soon {
  background: var(--color-accent);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-concurso__dates {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}

.hero-concurso__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  border-color: var(--color-accent);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 168, 130, 0.4);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   EQUIPES / PARTICIPANTES
   ============================================ */
.equipes {
  background: var(--color-bg);
}

.equipes__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .equipes__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .equipes__grid { grid-template-columns: repeat(4, 1fr); }
}

.equipe-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.equipe-block:hover {
  box-shadow: var(--shadow-lg);
}

.equipe-block__header {
  padding: 20px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.equipe-block__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.equipe-block__members {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.participant-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  transition: all var(--transition);
  position: relative;
}

.participant-card--clickable {
  cursor: pointer;
}

.participant-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.participant-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
}

.participant-card__info {
  flex: 1;
  min-width: 0;
}

.participant-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant-card__ig {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.participant-card__ig a {
  color: var(--color-primary);
  transition: color var(--transition);
}

.participant-card__ig a:hover {
  color: var(--color-accent);
}

.participant-card__rank {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
}

.participant-card__rank--gold { background: var(--color-gold); color: #1a2332; }
.participant-card__rank--silver { background: var(--color-silver); color: #1a2332; }
.participant-card__rank--bronze { background: var(--color-bronze); color: #fff; }

/* ============================================
   CRONOGRAMA / TIMELINE
   ============================================ */
.cronograma {
  background: var(--color-bg-alt);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-border);
  border: 3px solid var(--color-bg-alt);
  z-index: 1;
}

.timeline-item--done .timeline-item__dot {
  background: #10b981;
}

.timeline-item--active .timeline-item__dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(196, 168, 130, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(196, 168, 130, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(196, 168, 130, 0); }
}

.timeline-item--future {
  opacity: 0.5;
}

.timeline-item__content {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--transition);
}

.timeline-item--active .timeline-item__content {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.timeline-item__header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-item__week {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.timeline-item__type {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.timeline-item__type--equipe {
  background: rgba(196, 168, 130, 0.15);
  color: var(--color-accent-dark);
}

.timeline-item__type--individual {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.timeline-item__live {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #fee2e2;
  color: #dc2626;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.timeline-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.timeline-item__dates {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.timeline-item__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   RANKING / LEADERBOARD
   ============================================ */
.ranking {
  background: var(--color-bg);
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  padding: 0 20px;
}

.podium__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition);
}

.podium__item--1 { order: 2; }
.podium__item--2 { order: 1; }
.podium__item--3 { order: 3; }

.podium__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 4px solid var(--color-border);
}

.podium__item--1 .podium__photo {
  width: 96px;
  height: 96px;
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.podium__item--2 .podium__photo {
  border-color: var(--color-silver);
}

.podium__item--3 .podium__photo {
  border-color: var(--color-bronze);
}

.podium__medal {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.podium__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.podium__points {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.podium__bar {
  width: 80px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-top: 12px;
}

.podium__item--1 .podium__bar {
  height: 100px;
  background: linear-gradient(180deg, var(--color-gold), #b8860b);
}

.podium__item--2 .podium__bar {
  height: 72px;
  background: linear-gradient(180deg, var(--color-silver), #808080);
}

.podium__item--3 .podium__bar {
  height: 52px;
  background: linear-gradient(180deg, var(--color-bronze), #8B4513);
}

@media (min-width: 600px) {
  .podium__bar { width: 100px; }
  .podium__item--1 .podium__bar { height: 120px; }
  .podium__item--2 .podium__bar { height: 88px; }
  .podium__item--3 .podium__bar { height: 64px; }
}

.ranking__update {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.leaderboard {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.leaderboard thead {
  background: var(--color-bg-dark);
  color: #fff;
}

.leaderboard th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 12px;
  text-align: center;
  white-space: nowrap;
}

.leaderboard th:nth-child(2) {
  text-align: left;
}

.leaderboard td {
  padding: 12px;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.leaderboard td:nth-child(2) {
  text-align: left;
}

.leaderboard tr:last-child td {
  border-bottom: none;
}

.leaderboard tr:hover {
  background: var(--color-bg-alt);
}

.leaderboard__pos {
  font-weight: 800;
  color: var(--color-primary);
}

.leaderboard__pos--1 { color: var(--color-gold); }
.leaderboard__pos--2 { color: var(--color-silver); }
.leaderboard__pos--3 { color: var(--color-bronze); }

.leaderboard__player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaderboard__player img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.leaderboard__player-name {
  font-weight: 600;
}

.leaderboard__player-team {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.leaderboard__total {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1rem;
}

.leaderboard__week-pts {
  font-weight: 500;
  color: var(--color-text-secondary);
}

.leaderboard__week-pts--empty {
  color: var(--color-border);
}

.leaderboard--top3-row {
  background: var(--color-accent-light);
}

/* Mobile leaderboard */
.leaderboard-mobile {
  display: none;
}

@media (max-width: 767px) {
  .leaderboard { display: none; }
  .leaderboard-mobile { display: block; }
}

.leaderboard-mobile__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: background var(--transition);
}

.leaderboard-mobile__item:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.leaderboard-mobile__item:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-bottom: none;
}

.leaderboard-mobile__pos {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  flex-shrink: 0;
}

.leaderboard-mobile__pos--1 { background: var(--color-gold); color: #1a2332; }
.leaderboard-mobile__pos--2 { background: var(--color-silver); color: #1a2332; }
.leaderboard-mobile__pos--3 { background: var(--color-bronze); color: #fff; }

.leaderboard-mobile__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.leaderboard-mobile__info {
  flex: 1;
}

.leaderboard-mobile__name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.leaderboard-mobile__team {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.leaderboard-mobile__points {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* ============================================
   PREMIO
   ============================================ */
.premio {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
}

.premio__icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.premio__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.premio__icon--gold { border: 3px solid var(--color-gold); }
.premio__icon--silver { border: 3px solid var(--color-silver); }
.premio__icon--bronze { border: 3px solid var(--color-bronze); }

.premio__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.premio__date {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(196, 168, 130, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.btn--white {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   REGRAS
   ============================================ */
.regras {
  background: var(--color-bg-alt);
}

.regras__grid {
  display: grid;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.regra-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.regra-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.regra-item__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.regra-item__text strong {
  color: var(--color-text);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-concurso {
  background: var(--color-bg-dark);
  padding: 48px 0;
  text-align: center;
}

.footer-concurso__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-concurso__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-concurso__links a:hover {
  color: var(--color-accent);
}

.footer-concurso__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-light);
  transition: all var(--transition);
  z-index: 1;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 32px;
  text-align: center;
}

.modal__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(196, 168, 130, 0.3);
}

.modal__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.modal__team {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal__ig {
  margin-bottom: 16px;
}

.modal__ig a {
  font-size: 0.9375rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition);
}

.modal__ig a:hover {
  color: var(--color-accent);
}

.modal__bio {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-height: 200px;
  overflow-y: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.count-up {
  transition: all 0.8s ease;
}
