/* ==============================
   RESET & BASE
============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f0e13;
  color: #ddd;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   HEADER
============================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(15, 14, 19, 0.6);
  backdrop-filter: blur(10px);
  padding: 9px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(15, 14, 19, 0.9);
  padding: 10px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 20px;    /* add small left/right padding only */
  font-size: 20px;
  width: 100%;
  max-width: 90%;      /* prevent shrinking inside a container */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
   justify-self: start;
  gap: 8px;
  color: #e8437d;
  font-weight: 700;
  font-size: 1.7rem;
  user-select: none;
}


.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo-circle {
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.highlight {
  color: #9b59b6;
}

/* Navigation */
.nav {
   justify-self: center;
  display: flex;
  gap: 40px;
}

.nav-link {
  position: relative;
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #e8437d;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #e8437d, #9b59b6);
  transition: width 0.3s ease;
}

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

/* Auth buttons */
.auth-buttons {
   justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.auth-buttons.hidden {
  display: none;
}

.btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.login-btn {
  background: transparent;
  color: #eee;
}

.login-btn:hover {
  color: #e8437d;
}

.signup-btn {
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  color: white;
}

.signup-btn:hover {
  background: linear-gradient(135deg, #9b59b6, #e8437d);
}

/* Profile button */
.profile-btn {
  background: linear-gradient(135deg, #9b59b6, #e8437d);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

/* ==============================
   HERO
============================== */
.hero {
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1470&q=80') center top / cover no-repeat;
  color: white;
  text-align: center;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 19, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.subheading {
  font-weight: 800;
  color: #e8437d;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1rem;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 4.2rem);
  font-weight: 950;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h1 .pink { color: #e8437d; }
h1 .purple { color: #9b59b6; }

.hero p {
  font-size: 1.3rem;             /* slightly larger for readability */
  color: #e0e0e0;                /* softer white, easier on eyes */
  margin-bottom: 32px;
  line-height: 1.7;              /* more breathing space between lines */
  font-weight: 400;              /* clean, not too bold */
  letter-spacing: 0.3px;         /* subtle spacing for polish */
  text-align: center;            /* ensures perfect alignment */
  max-width: 750px;              /* keeps lines from being too wide */
  margin-left: auto;             
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-gradient {
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #9b59b6, #e8437d);
}

.btn-black {
  background: black;
  color: white;
  border: 2px solid white;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-black:hover {
  background: #333;
}

.scroll-indicator {
  font-size: 2rem;
  margin-top: 48px;
  opacity: 0.7;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}


/* ==============================
   CATEGORIES
============================== */
/* ==============================
   CATEGORIES
============================== */
.categories {
  padding: 60px 20px 80px;
  background-color: #121016;
}

.categories h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #e8437d;
  margin-bottom: 40px;
  position: relative;
}

.categories h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  margin: 10px auto 0;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  background: #1a1823;
  border-radius: 30px;
   padding: 60px 40px; /* was 40px 25px */
  font-size: 1.3rem;;
  color: #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
   cursor: pointer;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.category-card {
  transition: all 0.3s ease; /* smooth hover animation */
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px 10px rgba(155, 89, 182, 0.6); /* glow all sides */
  background-color: #2a2538;
  z-index: 2;
}

.category-card.highlight {
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  box-shadow: 0 0 25px 10px rgba(232, 67, 125, 0.6); /* base glow */
  color: #fff;
}

.category-card.highlight:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #9b59b6, #e8437d);
  box-shadow: 0 0 35px 12px rgba(232, 67, 125, 0.8); /* stronger even glow */
  z-index: 2;
}


.icon {
  font-size: 2.6rem;
  margin-bottom: 15px;
  border-radius: 12px;
  padding: 18px 22px;
  color: white;
  width: 80px; height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}


.category-card:hover .icon {
  transform: scale(1.1);
}

/* Icon Variants */
.icon-fire   { background: linear-gradient(135deg, #ff6a00, #ee0979); }
.icon-heart  { background: linear-gradient(135deg, #e8437d, #ff7eb3); }
.icon-smile  { background: linear-gradient(135deg, #f7971e, #ffd200); color:#000; }
.icon-flash  { background: linear-gradient(135deg, #9b59b6, #e8437d); }
.icon-coffee { background: linear-gradient(135deg, #48454a, #2d073c); }
.icon-target { background: #1abc9c; }
.icon-chat   { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.icon-trophy { background: #f1c40f; color: #000; }
.icon-lightbulb { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.icon-laugh     { background: linear-gradient(135deg, #0cbf7d, #0a7391); color: #000; }
.icon-wink      { background: linear-gradient(135deg, #ae0e0e, #cb2a0e); }


.category-card {
  position: relative; /* required for absolute positioning of the banner */
}

.coming-soon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
button.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}




.category-card h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 30px;
}

.category-card p {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #ccc;
}

.btn-outline {
  background: transparent;
  border: 1.8px solid #ccc;
  color: #ccc;
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
}

.btn-outline:hover {
  background: #e8437d;
  border-color: #e8437d;
  color: white;
}


/*FAQ
*/
/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #121016;
  color: #ddd;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 50px;
  color: #fff;
}

/* FAQ List */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* Individual FAQ Item */
.faq-item {
  background: #1a1823;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Question button */
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #ccc;
  background: #1a1823;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.container h2{
  color: #fff;
}

.faq-question:hover {
  background: #1f1d29;
  color: #fff;
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Answer container */
.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: height 0.35s ease;
}

.faq-answer p {
  margin: 15px 0 20px;
  line-height: 1.7;
  color: #ccc;
}

/* Active FAQ */
.faq-item.active {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(155, 89, 182, 0.3);
}

.faq-item.active .faq-answer {
  height: auto;
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
  .faq h2 { font-size: 1.8rem; margin-bottom: 40px; }
  .faq-question { padding: 15px 20px; font-size: 0.95rem; }
  .faq-answer p { margin: 12px 0 18px; }
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: rgba(15, 14, 19, 0.5); /* semi-transparent */
  backdrop-filter: blur(10px);       /* glassy blur effect */
  color: #ddd;
  padding: 50px 10px 10px;
  font-size: 1rem;
  user-select: none;
  border-top: 0.9px solid rgba(255,255,255,0.1);
}

.footer-container {
  max-width: 85%; /* same width as header and hero */
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-info { flex: 1 1 300px; }
.footer-info p { margin-top: 15px; line-height: 1.4; }

.footer-links {
  flex: 1 1 500px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #eee;
}

.footer-links ul {
  list-style: none;
  margin-bottom: 15px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #e8437d;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons li a {
  font-size: 1.4rem;
  color: #bbb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons li a:hover {
  border-color: #e8437d;
  color: #e8437d;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  max-width: 75%;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ==============================
   CHAT MODAL
============================== */
.chat-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 19, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.chat-modal.hidden { display: none; }

.chat-modal-content {
  background: #1a1823;
  border-radius: 12px;
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 0 40px #9b59b6;
  color: #ddd;
  position: relative;
}

.close-chat {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  color: #e8437d;
  font-size: 1.8rem;
  cursor: pointer;
}

#chat-category-title {
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
  color: #e8437d;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 8px;
  font-size: 0.95rem;
  border: 1px solid #333;
  border-radius: 8px;
  background: #121016;
}

.chat-message { margin-bottom: 12px; }
.chat-message.user { text-align: right; color: #9b59b6; }
.chat-message.bot { text-align: left; color: #e8437d; }

#chat-form {
  display: flex;
  gap: 10px;
}

#chat-input {
  flex-grow: 1;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0f0e13;
  color: #ddd;
  padding: 8px 12px;
  font-size: 1rem;
  resize: none;
  font-family: inherit;
}

#chat-input:focus {
  outline: none;
  border-color: #e8437d;
}

#chat-form button {
  min-width: 80px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  background: linear-gradient(135deg, #e8437d, #9b59b6);
  color: white;
  transition: background 0.3s ease;
}

#chat-form button:hover {
  background: linear-gradient(135deg, #9b59b6, #e8437d);
}/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  /* Hide nav on mobile */  
  .nav { display: none; }
  .menu-toggle { display: none; }
  .logo-text{
  font-size: 21px;
}

  /* Auth buttons → stick to right */
   .auth-buttons {
    margin-left: auto;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  } 
  /* Only show signup/profile on mobile */
  .login-btn {
  display: none !important;
}

  .auth-buttons .signup-btn,
  .auth-buttons .profile-btn {
    display: inline-flex;
  }
   .signup-btn,
  .profile-btn {
    display: inline-flex;
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  /* Categories single column */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile font adjustments */
  h1 {
    font-size: 2rem;
  }
.hero-content {
  margin: 80px 15px 40px; /* less margin on small screens */
}
  .subheading {
    font-size: 0.85rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .category-card h3 {
    font-size: 1.2rem;
  }

  .category-card p {
    font-size: 0.9rem;
  }
  /* HERO on Mobile */
.hero {
  height: auto;              /* allow content to define height */
  min-height: 100dvh;        /* fill screen height properly */
  padding: 0 25px;           /* space from edges */
  text-align: center;        /* center-align */
}

.hero-content {
  margin: 100px 0 60px;      /* less top/bottom margin */
  max-width: 90%;            /* shrink width */
}

h1 {
  font-size: 2.2rem;         /* smaller heading */
  line-height: 1.4;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 85%;
}

/* Buttons */
.hero-buttons {
  flex-direction: column;   /* stack buttons vertically */
  gap: 25px; 

}

.hero-buttons .btn {
  width: 100%;              /* make buttons full width */
  justify-content: center;
  padding: 13px;
  font-size: 1.2rem;
}

}

@media (min-width: 769px) {
  /* Desktop nav + auth visible */
  .menu-toggle { display: none; }

  .auth-buttons {
    display: flex !important;
    justify-content: flex-end;
    gap: 10px;
  }

  .login-btn,
  .signup-btn,
  .profile-btn {
    display: inline-flex;
  }

   .header {
    width: 100%;
    padding: 12px 0;
    background: rgba(15, 14, 19, 0.5);  /* semi-transparent */
    backdrop-filter: blur(10px);         /* glass blur effect */
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  }

  .header.scrolled {
    background: rgba(15, 14, 19, 0.7);  /* slightly darker when scrolled */
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
  }

  .header-container {
    max-width: 90%;          /* align with hero/category sections */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    padding: 0;
  }

  /* Logo */
  .logo {
    font-size: 1.3rem;
    gap: 10px;
  }

  /* Navigation */
  .nav {
    gap: 35px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 5px 0;
    transition: color 0.3s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #e8437d;
  }

  /* Auth buttons */
  .auth-buttons {
    gap: 12px;
  }

  .login-btn,
  .signup-btn,
  .profile-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
  
  .hero {
    padding: 0 30px;       /* reduce padding slightly */
  }

  .hero-content {
    max-width: 675px;      /* 75% of 900px */
  }

  .hero h1 {
    font-size: 3.8rem;     /* 75% of 5.1rem */
    line-height: 1.1;
  }

  .hero p {
    font-size: 1.125rem;   /* 75% of 1.5rem */
    margin-bottom: 30px;   /* slightly reduced spacing */
  }

  .hero-buttons .btn-gradient,
  .hero-buttons .btn-black {
    font-size: 0.9rem;     /* 75% of 1.2rem */
    padding: 11px 24px;    /* scale down padding */
  }

  .scroll-indicator {
    font-size: 1.875rem;   /* 75% of 2.5rem */
  }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 25px;                              /* spacing between cards */
    max-width: 1200px;                      /* keep it centered */
    margin: 0 auto;
  }

  /* Category cards scaling */
  .category-card {
    padding: 45px 30px;     /* nice proportional padding */
    font-size: 1rem;        /* smaller text */
  }

  .category-card h3 {
    font-size: 24px;        /* readable heading */
  }

  .category-card p {
    font-size: 0.95rem;     /* readable paragraph */
  }

  /* Icons inside cards */
  .icon {
    width: 65px;
    height: 65px;
    font-size: 2rem;
    padding: 14px 16px;
  }

  /* “Coming soon” badge */
  .coming-soon {
    font-size: 10px;
    padding: 3px 6px;
  }

  /* Outline buttons inside card */
  .btn-outline {
    padding: 8px 25px;
    font-size: 16px;
  }

  /* FAQ scaling */
  .faq h2 {
    font-size: 1.875rem;   /* 75% of 2.5rem */
    margin-bottom: 22px;   /* scale margin */
  }

  .faq-question {
    font-size: 0.975rem;   /* 75% of 1.3rem */
    padding: 14px 16px;    /* scale padding */
  }

  .faq-answer p {
    font-size: 0.825rem;   /* 75% of 1.1rem */
    line-height: 1.2;      /* slightly tighter */
  }

}