/* =================================
   JOIN COMMUNITY – MATCH MAIN SITE
================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  padding-top: 60px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: background 0.35s ease, color 0.35s ease;
}


/* ================================
   NAVBAR – BASE
================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  min-height: 56px;
  background: transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 4px 2%;
  transition:
    height 0.35s ease,
    padding 0.35s ease,
    border-radius 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

/* ================================
   NAV CONTENT
================================ */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.25s ease, font-size 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-btn {
  background: #2563eb;
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: padding 0.35s ease, font-size 0.35s ease, border-radius 0.35s ease;
}

/* ================================
   DYNAMIC ISLAND – SCROLLED STATE
================================ */

.navbar.di-scrolled {
  background: transparent;
}

.navbar.di-scrolled .nav-flex {
  background: #000;
  height: 62px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  max-width: 1150px;
  margin: 12px auto 0;
  transform: scale(0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: 0.8s ease;
}

/* subtle squeeze */
.navbar.di-scrolled .nav-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.8s ease;
}

.navbar.di-scrolled .login-btn {
  padding: .8rem 2rem;
  font-size: 16px;
  border-radius: 25px;
  transition: 0.8s ease;
}

/* LOGIN POPUP */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.login-modal.active {
  display: block;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}

/* Box */

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: 92%;
  height: 520px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  animation: pop 0.3s ease;
}

@keyframes pop {
  from { transform: translate(-50%, -45%) scale(0.95); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.login-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

/* Left side */
.login-left {
  width: 45%;
  background: radial-gradient(circle at bottom, #182f6e, #162c69, #020617, #000000);
  color: white;
  padding: 40px;
}

.login-left h2 {
  font-size: 3rem;
  line-height: 1.1;
  padding-bottom: 4rem;
}

.login-left h2 span {
  font-weight: 800;
  font-style: italic;
}

.login-icons {
  display: flex;
  gap: 14px;
  margin: 18px 0;
}

.login-icons img {
  width: 32px;
}

.login-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.login-stats b{
  font-size: large;
}

.login-stats span{
  padding-left: 0.5rem;
  font-size: smaller;
}

/* Right side */

.login-right {
  width: 55%;
  padding: 40px;
}
.login-right h3{
  padding-bottom: 8px;
}
.login-right p{
  padding-bottom: 18px;
}

.login-right input,
.login-right textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.login-right textarea {
  resize: none;
  height: 80px;
}

.login-submit {
  width: 100%;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.35s ease;
}

.login-submit:hover{
  background: linear-gradient(90deg, #2564ebd6, #4e46e5bd);
  transform: translateY(-3px) translateX(-3px);
}

@media (max-width: 768px) {
  .login-modal {
    padding: 0;
  }

  .login-box {
    width: 95vw !important;
    max-width: 95vw !important;
    height: auto !important;
    max-height: 90vh !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    border-radius: 18px;
  }

  .login-left,
  .login-right {
    width: 100% !important;
    min-width: 100% !important;
  }

  .login-left {
    padding: 3rem !important;
    text-align: center;
  }

  .login-left h2 {
    font-size: 1.8rem !important;
    padding-bottom: 1.2rem;
    line-height: 1.2;
  }

  .login-right {
    padding: 26px 22px !important;
  }

  .login-icons {
    justify-content: center;
    margin-top: 5px;
  }

  .login-stats {
    margin-top: 2.5rem;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px;
    text-align: center;
  }

  .login-right input,
  .login-right textarea {
    font-size: 16px !important;
  }

  .login-submit {
    font-size: 16px !important;
    padding: 16px !important;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {
  .login-box{
    margin: 0 2px;
  }
  .login-left h2 {
    padding-bottom: 1rem;
  }
  .login-stats {
    margin-top: 1rem;
    gap: 5px;
  }
  .login-stats {
    grid-template-columns: 1fr !important;
  }

  .login-left h2 {
    font-size: 1.6rem !important;
  }
}

/* HERO TITLE */
.hero {
  position: relative;
}

.jc-hero-title {
  padding: 80px 20px 60px;
  text-align: center;
}

.jc-hero-title h1 {
  font-size: 5rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: 3px;
  -webkit-box-reflect: below -10px linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0, 0, 0, 0.436));
}

/*BLOBS*/
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.3;
}

.blob-yellow {
  width: 170px;
  height: 170px;
  background: #ffcf0f;
  top: 240px;
  left: 70px;
  z-index: -1;
}

.blob-pink {
  width: 210px;
  height: 210px;
  background: #860cff;
  top: 250px;
  right: 40px;
  z-index: -1;
}

.blob-green {
  width: 150px;
  height: 150px;
  background: #30ff01b6;
  top: 100px;
  left: 430px;
  z-index: -1;
}

/* CONTENT WRAP */
.jc-content {
  max-width: 1000px;
  margin: 0 auto 100px;
  padding: 0 24px;
}

/* SHARED BOX */
.jc-box {
  border-radius: 18px;
  padding: 48px;
}

/* PRIMARY BOX */
.jc-box-primary {
  background: #2563eb;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 18px;
  box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.9);
}

.jc-box-primary h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 0 0;
}

.jc-subtext {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.95;
  margin: 0 0 26px 0;
}

.jc-bottomtext {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.85;
  margin: 8px 0 0 0;
}

/* PLATFORM BUTTONS */
.jc-platform-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.jc-platform-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000000a4;
  transition: 0.25s ease;
}
.jc-platform-btn.whatsapp {
  background: #22c45e;
  color: #000000;
}
.jc-platform-btn.whatsapp:hover{
  background: #38f37c;
}
.jc-platform-btn.discord {
  background: #4e59d3;
  color: #ffffff;
}
.jc-platform-btn.discord:hover{
  background: #6f7ff0;
}

.jc-platform-btn img {
  width: 35px;
  height: 35px;
}

.jc-platform-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #000;
}

/* GAP */
.jc-gap {
  height: 20px;
}

/* SECONDARY BOX */
.jc-box-secondary {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}


/* GRID */
.jc-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* HEADINGS */
.jc-why-join h3,
.jc-faq h3 {
  font-size: 35px;
  font-weight: 800;
  margin: 14px 0;
}

/* WHY JOIN LIST */
.jc-why-join ul {
  padding-left: 18px;
}

.jc-why-join li {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #0a0a0ab0;
}

/* FAQ */
.jc-faq details {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.jc-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #0a0a0ab0;
}

.jc-faq p {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.9;
  color: #0a0a0ab0;
}

/*Footer*/ 
.simple-footer {
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  padding: 100px 24px 42px;
}

.dark .simple-footer {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Left */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 36px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.6;
  margin: 0px;
}

/* Right */

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  line-height: 1.9;
  text-align: left;
  opacity: 0.7;
}

.footer-right a {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.footer-right a:hover {
  opacity: 1;
}

/* Mobile */

@media (max-width: 768px) {
  .footer-inner {
    gap: 30px;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-brand{
    margin-bottom: 14px;
  }
  .footer-address{
    font-size: 10px;
  }
  .footer-right a{
    font-size: 10px;
  }
}


/* =================================
   RESPONSIVE
================================= */
@media (max-width: 768px) {

    body {
    padding-top: 56px;
  }

  .navbar {
    padding: 0;
    min-height: 56px;
  }

  .nav-flex {
    height: 56px;
    padding: 0 16px;
  }

  .logo img {
    width: 120px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--header-bg);
    position: absolute;
    top: 56px;
    right: 16px;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .nav-flex {
    justify-content: flex-start;
  }

  .logo {
    margin-right: auto;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 8px 0;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 26px;
  }



  .jc-hero-title h1 {
    font-size: 55px;
  }

  .jc-content {
    margin-top: -20px;
  }

  .jc-box {
    padding: 26px;
  }

  .jc-box-grid {
    grid-template-columns: 1fr;
  }

  .jc-platform-buttons {
    flex-direction: column;
  }

  .jc-platform-btn {
    justify-content: center;
  }



  .footer {
    padding: 40px 20px 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-col h3 {
    font-size: 20px;
  }

  .footer-col h4 {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
   .featured-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 105px;
  }
  .login-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  .nav-links {
    right: 12px;
    padding: 12px 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .jc-hero-title h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .jc-why-join h3,
  .jc-faq h3 {
    font-size: 24px;
  }

  .jc-why-join li {
    font-size: 13px;
  }

  .jc-faq summary {
    font-size: 13px;
  }
  

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 12px;
    margin-top: 15px;
  }
}


