/* ==========================================================================
   OMEGAMU PLAYERS - SEASON 2 | ESTILOS OFICIAIS (CSS3 PURO)
   ========================================================================== */

/* 1. Reset & Variáveis Globais */
:root {
  --color-bg: #030712;
  --color-card-bg: rgba(15, 23, 42, 0.85);
  --color-gold-start: #fffbeb;
  --color-gold-mid: #fbbf24;
  --color-gold-deep: #d97706;
  --color-gold-dark: #92400e;
  --color-blue-silver-start: #ffffff;
  --color-blue-silver-mid: #bae6fd;
  --color-blue-glow: #38bdf8;
  --color-blue-deep: #1d4ed8;
  --color-whatsapp-primary: #25d366;
  --color-whatsapp-hover: #4ade80;
  --color-whatsapp-dark: #15803d;
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: #2563eb;
  color: #ffffff;
}

/* 2. Utilitários Tipográficos */
.font-medieval {
  font-family: var(--font-display);
}

.silver-blue-gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #bae6fd 28%, #38bdf8 68%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
  background: linear-gradient(180deg, #fffbeb 0%, #fbbf24 40%, #d97706 75%, #92400e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-gold {
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.7), 0 0 20px rgba(202, 138, 4, 0.4);
}

.glow-blue {
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.8), 0 0 28px rgba(37, 99, 235, 0.55);
}

/* 3. Estrutura da Landing Page (Tela Única) */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Fundo com guerreiro, dragão e castelo */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: brightness(0.85) contrast(1.1);
  animation: etherealPulse 6s ease-in-out infinite;
}

.hero-overlay-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, rgba(3, 7, 18, 0.65) 60%, rgba(3, 7, 18, 0.96) 100%);
}

.hero-overlay-linear {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.8) 0%, transparent 40%, rgba(3, 7, 18, 0.95) 100%);
}

.ambient-light-blue {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 20rem;
  height: 20rem;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.ambient-light-gold {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
}

/* 4. Topo Mínimo */
.top-header {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-omega {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-players {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fbbf24;
  text-transform: uppercase;
}

.btn-config {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-config:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.5);
}

.btn-top-site {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 58, 138, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-top-site:hover {
  background: rgba(37, 99, 235, 0.6);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* 5. Área Central da Sessão Principal */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 54rem;
  width: 100%;
  margin: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Brasão / Emblema */
.crest-container {
  position: relative;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crest-ring {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 9999px;
  padding: 4px;
  background: linear-gradient(180deg, #fbbf24 0%, #3b82f6 50%, #d97706 100%);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.75);
}

@media (min-width: 640px) {
  .crest-ring {
    width: 9.5rem;
    height: 9.5rem;
  }
}

.crest-inner {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.85));
}

/* Título e Subtítulo */
.main-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

@media (min-width: 640px) {
  .main-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 4.25rem;
  }
}

.season-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.divider-line {
  height: 1px;
  width: 2rem;
  background: linear-gradient(90deg, transparent, #fbbf24);
}

.divider-line.right {
  background: linear-gradient(90deg, #fbbf24, transparent);
}

/* Frase Épica Solicitada */
.epic-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.02em;
  margin-top: 1rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .epic-headline {
    font-size: 2rem;
  }
}

.epic-description {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  max-width: 36rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .epic-description {
    font-size: 1rem;
  }
}

/* 6. BOTÃO DE WHATSAPP ÉPICO LUMINOSO */
.cta-box {
  margin-top: 1.75rem;
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-whatsapp-epic {
  width: 100%;
  padding: 1.15rem 1.75rem;
  border-radius: 0.875rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #25d366 0%, #15803d 60%, #14532d 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.55), 0 10px 24px rgba(0, 0, 0, 0.8), inset 0 2px 2px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.btn-whatsapp-epic:hover {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 60%, #15803d 100%);
  border-color: #fde047;
  box-shadow: 0 0 45px rgba(74, 222, 128, 0.75), 0 14px 30px rgba(0, 0, 0, 0.9), inset 0 2px 3px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-whatsapp-epic:active {
  transform: translateY(1px) scale(0.99);
}

.whatsapp-svg-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.btn-whatsapp-epic:hover .whatsapp-svg-icon {
  transform: scale(1.1);
}

.arrow-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.btn-whatsapp-epic:hover .arrow-icon {
  transform: translateX(4px);
}

/* Botão do Site Oficial */
.btn-site-oficial {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.95rem 1.5rem;
  border-radius: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #bae6fd;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.btn-site-oficial:hover {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.85) 0%, rgba(30, 58, 138, 0.95) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5), 0 8px 24px rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.btn-site-oficial:active {
  transform: translateY(1px);
}

.globe-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Aviso de Lançamento */
.notice-launch {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #fde68a;
}

.bell-icon {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  animation: bellBounce 2s infinite;
}

/* Prova Social */
.social-proof-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.8);
  font-size: 0.75rem;
  color: #cbd5e1;
}

.users-icon {
  width: 0.9rem;
  height: 0.9rem;
  color: #34d399;
}

.social-count {
  font-weight: 800;
  color: #ffffff;
}

.badge-tag {
  color: #fbbf24;
  font-weight: 600;
}

/* 7. Três Pilares da Sessão */
.pillars-ribbon {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 36rem;
  width: 100%;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  padding-top: 1.25rem;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.25rem;
}

.pillar-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.pillar-subtitle {
  font-size: 0.675rem;
  color: #94a3b8;
}

/* 8. Rodapé Mínimo */
.bottom-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.725rem;
  color: #64748b;
}

/* 9. Modal de Configuração do Link */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  background: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  animation: modalIn 0.25s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 0.375rem;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: #1e293b;
}

.modal-crest {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  padding: 3px;
  background: linear-gradient(135deg, #10b981, #f59e0b);
}

.modal-crest-inner {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
  margin-top: 0.25rem;
}

.modal-desc {
  font-size: 0.825rem;
  color: #cbd5e1;
  margin-top: 0.75rem;
  line-height: 1.45;
}

.stats-grid {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid #1e293b;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.65rem;
  color: #94a3b8;
}

.stat-val {
  font-size: 0.85rem;
  font-weight: 800;
}

.stat-val.gold { color: #fcd34d; }
.stat-val.green { color: #4ade80; }
.stat-val.blue { color: #38bdf8; }

.modal-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-modal-primary {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #25d366 0%, #15803d 100%);
  border: 1.5px solid #f59e0b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  padding-top: 0.5rem;
  border-top: 1px solid #1e293b;
}

.modal-link-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
}

.modal-link-btn:hover {
  color: #fbbf24;
}

.config-form {
  margin-top: 0.75rem;
  text-align: left;
  background: #030712;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #1e293b;
}

.config-form label {
  display: block;
  font-size: 0.7rem;
  color: #fcd34d;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.config-form input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  color: #ffffff;
  font-size: 0.75rem;
}

.config-form input:focus {
  outline: none;
  border-color: #fbbf24;
}

.config-form-btns {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.btn-save-link {
  background: #f59e0b;
  color: #030712;
  border: none;
  border-radius: 0.375rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-save-link:hover {
  background: #fbbf24;
}

/* Toast de confirmação */
.toast-msg {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: #0f172a;
  border: 1px solid #10b981;
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.2s ease;
}

.toast-msg.show {
  display: flex;
}

/* Animações */
@keyframes etherealPulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1.03);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes bellBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
