:root {
  --bg-dark: #05060a;
  --bg-overlay: rgba(0, 0, 0, 0.8);
  --primary: #00eaff;
  --primary-soft: rgba(0, 234, 255, 0.4);
  --text-main: #f5f5f5;
  --text-muted: #a6b0c3;
  --danger: #ff4d4d;
  --success: #4dff88;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.9);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: var(--text-main);
  background-color: #000;
  position: relative;
  overflow-x: hidden;
}

/* GLOBAL BACKGROUND */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 234, 255, 0.16), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(0, 234, 255, 0.16), transparent 55%),
    url("../images/sitebackground.png") center/cover no-repeat fixed;
  z-index: -2;
  filter: brightness(0.55);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.94)
  );
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 84px; /* sticky navbar height */
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 15, 0.96),
    rgba(5, 8, 15, 0.78)
  );
  border-bottom: 1px solid rgba(0, 234, 255, 0.25);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.95);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.nav-left {
  flex: 0 0 auto;
}

.nav-center {
  flex: 1 1 auto;
  justify-content: center;
}

.nav-right {
  flex: 0 0 auto;
  justify-content: flex-end;
}



.site-title {
  font-size: 20px;
  font-weight: 700;
  background: radial-gradient(circle at 0% 0%, #ffffff, #00eaff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00eaff, #7affff);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-icon {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 230px;
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.24), rgba(6, 10, 20, 0.98));
  border-radius: 16px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 234, 255, 0.35);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 40;
}

.dropdown-menu a {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-main);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.dropdown-menu a:hover {
  background: rgba(0, 234, 255, 0.16);
  transform: translateX(2px);
}

.dropdown.open .dropdown-menu {
  display: flex;
}

.online-counts {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border-radius: var(--radius-xl);
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.btn-outline {
  border-color: rgba(0, 234, 255, 0.7);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 234, 255, 0.12);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #00eaff, #72ffff);
  color: #05060a;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.7);
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0, 234, 255, 0.9);
  transform: translateY(-1px) scale(1.01);
}

/* HERO (front page) */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  background: radial-gradient(circle at 0% 0%, #ffffff, #00eaff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 234, 255, 0.3);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta-pill {
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 234, 255, 0.35);
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.16), rgba(8, 10, 18, 0.96));
}

/* AR/VR GRID */
.hero-ar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.ar-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 234, 255, 0.35), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(135, 236, 255, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(5, 10, 20, 0.98), rgba(3, 5, 10, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.98);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(700px) rotateX(0) rotateY(0);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
  cursor: pointer;
}

/* EMPTY CARDS FOR YOUR CONTENT */
.ar-card-inner-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px dashed rgba(0, 234, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
}

.ar-card:hover {
  box-shadow: 0 26px 70px rgba(0, 234, 255, 0.45);
  border-color: rgba(0, 234, 255, 0.8);
}

/* PARTICLES */
.particle {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

.p1 {
  width: 220px;
  height: 220px;
  background: rgba(0, 234, 255, 0.3);
  top: -60px;
  right: 5%;
  animation: float1 14s ease-in-out infinite alternate;
}
.p2 {
  width: 140px;
  height: 140px;
  background: rgba(0, 234, 255, 0.18);
  bottom: 0;
  left: 10%;
  animation: float2 18s ease-in-out infinite alternate;
}
.p3 {
  width: 260px;
  height: 260px;
  background: rgba(0, 234, 255, 0.14);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}

@keyframes float1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(10px, 18px, 0); }
}
@keyframes float2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-16px, -20px, 0); }
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.section-header {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.section-title {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.16), rgba(3, 6, 12, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  color: var(--text-muted);
}

.info-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 6px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* SUBSCRIPTIONS */
.sub-card {
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  background: linear-gradient(135deg, rgba(5, 10, 18, 0.98), rgba(6, 14, 26, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.4);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-name {
  font-size: 16px;
  font-weight: 600;
}

.sub-price {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.sub-period {
  font-size: 12px;
  color: var(--text-muted);
}

.sub-benefits {
  list-style: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.sub-benefits li {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.sub-benefits li i {
  font-size: 12px;
  color: var(--primary);
  margin-top: 3px;
}

.sub-cta {
  margin-top: 10px;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(0, 234, 255, 0.2);
  background: rgba(3, 6, 12, 0.96);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.footer-socials a:hover {
  background: rgba(0, 234, 255, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.8);
  border-color: rgba(0, 234, 255, 0.8);
}

/* AUTH PAGES (signup / login) */
.auth-page {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
}

.auth-card {
  max-width: 720px;
  width: 100%;
  border-radius: 20px;
  background: radial-gradient(
      circle at 0 0,
      rgba(0, 234, 255, 0.2),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(5, 10, 18, 0.98), rgba(2, 5, 10, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.55);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-soft);
}

.auth-title {
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 14px;
  margin-top: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  border-radius: 10px;
  border: 1px solid rgba(0, 234, 255, 0.35);
  background: rgba(4, 7, 15, 0.96);
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(0, 234, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.55);
  background: rgba(5, 10, 18, 0.98);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
}

.helper-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* checkbox style */
.checkbox-wrapper {
  position: relative;
  display: inline-block;
}

.checkbox-wrapper input {
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
}

/* Verification row on signup */
.verification-row {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 234, 255, 0.5);
  padding: 10px 10px;
  background: rgba(3, 6, 12, 0.9);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.verification-pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.55);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
}

.discord-pill {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(113, 137, 255, 0.8);
}

/* PROFILE PAGE */
.profile-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1.7fr) 280px;
  gap: 20px;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-center {
    display: none; /* mobile: hide center links (you can add mobile menu later) */
  }
  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.profile-card,
.profile-sidebar,
.profile-feed-card {
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.16), rgba(3, 6, 12, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  color: var(--text-muted);
}

/* left column (profile + games you play) */
.profile-header-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0%, #ffffff, #00eaff);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.7);
}

.profile-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.profile-handle {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 6px;
}

.profile-tab {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 234, 255, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.profile-tab.active {
  background: rgba(0, 234, 255, 0.18);
  border-color: rgba(0, 234, 255, 0.7);
  color: var(--primary);
}

/* About box style */
.about-list {
  list-style: none;
  margin-top: 6px;
}
.about-list li {
  margin-bottom: 4px;
}

/* Games you play */
.games-card {
  margin-top: 16px;
}

/* center feed */
.feed-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.feed-actions {
  display: flex;
  gap: 8px;
}

.feed-composer {
  border-radius: 12px;
  padding: 10px;
  background: rgba(5, 10, 18, 0.96);
  border: 1px solid rgba(0, 234, 255, 0.35);
  margin-bottom: 10px;
}

.feed-composer textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-size: 13px;
  resize: vertical;
}

.feed-composer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.icon-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
}

/* simple post */
.post-card {
  margin-top: 10px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  border: 1px solid rgba(0, 234, 255, 0.3);
  background: rgba(5, 10, 18, 0.96);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.post-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.post-actions {
  display: flex;
  gap: 12px;
  font-size: 12px;
  margin-top: 6px;
}

/* right column: online members + music mini player */
.online-card {
  margin-bottom: 16px;
}

.online-list {
  list-style: none;
  margin-top: 6px;
}
.online-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* Vision-Pro-like mini music player */
.music-card {
  border-radius: var(--radius-lg);
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 234, 255, 0.25), transparent 60%),
    linear-gradient(135deg, rgba(3, 8, 18, 0.98), rgba(1, 3, 8, 0.98));
  border: 1px solid rgba(0, 234, 255, 0.6);
  box-shadow: 0 18px 40px rgba(0, 234, 255, 0.4);
}

.music-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.music-title {
  font-size: 13px;
  font-weight: 600;
}

.music-chip {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.music-main {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.music-cover {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 0%, #ffffff, #00eaff);
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.6);
}

.music-info {
  flex: 1;
}

.music-track {
  font-size: 13px;
}
.music-artist {
  font-size: 11px;
  color: var(--text-muted);
}

.music-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 6px 0;
}
.music-progress-bar {
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00eaff, #7affff);
}

.music-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.music-buttons {
  display: flex;
  gap: 6px;
}

.music-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

/* SETTINGS PAGE */
.settings-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1.6fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.settings-nav {
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  background: rgba(6, 10, 18, 0.98);
  border: 1px solid rgba(0, 234, 255, 0.3);
}

.settings-nav ul {
  list-style: none;
}

.settings-nav li {
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 4px;
}

.settings-nav li.active {
  background: rgba(0, 234, 255, 0.18);
  color: var(--primary);
}

.settings-panel {
  border-radius: var(--radius-lg);
  padding: 16px 14px 18px;
  background: rgba(5, 10, 18, 0.98);
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.settings-panel h2 {
  font-size: 17px;
  margin-bottom: 4px;
}

.settings-panel p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* simple toggle */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.toggle-label {
  font-size: 13px;
}

.toggle-switch {
  position: relative;
  width: 38px;
  height: 20px;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  left: 2px;
  top: 2px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.8);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* FEED STYLES */


/* ========== FEED LAYOUT (FACEBOOK-STYLE) ========== */

.feed-layout {
  max-width: 1200px;
  margin: 120px auto 40px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: flex-start;
  padding: 0 16px;
}

/* columns */
.feed-column {
  min-width: 0;
}

.feed-left,
.feed-right {
  position: sticky;
  top: 96px;
}

/* cards */
.feed-card,
.feed-sidebar-card {
  border-radius: 18px;
  padding: 16px 18px;
  background: radial-gradient(circle at top left, rgba(0,234,255,0.16), rgba(2,8,23,0.96));
  border: 1px solid rgba(0,234,255,0.22);
  box-shadow: 0 18px 45px rgba(0,0,0,0.78);
  backdrop-filter: blur(18px);
}

/* left sidebar mini profile */
.feed-user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(0,234,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 12px;
  background: radial-gradient(circle, rgba(0,234,255,0.25), rgba(2,8,23,1));
}

.feed-user-avatar span {
  font-size: 1.1rem;
}

.feed-user-info {
  margin-bottom: 8px;
}

.feed-user-name {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feed-user-email {
  font-size: 0.8rem;
  opacity: 0.8;
}

.feed-user-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}

.feed-sidebar-actions,
.feed-sidebar-card {
  margin-top: 10px;
}

.feed-sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.feed-sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.feed-sidebar-link i {
  width: 18px;
}

.feed-sidebar-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

.feed-sidebar-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* composer */
.feed-composer {
  margin-bottom: 18px;
}

.feed-composer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feed-composer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,234,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.feed-composer-text p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.feed-composer-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0,234,255,0.22);
  background: rgba(2,8,23,0.9);
  padding: 10px 12px;
  resize: vertical;
  min-height: 70px;
  color: #f9fafb;
  font-size: 0.9rem;
}

.feed-composer-textarea::placeholder {
  opacity: 0.6;
}

.feed-composer-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-composer-actions {
  display: flex;
  gap: 8px;
}

.feed-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15,23,42,0.95);
  padding: 4px 10px;
  font-size: 0.78rem;
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

/* posts */
.feed-post {
  margin-bottom: 14px;
}

.feed-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feed-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,234,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: radial-gradient(circle, rgba(0,234,255,0.25), rgba(2,8,23,1));
}

.feed-post-author {
  font-size: 0.9rem;
  font-weight: 600;
}

.feed-post-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}

.feed-post-content p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.feed-post-footer {
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(148,163,184,0.3);
  padding-top: 6px;
  margin-top: 4px;
}

.feed-post-action {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

/* responsive layout */
@media (max-width: 1024px) {
  .feed-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .feed-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .feed-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-left {
    display: none;
  }
  .feed-card,
  .feed-sidebar-card {
    margin-bottom: 14px;
  }
}
/* extra controls for reactions/comments */

.feed-post-inline-form {
  display: inline-block;
}

.feed-post-action-link {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.feed-post-action-link:hover {
  opacity: 1;
}

.feed-post-action-link.danger {
  color: #f97373;
}

.feed-post-emoji-row {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.85;
  display: flex;
  gap: 6px;
  align-items: center;
}

.feed-post-emoji-list {
  font-size: 0.9rem;
}

.feed-emoji-select {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.98);
  color: #f9fafb;
  font-size: 0.78rem;
  padding: 2px 6px;
  margin-right: 4px;
}

/* comments */

.feed-comments {
  margin-top: 8px;
  border-top: 1px solid rgba(148,163,184,0.3);
  padding-top: 6px;
}

.feed-comment {
  margin-bottom: 6px;
}

.feed-comment-author {
  font-size: 0.8rem;
  font-weight: 600;
}

.feed-comment-meta {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.75rem;
}

.feed-comment-text {
  font-size: 0.85rem;
  opacity: 0.9;
}

.feed-comment-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.96);
  color: #f9fafb;
  font-size: 0.8rem;
  padding: 6px 8px;
  resize: vertical;
}
