/* ==========================================================================
   Social Space - Section Layouts (2-Column Hero & Vivid App Action Cards)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section (Dividido em 2 Partes Verticais: Texto à Esquerda, Logo + Botões à Direita)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 90vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.15) 0%, rgba(255, 201, 0, 0.1) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero-title .font-heavy {
  font-family: var(--font-logo-heavy);
  font-weight: 900;
  color: #FFFFFF;
}

.hero-title .font-thin {
  font-family: var(--font-logo-thin);
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1.35;
  margin-top: 0.65rem;
  display: block;
  color: #E2E8F0;
  letter-spacing: normal;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

/* Lado Direito da Hero: Apenas a Logo SVG com Glow e Dimensões Amplas */
.hero-visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-emblem-wrap {
  width: 300px;
  height: 300px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 35px var(--color-pink-glow));
  transition: transform var(--transition-normal);
}

.hero-logo-emblem-wrap:hover .hero-logo-emblem-img {
  transform: scale(1.06) rotate(2deg);
}

/* Stack de Botões de Ação na Direita com Degradê Marcante */
.hero-action-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-action-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-decoration: none;
  transition: all var(--transition-normal);
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Card Discord - Degradê Marcante #5865F2 Theme */
.card-discord-app {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.22) 0%, rgba(71, 82, 196, 0.4) 100%);
  color: #FFFFFF;
  border: 1px solid #5865F2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(88, 101, 242, 0.3);
}

.card-discord-app:hover {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border-color: #5865F2;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(88, 101, 242, 0.6);
}

/* Card Root - Degradê Marcante #7C3AED Theme */
.card-root-app {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22) 0%, rgba(109, 40, 217, 0.4) 100%);
  color: #FFFFFF;
  border: 1px solid #7C3AED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(124, 58, 237, 0.3);
}

.card-root-app:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  border-color: #7C3AED;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(124, 58, 237, 0.6);
}

.app-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.card-discord-app .app-icon-circle {
  border-color: rgba(88, 101, 242, 0.4);
  color: #5865F2;
}

.card-root-app .app-icon-circle {
  border-color: rgba(124, 58, 237, 0.4);
  color: #A78BFA;
}

.card-discord-app:hover .app-icon-circle,
.card-root-app:hover .app-icon-circle {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.app-action-content {
  flex: 1;
}

.app-action-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.18rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.app-action-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.app-action-arrow {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform var(--transition-fast);
}

.hero-action-card:hover .app-action-arrow {
  transform: translateX(4px);
  color: #FFFFFF;
}


/* --------------------------------------------------------------------------
   2. Ecosystem Section (Discord & Root App Cards)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-subtitle-badge {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

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

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ecosystem-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ecosystem-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.icon-box-discord {
  background: rgba(88, 101, 242, 0.15);
  color: #5865F2;
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.icon-box-root {
  background: rgba(124, 58, 237, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.ecosystem-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.ecosystem-list {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ecosystem-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.ecosystem-list li i {
  color: #5865F2;
}

.icon-root-purple {
  color: #A78BFA !important;
}


/* --------------------------------------------------------------------------
   3. Community Pillars (Dev, Design, Gaming)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2.25rem 1.75rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-card:hover {
  border-color: rgba(255, 0, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 25px rgba(255, 0, 255, 0.15);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 0, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-yellow);
}

.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: #FFFFFF;
}

.pillar-text {
  font-size: 0.95rem;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   4. Access Banner & CTA with Fine Gradient Border
   -------------------------------------------------------------------------- */
.access-cta-box {
  background: radial-gradient(circle at center, rgba(35, 15, 50, 0.95) 0%, rgba(10, 15, 28, 0.98) 100%);
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(10, 15, 28, 0.98), rgba(10, 15, 28, 0.98)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--color-pink-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.access-cta-box h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.access-cta-box p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}


/* --------------------------------------------------------------------------
   5. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid rgba(255, 0, 255, 0.2);
  padding: 4rem 0 2rem 0;
  margin-top: 6rem;
}

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

.footer-brand-col {
  text-align: left;
}

.footer-brand-col .brand-logo {
  justify-content: flex-start;
  text-align: left;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 320px;
  text-align: left;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--color-text-dim);
}


/* --------------------------------------------------------------------------
   6. Comprehensive Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 7rem;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .access-cta-box h2 {
    font-size: 2rem;
  }
  .ecosystem-grid, .pillars-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .card-glass {
    padding: 1.5rem 1.25rem;
  }
  .hero-action-card {
    padding: 1.1rem;
  }
  .app-icon-circle {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}
