/* ==========================================================================
   Lula Sites - Community Page Stylesheet (community.css)
   Clean, obsidian dark aesthetic matching affiliate & guide pages
   Zero emojis - Production grade CSS
   ========================================================================== */

:root {
  --comm-bg: #09090b;
  --comm-card-bg: rgba(18, 20, 26, 0.72);
  --comm-border: rgba(255, 255, 255, 0.08);
  --comm-border-hover: rgba(147, 197, 253, 0.35);
  --comm-text-primary: #ffffff;
  --comm-text-secondary: rgba(255, 255, 255, 0.76);
  --comm-text-muted: rgba(255, 255, 255, 0.50);
  --comm-accent: #3b82f6;
  --comm-accent-glow: rgba(59, 130, 246, 0.28);
  --comm-gradient-blue: linear-gradient(135deg, #ffffff 0%, #93c5fd 40%, #3b82f6 100%);
  --comm-btn-primary: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
}

body.community-page {
  background-color: var(--comm-bg);
  color: var(--comm-text-primary);
  font-family: 'Plus Jakarta Sans', var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   Hero Container & Card
   ========================================================================== */
.community-hero-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #09090b;
  border-bottom: 1px solid var(--comm-border);
  flex: 1;
  display: flex;
  align-items: center;
}

.community-hero-card {
  position: relative;
  width: 100%;
  min-height: clamp(540px, 70vh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 64px;
}

.community-hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0.92) contrast(1.05);
}

.community-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center 48%, rgba(9, 9, 11, 0.52) 0%, rgba(9, 9, 11, 0.88) 100%),
              linear-gradient(to bottom, rgba(9, 9, 11, 0.45) 0%, transparent 22%, transparent 78%, #09090b 100%);
  z-index: 2;
  pointer-events: none;
}

.community-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

/* Badge Pill */
.community-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(147, 197, 253, 0.3);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.16);
  margin-bottom: 22px;
}

.community-pill-badge span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-image: var(--comm-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2-Row Title */
.community-hero-title {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--comm-text-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%;
}

.community-hero-title [data-i18n="heroTitleRow1"],
.community-hero-title [data-i18n="heroTitleGlow"] {
  display: inline-block;
}

@media (min-width: 768px) {
  .community-hero-title [data-i18n="heroTitleRow1"],
  .community-hero-title [data-i18n="heroTitleGlow"] {
    white-space: nowrap;
  }
}

.gradient-glow-text {
  background-image: var(--comm-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.45));
}

/* Tagline / Subtitle */
.community-hero-tagline {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--comm-text-secondary);
  max-width: 680px;
  margin: 0 auto 32px auto;
  text-align: center;
}

/* Badges Row */
.community-hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--comm-text-muted);
  margin-bottom: 34px;
}

.community-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.community-hero-badge-item svg {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  flex-shrink: 0;
}

.community-hero-badge-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   CTA Buttons & Action Grid
   ========================================================================== */
.community-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 0;
  width: 100%;
}

/* Primary CTA Button (Group Vibe Code) */
.comm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 36px;
  border-radius: 9999px;
  background-image: var(--comm-btn-primary);
  color: #09090b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-top: 2px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(207, 222, 246, 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.comm-btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.96;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(207, 222, 246, 0.45);
}

.comm-btn-primary svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.comm-btn-primary:hover svg {
  transform: translateX(3px);
}

/* Secondary CTA Button (Fanpage Lula Sites) */
.comm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.comm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(147, 197, 253, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.comm-btn-secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.comm-btn-secondary:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .community-hero-card {
    min-height: auto;
    padding: 56px 16px 48px;
  }

  .community-hero-title {
    font-size: clamp(0.95rem, 4.8vw, 1.3rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
  }
  .community-hero-title [data-i18n="heroTitleRow1"],
  .community-hero-title [data-i18n="heroTitleGlow"] {
    white-space: nowrap;
    display: inline-block;
  }

  .community-hero-tagline {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .community-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .comm-btn-primary,
  .comm-btn-secondary {
    width: 100%;
    max-width: 380px;
  }
}
