/* style.css */
/* Sistema de Design Premium para RRNBA Quest */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Press+Start+2P&display=swap');

:root {
  --bg-dark: #06020c;
  --bg-deep: #0b051b;
  --bg-card: rgba(27, 18, 54, 0.6);
  --bg-card-hover: rgba(43, 30, 84, 0.85);
  --border-color: #35215d;
  --text-light: #f3efff;
  --text-muted: #b0a4e3;
  
  /* Cores Neon RPG */
  --neon-pink: #ff007f;
  --neon-cyan: #00d9ff;
  --neon-green: #39ff14;
  --gold: #ffd700;
  --gold-dark: #b89600;
  
  /* Sombra com brilho */
  --shadow-pink: 0 0 15px rgba(255, 0, 127, 0.4);
  --shadow-cyan: 0 0 15px rgba(0, 217, 255, 0.4);
  --shadow-gold: 0 0 15px rgba(255, 215, 0, 0.4);
  --shadow-green: 0 0 15px rgba(57, 255, 20, 0.4);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(90, 59, 163, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 127, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #0b051b 0%, #06020c 100%);
  background-attachment: fixed;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar Customizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
  box-shadow: var(--shadow-pink);
}

/* Container Global */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tipografia e Títulos */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pixel-font {
  font-family: 'Press Start 2P', cursive;
  line-height: 1.6;
}

.text-gradient-pink {
  background: linear-gradient(135deg, #ff007f 0%, #ff5e62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00d9ff 0%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 10px;
  border: none;
}

.btn-primary {
  background-color: var(--neon-pink);
  color: #fff;
  border-bottom: 4px solid #a10050;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5), var(--shadow-pink);
}

.btn-primary:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(90, 59, 163, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 2, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90, 59, 163, 0.3);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 10px 0;
  background: rgba(6, 2, 12, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.logo-tag {
  font-size: 8px;
  color: var(--neon-cyan);
  display: block;
  font-family: 'Press Start 2P', cursive;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn-mobile {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--neon-pink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.05);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(90, 59, 163, 0.3);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  background: var(--bg-dark);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.2);
  pointer-events: none;
  z-index: 2;
}

/* Sessão Recursos / Como Funciona */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-label {
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.workflow-section {
  padding: 80px 0;
  position: relative;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.workflow-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workflow-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
  border-color: var(--neon-pink);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 127, 0.2);
}

.workflow-step {
  position: absolute;
  top: -15px;
  left: 24px;
  background: var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  color: var(--neon-cyan);
  border: 2px solid var(--bg-dark);
  box-shadow: var(--shadow-cyan);
}

.workflow-card:hover .workflow-step {
  background: var(--neon-pink);
  color: #fff;
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-pink);
}

.workflow-icon {
  font-size: 40px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.workflow-card-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.workflow-card-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Galeria de Capturas (Carrossel) */
.gallery-section {
  padding: 80px 0;
  background: rgba(12, 7, 30, 0.4);
}

.gallery-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-tab.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 217, 255, 0.08);
  box-shadow: inset 0 0 15px rgba(0, 217, 255, 0.1), var(--shadow-cyan);
  transform: scale(1.02);
}

.gallery-tab-num {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-tab.active .gallery-tab-num {
  color: var(--neon-cyan);
  background: rgba(0, 217, 255, 0.2);
}

.gallery-tab-content h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 2px;
}

.gallery-tab-content p {
  font-size: 12px;
  color: var(--text-muted);
}

.gallery-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9/19.5;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  border: 4px solid #332d44;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.8),
    0 0 40px rgba(90, 59, 163, 0.4),
    inset 0 0 15px rgba(255,255,255,0.1);
  overflow: hidden;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  border-radius: 30px;
  overflow: hidden;
}

.screenshot-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(0.95);
}

.screenshot-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 10;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Painel do Oráculo (Integração) */
.oracle-section {
  padding: 80px 0;
  position: relative;
}

.oracle-card {
  background: linear-gradient(135deg, rgba(22, 14, 50, 0.85) 0%, rgba(11, 5, 27, 0.95) 100%);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(90, 59, 163, 0.3);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.oracle-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 219, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.oracle-info h3 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.oracle-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}

.oracle-status-widget {
  background: rgba(12, 7, 30, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--neon-pink);
  box-shadow: var(--shadow-pink);
}

.oracle-status-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  color: var(--neon-pink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.oracle-status-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oracle-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.oracle-status-label {
  color: var(--text-muted);
}

.oracle-status-val {
  font-weight: 700;
}

.status-online {
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(57, 255, 20, 0.4);
}

.status-active {
  color: var(--gold);
}

/* Regras da Guilda (Honor e Penalidade) */
.rules-section {
  padding: 80px 0;
}

.rules-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(255, 215, 0, 0.05);
  backdrop-filter: blur(12px);
  position: relative;
}

.rules-wrapper::after {
  content: '🛡️';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 80px;
  opacity: 0.04;
}

.rules-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 20px;
}

.rules-header-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 18px;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rule-item h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rule-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.penalty-alert {
  margin-top: 36px;
  background: rgba(255, 0, 85, 0.08);
  border: 1px solid rgba(255, 0, 85, 0.3);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.penalty-alert-icon {
  font-size: 28px;
  animation: pulse-red 2s infinite;
}

.penalty-alert-text {
  font-size: 14px;
}

.penalty-alert-text strong {
  color: #ff0055;
  text-shadow: 0 0 5px rgba(255, 0, 85, 0.3);
}

/* FAQ (Acordeão) */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--neon-cyan);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  background: rgba(12, 7, 30, 0.3);
}

.faq-toggle {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--neon-cyan);
}

.faq-item.active {
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--neon-pink);
}

/* Call to Action Final */
.cta-section {
  padding: 100px 0;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(90, 59, 163, 0.1) 100%);
}

.cta-box {
  background: radial-gradient(circle at 50% 50%, rgba(90, 59, 163, 0.25) 0%, transparent 70%);
  padding: 48px 24px;
  border-radius: 30px;
}

.cta-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #030106;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(90, 59, 163, 0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-legal a:hover {
  color: #fff;
}

/* Animações */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-red {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsividade */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-info {
    order: 2;
  }
  
  .gallery-showcase {
    order: 1;
    margin-bottom: 20px;
  }
  
  .gallery-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-tab {
    flex: 1 1 45%;
  }
  
  .oracle-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-smooth);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-btn-mobile {
    display: block;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-tab {
    flex: 1 1 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}
