/* ==========================================================================
   Akasha Mística - CSS de Alta Estética para Página "Em Construção"
   Tema Customizado: Dark Ruby & Crimson (Red Theme)
   ========================================================================== */

/* Importação de Fontes Premium do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* Variáveis do Sistema de Design (Tema Místico Dark Ruby & Crimson) */
:root {
  --bg-dark: #070103;
  --bg-gradient: radial-gradient(circle at center, #26050b 0%, #050002 100%);
  --accent-red: #e32222; /* A cor vermelha vibrante solicitada pelo usuário */
  --accent-light: #ff7b7b;
  --accent-dark: #990c0c;
  
  /* Variáveis de mapeamento de compatibilidade (Dourado Original para Texto) */
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa7c11 100%);
  --gold-glow: 0 0 15px rgba(212, 175, 55, 0.4);
  --purple-glow: 0 0 25px rgba(138, 43, 226, 0.15);
  
  --text-light: #f7f3f4;
  --text-muted: #d4bebf;
  --glass-bg: rgba(18, 4, 6, 0.65);
  --glass-border: rgba(227, 34, 34, 0.2);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Elementos de Fundo (Efeitos Cósmicos & Místicos)
   -------------------------------------------------------------------------- */

/* Nebulosas Luminosas */
.nebula {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.nebula-purple {
  top: 15%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  animation: floatNebula 25s ease-in-out infinite alternate;
}

.nebula-gold {
  bottom: 10%;
  right: 5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(227, 34, 34, 0.08) 0%, transparent 75%);
  filter: blur(80px);
  animation: floatNebula 30s ease-in-out infinite alternate-reverse;
}

/* Partículas de Estrelas Cintilantes */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.star {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  animation: twinkle 4s infinite ease-in-out;
}

.star-1 { top: 15%; left: 25%; width: 2px; height: 2px; animation-delay: 0s; }
.star-2 { top: 35%; left: 80%; width: 3px; height: 3px; animation-delay: 1.5s; }
.star-3 { top: 75%; left: 15%; width: 1.5px; height: 1.5px; animation-delay: 0.8s; }
.star-4 { top: 85%; left: 70%; width: 2px; height: 2px; animation-delay: 2.2s; }
.star-5 { top: 50%; left: 10%; width: 2.5px; height: 2.5px; animation-delay: 3.1s; }
.star-6 { top: 20%; left: 85%; width: 1.5px; height: 1.5px; animation-delay: 1.1s; }

/* Estrelas com Brilho Cruzado (Sparks) */
.spark {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: var(--gold-light);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  animation: floatSpark 8s infinite ease-in-out;
  pointer-events: none;
}

.spark-1 { top: 30%; left: 15%; animation-delay: 0s; }
.spark-2 { top: 60%; left: 85%; animation-delay: 3s; }
.spark-3 { top: 80%; left: 40%; animation-delay: 5.5s; }

/* --------------------------------------------------------------------------
   Container Principal (Card Glassmorphism)
   -------------------------------------------------------------------------- */
.portal-wrapper {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 780px;
  margin: 40px auto;
  padding: 50px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow), inset 0 0 30px rgba(255, 255, 255, 0.02);
  text-align: center;
  animation: fadeInCard 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Brilho sutil no contorno superior do Card */
.portal-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 34, 34, 0.5), transparent);
}

/* --------------------------------------------------------------------------
   Branding & Elemento do Logo Místico
   -------------------------------------------------------------------------- */
.logo-container {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Anel Místico Rotativo SVG */
.mystical-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: center;
  animation: rotateRing 30s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(227, 34, 34, 0.2));
}

/* Logo da Marca */
.brand-logo {
  width: 146px;
  height: 146px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(227, 34, 34, 0.4);
  box-shadow: var(--gold-glow), 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.04);
  border-color: var(--gold-light);
  box-shadow: 0 0 25px rgba(227, 34, 34, 0.7), 0 0 40px rgba(138, 43, 226, 0.15);
}

/* Typography */
.brand-name {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: 1.8rem;
  letter-spacing: 4px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 30px;
}

.divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 30px auto;
  position: relative;
}

/* O pequeno diamante no meio do divisor */
.divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  background-color: #120406;
  padding: 0 10px;
  font-size: 10px;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.page-description {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px auto;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Rodapé & Redes Sociais
   -------------------------------------------------------------------------- */
.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(227, 34, 34, 0.15);
  color: var(--text-muted);
  font-size: 18px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(227, 34, 34, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(227, 34, 34, 0.25);
}

.social-icon:hover svg {
  transform: scale(1.1);
}

.footer-copy {
  margin-top: 40px;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: rgba(212, 190, 191, 0.35);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Animações Keyframes
   -------------------------------------------------------------------------- */

/* Flutuação sutil das Nebulosas */
@keyframes floatNebula {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -40px) scale(1.15);
  }
}

/* Cintilação das Estrelas */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

/* Flutuação e desaparecimento dos Sparks */
@keyframes floatSpark {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Entrada com Fade-in e Scale-up do Card Principal */
@keyframes fadeInCard {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Rotação lenta do Anel Místico */
@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Responsividade (Design Adaptativo)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .portal-wrapper {
    padding: 40px 25px;
    margin: 20px auto;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .logo-container {
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
  }
  
  .brand-logo {
    width: 120px;
    height: 120px;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .portal-wrapper {
    padding: 30px 15px;
    border-radius: 16px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-description {
    font-size: 0.88rem;
  }
}
