/* ============================================================
   Pirata — Landing Page CSS
   Mirrors pirata-site Vue component styles exactly.
   Selectors match the IDs/classes used in landing.php.
   ============================================================ */

/* ─── CSS variable supplement (--bg-nav not in global.css) ── */
:root {
  --bg-nav: rgba(10,10,10,0.85);
  --red-glow: rgba(220,20,60,0.6);
}

/* ─── Body lock (during cinematic intro) ─────────────────── */
body.locked { overflow: hidden; }

/* ─── Shared floating animation ──────────────────────────── */
.floating { animation: floating 3s ease-in-out infinite; }
@keyframes floating { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ─── Reveal (scroll-triggered, JS adds .active) ─────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ─── Shared section base ────────────────────────────────── */
.lp-section { position: relative; padding: 5rem 5%; }
.container-lp { max-width: 1200px; margin: 0 auto; }
.red-text   { color: var(--red-bright, #dc143c); }
.gold-text  { color: var(--gold-primary, #d4af37); }
.text-center { text-align: center; }

.lp-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.lp-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ─── Glass panel ────────────────────────────────────────── */
.glass-panel {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem;
}

/* ─── Particles ──────────────────────────────────────────── */
#particles-js {
  position: fixed; width: 100vw; height: 100vh;
  top: 0; left: 0; z-index: 0; pointer-events: none;
}

/* ─── Landing wrapper ────────────────────────────────────── */
#landing-page-wrapper { position: relative; }

/* ─── Cinematic Intro ────────────────────────────────────── */
#cinematic-intro {
  position: fixed; inset: 0; z-index: 99999;
  background: url('https://i.postimg.cc/pL818fDb/Background-escuro.png') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transition: opacity 1.5s ease, visibility 1.5s ease;
}
#cinematic-intro::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.5); pointer-events: none;
}
#cinematic-intro.intro-exiting {
  animation: introZoomExit 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.intro-text {
  font-family: 'Cinzel', serif; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 3rem); color: #fff;
  text-shadow: 0 0 20px rgba(255,0,0,1), 2px 2px 10px #000;
  letter-spacing: 2px; opacity: 0;
  animation: fadeIntro 2s forwards 0.5s;
  max-width: 900px; padding: 0 20px;
  position: relative; z-index: 2;
}
.intro-btn-wrapper {
  opacity: 0; animation: fadeIntro 2s forwards 2.5s;
  margin-top: 3rem; position: relative; z-index: 2;
}
@keyframes fadeIntro {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introZoomExit {
  0%   { opacity: 1; transform: scale(1); }
  60%  { opacity: 0.6; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.2); visibility: hidden; }
}

/* ─── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0.5rem 5%; height: 70px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-nav);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(3,3,3,0.98);
  border-bottom: 1px solid rgba(220,20,60,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.8);
}
.nav-logo img {
  height: 45px; object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.5));
  transition: transform 0.3s;
}
.nav-logo img:hover { transform: scale(1.05); }
.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--text-light, #ccc); text-decoration: none;
  font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--gold-primary, #d4af37);
  text-shadow: 0 0 10px var(--gold-light, #f3e5ab);
}
.audio-toggle {
  cursor: pointer; color: #888; font-size: 1.2rem;
  transition: 0.3s; margin-left: 1rem;
}
.audio-toggle:hover { color: var(--gold-primary, #d4af37); }
.nav-btn {
  padding: 0.5rem 1.5rem; font-size: 0.85rem; border-radius: 4px;
  animation: none; box-shadow: 0 0 10px rgba(255,0,0,0.4);
}
.nav-btn:hover { box-shadow: 0 0 20px rgba(255,0,0,0.8); transform: scale(1.02); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  #navbar { padding: 0.5rem 5%; backdrop-filter: none; background-color: rgba(12,12,12,0.96) !important; }
  .nav-btn { font-size: 0.8rem; padding: 0.5rem 1rem; }
}

/* ─── Hero ───────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; background-color: var(--bg-darker, #050505);
  padding: 6rem 5% 3rem; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
#hero::before {
  content: ''; position: absolute; inset: -8%;
  background: url('https://i.postimg.cc/CKqdqTpJ/Back-menor.png') center/cover no-repeat;
  transform: scale(1.15);
  transition: transform 2.8s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 0;
}
#hero.hero-entered::before { transform: scale(1); }
.fog-drift {
  position: absolute; inset: 0;
  background: url('https://www.transparenttextures.com/patterns/fog.png');
  opacity: 0.2; animation: fog-drift 60s linear infinite;
  z-index: 1; pointer-events: none;
}
.breathing-light {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(139,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
  animation: breathing-light 5s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
@keyframes fog-drift { from { background-position: 0 0; } to { background-position: 100% 100%; } }
@keyframes breathing-light { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: 900px;
  padding: 2rem; opacity: 0;
  transition: opacity 1.5s ease 0.5s, transform 1.5s ease 0.5s;
  transform: scale(1.05);
}
.hero-content.active { opacity: 1; transform: scale(1); }
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem); color: #fff;
  text-shadow: 0 0 25px rgba(255,0,0,1), 2px 2px 15px #000;
  margin-bottom: 1.2rem; line-height: 1.1; font-weight: 900;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.5rem); color: var(--gold-light, #f3e5ab);
  margin-bottom: 3rem; text-shadow: 2px 2px 8px #000; font-weight: 500;
}
.cta-group {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
}
@media (max-width: 768px) {
  #hero { background-attachment: scroll; }
  .hero-content { padding: 2rem 1rem; }
  .cta-group { flex-direction: column; width: 100%; gap: 1rem; }
  .cta-group .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ─── Captain section ────────────────────────────────────── */
#captain {
  background: linear-gradient(90deg, #000 0%, #1a0000 100%);
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.captain-flex { display: flex; align-items: flex-start; gap: 4rem; }
.captain-img-wrapper { flex: 0 0 380px; max-width: 380px; }
.captain-img {
  width: 100%; aspect-ratio: 3/4;
  background: url('https://i.postimg.cc/br0sNQxF/Chat-GPT-Image-29-de-mai-de-2026-14-52-12.png') center 15%/cover no-repeat;
  border-radius: 8px; border: 2px solid var(--gold-primary, #d4af37);
  box-shadow: 0 0 40px rgba(220,20,60,0.3);
}
.captain-info {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  justify-content: flex-start; padding: 0.5rem 0;
}
.captain-info h3 { letter-spacing: 2px; margin-bottom: 0.5rem; font-size: 1.2rem; }
.captain-info h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; color: #fff; line-height: 1.2; }
.captain-info p  { font-size: 1.05rem; line-height: 1.8; color: #ccc; margin-bottom: 1.5rem; }
.captain-quote {
  font-style: italic; border-left: 4px solid var(--red-primary, #dc143c);
  padding: 1rem 1.5rem; margin-top: 1rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--gold-light, #f3e5ab);
  line-height: 1.6; background: rgba(220,20,60,0.05);
  border-radius: 0 8px 8px 0;
}
@media (max-width: 992px) {
  .captain-flex { flex-direction: column; text-align: center; align-items: center; gap: 2rem; }
  .captain-img-wrapper { flex: none; width: 100%; max-width: 480px; }
  .captain-info { text-align: left; }
}
@media (max-width: 768px) {
  .captain-img-wrapper { max-width: 100%; }
  .captain-quote { font-size: 0.95rem; }
}

/* ─── VIP / Arsenal section ──────────────────────────────── */
#vip {
  position: relative;
  background: radial-gradient(circle at center, #1a0505 0%, var(--bg-dark, #0a0a0a) 100%);
  overflow: hidden;
}
.vip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem; position: relative; z-index: 1;
}
.vip-item { display: flex; align-items: flex-start; gap: 1.5rem; border: 1px dashed rgba(220,20,60,0.3); }
.vip-item i { font-size: 2.2rem; color: var(--red-bright, #dc143c); text-shadow: 0 0 10px var(--red-glow, rgba(220,20,60,0.6)); margin-top: 0.3rem; }
.vip-item p  { font-size: 0.9rem; color: #ccc; }
@media (max-width: 1100px) { .vip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .vip-grid { grid-template-columns: 1fr; gap: 1rem; } .vip-item { padding: 1.2rem; } }

/* ─── Testimonials / Tesouros ────────────────────────────── */
#tesouros {
  background: #000; border-top: 1px solid var(--red-bright, #dc143c);
  position: relative; overflow: hidden;
}
.carousel-wrapper {
  margin-top: 3rem; width: 100%; overflow-x: auto;
  padding-bottom: 2rem; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.carousel-wrapper::-webkit-scrollbar { display: none; }
.carousel-track {
  display: flex; gap: 2rem; padding: 0 5%; width: max-content;
}
.social-card {
  width: 320px; background: #111; border: 1px solid #333;
  border-radius: 12px; scroll-snap-align: center; flex-shrink: 0;
  overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  transition: transform 0.3s;
}
.social-card:hover { transform: translateY(-5px); border-color: var(--gold-primary, #d4af37); }
.social-card-header {
  padding: 1rem; display: flex; align-items: center;
  gap: 10px; border-bottom: 1px solid #222;
}
.social-avatar {
  width: 35px; height: 35px; border-radius: 50%;
  background: var(--red-bright, #dc143c);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
}
.social-username { font-size: 0.9rem; font-weight: bold; color: #fff; }
.social-image-box {
  width: 100%; height: 200px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #222;
}
.social-image-box i { font-size: 3rem; color: #333; }
.social-card-footer { padding: 1rem; font-size: 0.85rem; color: #ccc; line-height: 1.4; }
.social-tags { margin-top: 0.5rem; color: var(--gold-primary, #d4af37); font-size: 0.8rem; font-weight: 600; }
.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.control-btn {
  background: #111; border: 1px solid #333; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.control-btn:hover { background: var(--red-bright, #dc143c); border-color: var(--red-bright, #dc143c); }

/* ─── Ranks ──────────────────────────────────────────────── */
.rank-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.rank-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px; padding: 1.5rem 1rem; text-align: center;
  transition: all 0.3s;
}
.rank-card:hover {
  border-color: var(--gold-primary, #d4af37);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.1);
}
.custom-rank-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background-size: cover; background-position: center;
  margin: 0 auto 1rem; border: 2px solid rgba(212,175,55,0.3);
}
.rank-card h4 { font-size: 1rem; color: var(--gold-primary, #d4af37); margin-bottom: 0.3rem; }
.rank-card p  { font-size: 0.75rem; color: #888; }
@media (max-width: 1100px) { .rank-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rank-grid { grid-template-columns: 1fr; } }

/* ─── Blog Preview ───────────────────────────────────────── */
#blog-preview {
  padding: 80px 5%; background: #050505;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.bp-container { max-width: 1100px; margin: 0 auto; }
.section-title-landing {
  font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900; color: var(--gold-primary, #d4af37);
  text-align: center; margin-bottom: 8px;
}
.section-sub {
  text-align: center; color: rgba(224,224,224,0.45);
  font-size: 1rem; margin-bottom: 40px;
}
.bp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.bp-card {
  border: 1px solid rgba(212,175,55,0.12); border-radius: 14px;
  overflow: hidden; cursor: pointer; transition: all 0.25s;
  background: rgba(255,255,255,0.02);
}
.bp-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
.bp-cover { height: 160px; background-size: cover; background-position: center; }
.bp-cover--empty {
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.05); color: rgba(212,175,55,0.3);
  font-size: 28px;
}
.bp-body { padding: 18px; }
.bp-title {
  font-family: 'Cinzel', serif; font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 8px; line-height: 1.35;
}
.bp-excerpt {
  font-size: 12px; color: rgba(224,224,224,0.5); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.bp-cta { text-align: center; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { margin-top: 2rem; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
  margin-bottom: 0.8rem; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(220,20,60,0.4); }
.faq-question {
  width: 100%; background: rgba(255,255,255,0.03);
  border: none; color: #fff; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left; font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,255,255,0.05); }
.faq-question-text  { flex: 1; margin-right: 1rem; }
.faq-icon {
  color: var(--red-bright, #dc143c); font-size: 0.85rem;
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 1rem 1.5rem 1.5rem; color: #ccc; font-size: 0.9rem; line-height: 1.7; }

/* ─── Portal / Pricing ───────────────────────────────────── */
.portal-box {
  max-width: 620px; margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(220,20,60,0.3);
  border-radius: 16px; padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(220,20,60,0.1);
}
.portal-box h2 {
  font-family: 'Cinzel', serif; font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #fff; margin-bottom: 1.5rem; line-height: 1.2;
}
.urgency-header {
  background: rgba(220,20,60,0.15); border: 1px solid rgba(220,20,60,0.4);
  border-radius: 6px; padding: 0.8rem 1.5rem;
  color: var(--gold-light, #f3e5ab); font-size: 0.9rem;
  font-weight: 600; letter-spacing: 1px; margin-bottom: 1.5rem;
}
.timer-box { margin-bottom: 1.5rem; }
.timer {
  font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 900;
  color: var(--gold-primary, #d4af37);
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  letter-spacing: 4px;
}
.timer.warning { color: var(--red-bright, #dc143c); text-shadow: 0 0 20px rgba(220,20,60,0.8); animation: pulse 0.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.price-box { margin-bottom: 2rem; }
.old-price { font-size: 1rem; color: #666; text-decoration: line-through; margin-bottom: 0.3rem; }
.current-price { font-family: 'Cinzel', serif; font-size: 3.5rem; font-weight: 900; color: var(--gold-primary, #d4af37); line-height: 1; }
.current-price.expired { color: #666; }
.price-tagline { font-size: 0.8rem; color: #666; margin-top: 0.5rem; }
.ritual-checks { text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  cursor: pointer; padding: 0.8rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.check-item:hover { border-color: rgba(220,20,60,0.3); }
.ritual-box { margin-top: 3px; accent-color: var(--red-bright, #dc143c); flex-shrink: 0; }
.check-item p { font-size: 0.9rem; color: #ccc; margin: 0; }

/* ─── Footer ─────────────────────────────────────────────── */
#footer { background: #000; border-top: 1px solid rgba(220,20,60,0.2); padding-top: 4rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding-bottom: 3rem; }
.footer-logo { height: 40px; object-fit: contain; margin-bottom: 1rem; filter: drop-shadow(0 0 6px rgba(212,175,55,0.4)); }
.footer-brand p { font-size: 0.85rem; color: #666; line-height: 1.6; max-width: 320px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { color: #555; font-size: 1.3rem; transition: 0.3s; text-decoration: none; }
.footer-socials a:hover { color: var(--red-bright, #dc143c); text-shadow: 0 0 10px var(--red-glow, rgba(220,20,60,0.6)); }
.footer-links h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-primary, #d4af37); margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; margin: 0; }
.footer-links a { color: #666; font-size: 0.85rem; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-light, #f3e5ab); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 1.5rem 5%; text-align: center; }
.disclaimer { font-size: 0.7rem; color: #444; line-height: 1.5; max-width: 800px; margin: 0 auto 0.8rem; }
.copyright { font-size: 0.75rem; color: #333; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── Mobile sticky CTA ──────────────────────────────────── */
.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%;
  z-index: 99; background: rgba(10,10,10,0.98);
  padding: 1rem 5%; border-top: 1px solid var(--red-bright, #dc143c);
  text-align: center; box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
}
@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  #landing-page-wrapper { padding-bottom: 70px; }
}

/* ─── Buttons (landing-specific overrides) ───────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 4px; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; border: none; transition: all 0.3s;
}
.btn-primary {
  background: var(--red-bright, #dc143c); color: #fff;
  box-shadow: 0 0 20px rgba(220,20,60,0.5);
}
.btn-primary:hover {
  background: #ff1a47; box-shadow: 0 0 40px rgba(220,20,60,0.8);
  transform: translateY(-2px);
}
.btn-primary:disabled {
  opacity: 0.4; cursor: not-allowed; transform: none;
  box-shadow: none;
}
.btn-secondary {
  background: transparent; color: var(--gold-primary, #d4af37);
  border: 1px solid var(--gold-primary, #d4af37);
}
.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}
