/* lexend-deca-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lexend-deca-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-deca-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/lexend-deca-v25-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-deca-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/lexend-deca-v25-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lexend-deca-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lexend-deca-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
font-family: "Lexend Deca", sans-serif;
font-size:13px;
font-weight: 300;
margin: 0;
padding: 0;
color:rgb(82 82 82);
background-color: #121212;
color: #fff;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* ==================================
   GLOBAL DARK MODE (FULL PAGE)
================================== */



/* Dark mode base */
body.dark-mode {
  background-color: #0f1115;
  color: #e5e7eb;
}
/* Headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #ffffff;
}
body.dark-mode .download-image-btn small{
  color: #000 !important;
}
/* Paragraphs & text */
body.dark-mode p,
body.dark-mode li,
body.dark-mode .tab,
body.dark-mode .download {
  color: #cbd5e1 !important;
}
body.dark-mode .tabs {    
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .story-post {    
    border: 1px solid #0f1115 !important;
}
body.dark-mode .tab.active {
    border-color: rgba(255, 255, 255, 0.1) !important;    
}
body.dark-mode .story-post p,
body.dark-mode .story-post li,
body.dark-mode .story-post time {
  color: #374151 !important;
}
/* Links */
body.dark-mode a {
  color: #fff;
}

body.dark-mode .navbar-brand:hover {
  color: #fff;
}
.navbar-brand:hover {
  color: #fff;
}
body.dark-mode .dropdown-divider {border-top: 1px solid rgba(255, 255, 255, 0.1) !important;}
/* Sections */
body.dark-mode section {
  background-color: transparent;
}

/* Light backgrounds → dark glass */
body.dark-mode .bg-light {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* Feature / card-like blocks */
body.dark-mode .container,
body.dark-mode .container-fluid {
  color: inherit;
}

/* Inputs */
body.dark-mode .form-control {
  background-color: #1c1f26;
  border-color: #2a2f3a;
  color: #ffffff;
}

body.dark-mode .form-control::placeholder {
  color: #9ca3af;
}

/* Buttons */
body.dark-mode .btn-dark {
  background-color: #2563eb;
  border-color: #2563eb;
}

/* FAQ boxes */
body.dark-mode .faq {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px 25px;
  border:1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Footer */
body.dark-mode .footer {
  background-color: #0f1115;
  border-top:1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .footer a {
  color: #9ca3af;
}
body.dark-mode .location{color:#000;}
/* Yellow CTA section */
body.dark-mode .bg-warning {
  background-color: #facc15 !important;
  color: #000;
}
.social-icon{filter: invert(0%) sepia(82%) saturate(18%) hue-rotate(273deg) brightness(88%) contrast(104%);}
body.dark-mode .social-icon {filter: invert(93%) sepia(4%) saturate(732%) hue-rotate(178deg) brightness(92%) contrast(91%);}
.faq{padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #222222;}
.hero-bg {    
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at center 48%,
      rgba(28, 43, 40, 0.72) 0%,
      rgba(16, 24, 23, 0.55) 34%,
      rgba(10, 12, 12, 0.96) 72%,
      #090909 100%
    );
}

/* thin teal line at the very top, like your reference image */
#.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 234, 0.45),
    transparent
  );
  pointer-events: none;
}

/* soft dark glow behind the form/content */
#.hero-bg::after {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  width: 820px;
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(37, 54, 50, 0.45) 0%,
    rgba(20, 29, 27, 0.28) 42%,
    transparent 75%
  );
  filter: blur(35px);
  pointer-events: none;
}

/* keep content above background */
.hero-bg .container {
  position: relative;
  z-index: 2;
}

/* optional spacing adjustment */
.hero {
  padding: 90px 0 110px;
}
.hero-section .container {
position: relative;
}

.hero-text h1 {
font-size: 48px;
font-weight: 700;
color: #1d1d1d;
}

.hero-text h1 span {
color: #FFFC00;
}
.banner-section {
position: relative;
background: linear-gradient(to right, #fff, #fef3ec);
padding:100px 0 30px;
overflow: hidden;
margin-top: -73px;
z-index:1;
}
.banner-section .container {
z-index: 2;
position: relative;
}

.banner-text h1 {
font-size: 38px;
font-weight: 700;
color: #1d1d1d;
}

.banner-text h1 span {
color: #ff9900;
}

.email-box {
display: flex;
max-width: 500px;
margin-top: 20px;
}

.email-box input {
flex: 1;
padding: 12px 16px;
border: 1px solid #ccc;
border-radius: 30px 0 0 30px;
}

.email-box button {
border: none;
padding: 12px 24px;
border-radius: 0 30px 30px 0;
background: #000;
color: #fff;
font-weight: 500;
}

.stats-col {
position: relative;
}

.floating-boxes {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
gap: 20px;
}

.floating-box {
background: #fff;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 400px;
animation: fadeInUp 1s ease forwards;
opacity: 0;
}

.floating-box:nth-child(1) { animation-delay: 0.2s; }
.floating-box:nth-child(2) { animation-delay: 0.4s; }
.floating-box:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
0% { opacity: 0; transform: translateY(30px); }
100% { opacity: 1; transform: translateY(0); }
}
.faq-container{background:linear-gradient(to right, #fff3cd 40%, #fff 40%);}
.features h3{font-size: 1.25rem;line-height: 1.75rem;font-weight:600}
.features-icon{width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  display: inline-grid;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);}
.why-use h3{font-size: 1.25rem;line-height: 1.75rem;font-weight:700}
.testimonial {
text-align: center;
padding: 30px 60px;
}

.testimonial .avatar {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 15px;
}

.testimonial .name {
font-weight: 600;
margin-top: 10px;
font-size: 1.1rem;
}

.testimonial .text-muted {
font-size: 1rem;
}

.carousel-inner {
border-radius: 12px;
padding: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
filter: invert(32%) sepia(78%) saturate(534%) hue-rotate(185deg) brightness(90%) contrast(90%);
}

/* Responsive tweaks */
@media (max-width: 768px) {
.testimonial {
padding: 20px;
}

.testimonial .avatar {
width: 60px;
height: 60px;
}

.testimonial .name {
font-size: 1rem;
}

.testimonial .text-muted {
font-size: 0.95rem;
}

.carousel-inner {
padding: 20px;
}
}
.footer{border-top: 1px solid #222222;}
.footer-brand{font-weight: 400;font-size:20px}
.footer-brand a:hover{text-decoration:none !important;}
.footer a{color: #fff;text-decoration: none;}
.footer a:hover{color: #00f2ea;text-decoration: underline;}
@media (max-width: 480px) {
.testimonial .text-muted {
font-size: 0.9rem;
}
.dn-mobile {display:none;}
}
@media (max-width: 576px) {
.hero-section {margin-top: 0px;padding: 25px 0 35px;}
.banner-section {margin-top: 0px;padding: 25px 0 35px;}
.mobile-menu{padding:10px 30px;}
.mobile-menu-button{padding:0.5rem 0;}
.faq-container{background:linear-gradient(to right, #fff3cd 100%, #fff 100%);}
.navbar-nav {margin-top: 10px auto;}
}
.navbar-brand .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  margin-bottom:5px;
}

.navbar-brand .brand-text {
  line-height: 1.2;
}

.sub-brand {
  display: block;
  line-height: 1.25;
  opacity: 0.85;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.75rem;
  margin-bottom: 0;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge-item svg {
  display: block;
  flex-shrink: 0;
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.social-share > span {
  display: inline-flex;
  align-items: center;
}

.lang-switch-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch-flag {
  flex-shrink: 0;
  display: block;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  min-width: 44px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


/* Dark mode glass */
body.dark-mode .navbar {
  background: rgba(20, 20, 20, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .custom_breadcrumb {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: #fff;
    content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
}
/* Navbar links */
.navbar .nav-link {
  font-weight: 500;
}

/* Glass button */
.btn-glass {
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 3px 14px;
  font-size:13px;
  color:#fff
}
.btn-glass:hover {
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 3px 14px;
  font-size:13px;
  color:#fff
}

body.dark-mode .btn-glass {
  padding: 3px 14px;
  background-color:#fff;
  border-radius:50px;
  color: #000;
}

/* Dropdown */
.dropdown-menu {
  backdrop-filter: blur(12px);
  background: #131313cc;
  padding: 15px;
}

body.dark-mode .dropdown-menu {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* ===============================
   DARK / LIGHT ICON TOGGLE
================================ */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 50px;
  border: none;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  transition: background 0.3s ease;
}

.theme-toggle span {
  font-size: 14px;
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default: Light mode */
.icon-moon {
  opacity: 0;
  transform: translateX(6px);
}

/* Dark mode active */
body.dark-mode .theme-toggle {
  background: rgba(255, 255, 255, 1);
}

body.dark-mode .icon-sun {
  opacity: 0;
  transform: translateX(-6px);
}

body.dark-mode .icon-moon {
  opacity: 1;
  transform: translateX(0);
}


.profile-header {
  padding-bottom: 20px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 760px;
}

.profile-avatar {
  width: 178px;
  height: 178px;
  flex: 0 0 178px;
  border-radius: 50%;
  padding: 3px;
}

.profile-avatar.active {
  cursor: pointer;
  box-shadow: 0 0 0 0px white, 0 0 0 3px #00f2ea;
}

.profile-avatar img,
.profile-avatar .avatar {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.profile-right {
  min-width: 0;
  max-width: 100%;
}

.profile-name-box {
  min-width: 0;
}

.profile-name-share {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  min-width: 0;
}

.profile-title .name {
  display: block;
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-username {
  margin-top: 6px;
  color: #9ca3af;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified {
  display: inline-flex;
  align-items: center;
}

.profile-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 22px;
}

.profile-stat {
  min-width: 4.5rem;
}

.profile-stat dt {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.profile-stat dd {
  margin: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.profile-bottom-area {
  margin-top: 16px;
}

.bio {
  margin-top: 8px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.profile-meta {
  margin-top: 0.75rem;
}

.profile-meta-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

.download-image-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  margin-top: 10px;
}

.download-image-btn svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 28px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info h1,
.profile-info h2 {
  margin: 0;
  font-size: 36px;
  font-weight:700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
    background: #00f2ea !important;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 400;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.profile-stat {
  min-width: 4.5rem;
}

.profile-stat dt {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.profile-stat dd {
  margin: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.profile-meta {
  margin-top: 0.75rem;
}

.profile-meta-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

.profile-meta-link {
  font-size: 0.875rem;
  text-decoration: none;
}

.profile-meta-link:hover {
  text-decoration: underline;
}

.meta {
  color: #666;
  margin: 6px 0;
  font-size: 14px;
}

.location {
  display: inline-block;
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin: 6px 0;
}

.bio {
  margin-top: 8px;
}

/* =====================
   TABS
===================== */

.tabs {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
  background: none;
  border: none;
  font-size: 16px;
  padding-bottom: 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: #b9cac8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tab svg {
  flex-shrink: 0;
}

.tab.active {
  border-color: #b9cac8;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .tabs {
    margin-top: 36px;
    gap: 52px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    font-size: 16px;
  }
}

/* =====================
   SORT BAR
===================== */

.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

select {
  padding: 6px 10px;
  border-radius: 8px;
}

/* =====================
   GRID
===================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* =====================
   CARD
===================== */

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 286px;
  min-height: 286px;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card-body p {
  font-size: 12px;
  color: #555;
  margin: 0 0 10px;
}

/* =====================
   TAGS
===================== */

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span {
  background: #f2f2f2;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 12px;
}
.user-name{font-size: 36px;font-weight: 700;}

/* ==============================
   PROFILE IMAGE WITH BORDER
============================== */

.profile-avatar {
  width: 178px;
  height: 178px;
  border-radius: 50%;
  padding: 3px;  
}

.profile-avatar.active {
  cursor: pointer;                       
  box-shadow: 0 0 0 0px white, 0 0 0 3px #00f2ea;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  min-width:172px;
  min-height:172px;
}
.story-post {  
  cursor: pointer;
  color: #1f2937;
}

.story-post .card-body {
  color: #1f2937;
}

.pinned-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #fe2c55;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}

/* ================================
   SOCIAL SHARE (SNAPCHAT STYLE)
================================ */

.share-wrapper {
  position: relative;
  display: inline-flex;  
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f1f1;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.download-image-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: left;
  white-space: nowrap;
  max-width: 100%;
}

.download-image-btn svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.profile-actions {
  display: inline-flex;
  align-items: center;
}

.share-menu {
	position: absolute;
    top: 0;                  /* start at top of parent */
    left: -180%;              /* distance from parent */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.share-wrapper.active .share-menu {
  opacity: 1;
  visibility: visible;
}

.share-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

/* Brand colors */
.facebook { background: #1877f2; }
.twitter { background: #000; }
.whatsapp { background: #25d366; }
.reddit { background: #ff4500; }
.pinterest { background: #e60023; }
.email { background: #888; }
.snapchat { background: #fffc00; color: #000; }

.verified{margin-top:-4px}

.breadcrumb-wrap {
  padding: 10px 0;    
  font-size: 14px;
}

.breadcrumb {
  background: transparent;
}

.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: none;
}

.page-content p, .page-content h2, .page-content h3{font-size:16px}
.author p {font-size:14px}
.page-content a{color:#111111;text-decoration:none;}
.page-content a:hover{color:#111111;text-decoration:underline;}

.story-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1040;
}

.story-modal-root {
  display: none;
}

.story-modal-root.is-open {
  display: block;
}

.story-modal-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

body.modal-open {
  overflow: hidden;
}

.story-video-loading {
  opacity: 0;
}

.story-video-ready,
.story-modal-content video.story-video[controls] {
  opacity: 1;
}

.story-modal-actions {
  position: relative;
  z-index: 11;
  flex-shrink: 0;
}

.story-modal-topbar {
  z-index: 30;
  pointer-events: none;
  padding-top: max(1rem, env(safe-area-inset-top));
}

.story-modal-topbar > * {
  pointer-events: auto;
}

.multi-photo-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.story-modal-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.65);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.story-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
  opacity: 1;
}

.story-video-ready {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.story-modal-content .modal-dialog {
  width: min(100%, calc((100dvh - 20vh) * 9 / 16));
  max-width: 100%;
  margin-inline: auto;
}

.story-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  border-radius: 0.75em;
}

.story-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  background: #000;
}

.story-media-frame video.story-media-layer {
  z-index: 1;
}

.story-media-container {
  width: 100%;
}

.story-nav-btn {
  width: 2.5em;
  height: 2.5em;
  transition: all 0.2s ease;
  box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.story-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.4);
}

.story-nav-btn .spinner-border {
  width: 20px !important;
  height: 20px !important;
  border-width: 2.5px !important;
  border-color: #000 !important;
  border-right-color: transparent !important;
  border-radius: 50% !important;
  display: inline-block;
  vertical-align: text-bottom;
}

.story-nav-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.story-tiktok-chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 12;
  padding: 10px 12px 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 100%);
  pointer-events: none;
}

.story-progress {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.story-progress-segment {
  flex: 1 1 0;
  height: 2.5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
}

.story-progress-fill {
  width: 0;
  height: 100%;
  background: #fff;
}

.story-tiktok-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
}

.story-tiktok-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.story-tiktok-name {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.story-tiktok-time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.story-tiktok-chrome .story-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.35);
}

@media (max-width: 48em) {
  .story-modal-content {
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
  }

  .story-modal-content .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .story-modal-content .modal-content {
    border-radius: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .story-modal-content .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .story-modal-content .modal-body > div {
    min-height: 0;
    height: 100%;
    width: 100%;
  }

  .story-media-frame {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .story-tiktok-chrome {
    padding-top: max(10px, env(safe-area-inset-top));
  }
}

@media (min-width: 48.0625em) {
  .story-modal-content .modal-dialog {
    width: min(90vw, calc((100dvh - 18vh) * 9 / 16));
    max-width: 100%;
  }
}

body.profile-modal-open {
  overflow: hidden;
}

.profile-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1040;
  animation: fadeIn 0.2s ease;
}

.profile-modal-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background: #000;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.2s ease;
  overflow: hidden;
}

.profile-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1060;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.2s ease;
  border: none;
}

.profile-modal-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
  transform: rotate(90deg);
}

.profile-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  z-index: 1055;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.profile-modal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-modal-header h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.profile-modal-header small {
  font-size: 13px;
  opacity: 0.8;
}

.profile-modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 70px;
}

.profile-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.profile-story-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.video-play-pause-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-play-pause-icon.show {
  opacity: 1;
}

.video-play-pause-icon svg {
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.profile-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 0;
}

.profile-nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.profile-nav-btn-left {
  left: 16px;
}

.profile-nav-btn-right {
  right: 16px;
}

.profile-nav-btn svg {
  width: 24px;
  height: 24px;
  color: #000;
}

.profile-modal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 1055;
  background: transparent;
}

.profile-download-btn {
  width: 100%;
  padding: 14px 20px;
  background: #FFFC00;
  color: #000;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
}

.profile-download-btn:hover {
  background: #FFE600;
  transform: translateY(-2px);
}

.profile-download-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .profile-modal-header {
    padding: 12px 16px;
  }

  .profile-modal-avatar {
    width: 36px;
    height: 36px;
  }

  .profile-modal-header h6 {
    font-size: 14px;
  }

  .profile-modal-header small {
    font-size: 12px;
  }

  .profile-modal-body {
    padding: 50px 0 60px;
  }

  .profile-nav-btn {
    width: 40px;
    height: 40px;
  }

  .profile-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .profile-nav-btn-left {
    left: 12px;
  }

  .profile-nav-btn-right {
    right: 12px;
  }

  .profile-download-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .profile-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
}

/* ===============================
   DESKTOP HOVER DROPDOWN (CSS ONLY)
================================ */

/* ===============================
   MOBILE DROPDOWN FIX
================================ */


[x-cloak] {
            display: none !important;
        }

.recent-search-host {
    position: relative;
    z-index: 5;
}

.recent-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.5rem 0;
    text-align: start;
    background: #1c1b1d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.recent-search-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 1rem 0.65rem;
}

.recent-search-dropdown__title {
    margin: 0;
    color: #8b9296;
    font-size: 0.8rem;
    font-weight: 500;
}

.recent-search-dropdown__clear {
    border: 0;
    padding: 0;
    background: transparent;
    color: #00f2ea;
    font-size: 0.8rem;
    font-weight: 600;
}

.recent-search-dropdown__clear:hover {
    color: #5ffbf4;
}

.recent-search-dropdown__item {
    display: block;
    width: 100%;
    border: 0;
    padding: 0.7rem 1rem;
    background: transparent;
    color: #fff;
    text-align: start;
    font-size: 0.95rem;
    font-weight: 500;
}

.recent-search-dropdown__item:hover,
.recent-search-dropdown__item:focus-visible {
    background: rgba(255, 255, 255, 0.05);
}

.turnstile-fly {
    position: absolute;
    right: 8px;
    top: calc(100% + 8px);
    z-index: 40;
    display: none;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: start;
}

.turnstile-fly.is-visible {
    display: block;
}

@media (max-width: 768px) {
    .turnstile-fly {
        right: 50%;
        transform: translateX(50%);
    }
}
.profile-modal-body {
    padding: 0;
    height: 70vh;
}

.profile-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.profile-story-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-play-pause-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

.video-play-pause-icon.show svg.play-icon {
    display: block;
}

.video-play-pause-icon.show svg.pause-icon {
    display: none;
}

.video-play-pause-icon:not(.show) svg.play-icon {
    display: none;
}

.video-play-pause-icon:not(.show) svg.pause-icon {
    display: block;
}


  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #ffffff;
    border: none;
    padding: 6px;
    border-radius: 6px;    
    cursor: pointer;
    font-size: 16px;
    display: none; /* Hidden by default */
    transition: background 0.3s, transform 0.2s;
	border: 1px solid #dee2e6;
  }

  #backToTop:hover {
    background-color: #f0f0f0;    
  }
.app-download-banner{display:none;
    width:100%;
    background:#FFFC00;
    color:#000;
    padding:12px 20px;    
    box-sizing:border-box;
    position:relative;
    text-align:center;}
.banner-close-btn{position:absolute;
        right:10px;
        top:50%;
        transform:translateY(-50%);
        background:transparent;
        border:none;
        color:#000;
        font-size:16px;
        cursor:pointer;}
.whatsapp-float {
    position: fixed;
    left: 12px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 6px;
    padding: 5px;    
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;    
  }
  .whatsapp-float:hover {    
    color: white;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: white;
  }
@media (min-width: 992px) {
  .navbar .nav-item.dropdown {
    position: relative;
  }

  .navbar .nav-item.dropdown > .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: -10px;
    margin-top: 8px !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 9999;
  }

  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }
}

.social-btn {
  height: 35px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;  
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Share icon */
.share-main {
  width: 38px;
  padding: 0;
  justify-content: center;
  background: #2b2c2f;
}

.share-main:hover {
  background: #34363a;
}

/* Brand buttons */
.facebook {
  background: #1877F2;
}

.facebook:hover {
  background: #2f86ff;
}

.whatsapp {
  background: #25D366;
}

.whatsapp:hover {
  background: #2ee978;
}

.twitter {
  background: #000000;
  border-color: #2b2c2f;
}

.twitter:hover {
  background: #1a1a1a;
  border-color: #444;
}

.telegram {
  background: #229ED9;
}

.telegram:hover {
  background: #34aeea;
}

.reddit {
  background: #FF4500;
}

.reddit:hover {
  background: #ff5a1f;
}
.features-svg{
  width: 65px;
  height: 65px;
  border-radius: 50px;
  background: #00f2ea1a;
  display: inline-grid;
  min-width: 44px;
  align-items: center;
  justify-content: center;  
  }
.features {
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  background:#090909;
  position:relative;
}
.features a{text-decoration:none;}
.features:hover {
  transform: translateY(-1px);
  border-color: #00f2ea !important;
}
.features-heading {font-size:20px;padding: 10px 0 0}  
.step{background: #20fff7;
    padding: 4px 10px;
    border-radius: 6px;
    color: #090909;}
.how-to-content{padding:50px 0px 0px;border-radius:11px;background:#121212;}
.download-box {
      position: relative;
      z-index: 5;
      margin-inline: auto;
      display: flex;
      gap: 16px;
      padding: 8px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 18px;
      background: #121414;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    .url-field {
      flex: 1;
      height: 50px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 18px;
      border: 1px solid transparent;
      border-radius: 11px;
      background: #1c1b1d;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .url-field:focus-within {
      border-color: #00f2ea;
      box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.12);
    }

    .url-field span {
      width: 20px;
      height: 20px;
      flex: 0 0 auto;
      color: #00f2ea;
    }

    .url-field input {
      width: 100%;
      border: 0;
      outline: 0;
      background: transparent;
      color: #fff;
      font-size: 16px;
      font-weight: 500;
    }

    .url-field input::placeholder {
      color: #5f6466;
      opacity: 1;
    }

    .paste-btn,
    .download-btn {
      height: 50px;
      border: 0;
      border-radius: 11px;
      font-size: 16px;      
      letter-spacing: 0.2px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .paste-btn {
      min-width: 126px;
      color: #fff;
      background: #2b2c2f;
    }

    .paste-btn:hover {
      background: #34363a;
      transform: translateY(-1px);
    }

    .paste-btn svg {
      width: 16px;
      height: 16px;
    }

    .download-btn {
      min-width: 258px;
      color: #061616;
      background: #00f2ea;      
      box-shadow: 0 0 26px rgba(0, 242, 234, 0.12);
    }

    .download-btn:hover {
      color: #061616;
      background: #20fff7;
      transform: translateY(-1px);
      box-shadow: 0 0 34px rgba(0, 242, 234, 0.28);
    }

    .download-btn svg {
      width: 16px;
      height: 16px;
    }

    .download-btn .spinner-border {
      width: 1rem;
      height: 1rem;
      border-width: 0.15em;
    }

    .paste-btn:active,
    .download-btn:active {
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .download-box {
        flex-direction: column;
      }

      .paste-btn,
      .download-btn {
        width: 100%;
        min-width: 0;
      }
	  .url-field {
    flex: none;
    width: 100%;
  }

}

/* RTL (e.g. Arabic): mirror custom LTR-only rules */
[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Lexend Deca", sans-serif;
}

[dir="rtl"] .banner-section {
  background: linear-gradient(to left, #fff, #fef3ec);
}

[dir="rtl"] .faq-container {
  background: linear-gradient(to left, #fff3cd 40%, #fff 40%);
}

[dir="rtl"] .email-box input {
  border-radius: 0 30px 30px 0;
}

[dir="rtl"] .email-box button {
  border-radius: 30px 0 0 30px;
}

[dir="rtl"] #backToTop {
  right: auto;
  left: 30px;
}

[dir="rtl"] .whatsapp-float {
  left: auto;
  right: 12px;
}

[dir="rtl"] .banner-close-btn {
  right: auto;
  left: 10px;
}

[dir="rtl"] .share-menu {
  left: auto;
  right: -180%;
}

[dir="rtl"] .profile-modal-close {
  right: auto;
  left: 16px;
}

[dir="rtl"] .profile-nav-btn-left {
  left: auto;
  right: 16px;
}

[dir="rtl"] .profile-nav-btn-right {
  right: auto;
  left: 16px;
}

[dir="rtl"] body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-right: 0;
  padding-left: var(--bs-breadcrumb-item-padding-x);
}

@media (min-width: 992px) {
  [dir="rtl"] .navbar .nav-item.dropdown > .dropdown-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 768px) {
  [dir="rtl"] .profile-modal-close {
    right: auto;
    left: 12px;
  }

  [dir="rtl"] .profile-nav-btn-left {
    left: auto;
    right: 12px;
  }

  [dir="rtl"] .profile-nav-btn-right {
    right: auto;
    left: 12px;
  }
}
@media (max-width: 767.98px) {

  body {
    overflow-x: hidden;
  }

  .profile-layout {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    max-width: 100%;
  }

  .profile-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
  }

  .profile-right {
    display: contents;
  }

  .profile-name-box {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .profile-name-share {
    gap: 8px;
  }

  .profile-title {
    font-size: 34px;
  }

  .profile-title .name {
    max-width: 100%;
  }

  .profile-username {
    font-size: 13px;
    margin-top: 8px;
  }

  .profile-stats {
    grid-column: 1 / -1;
    grid-row: 2;
    /* display: grid; */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 22px;
    margin-top: 20px;
  }

  .profile-stat {
    min-width: 0;
  }

  .profile-stat dt {
    font-size: 13px;
  }

  .profile-stat dd {
    font-size: 18px;
  }

  .profile-bottom-area {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
  }

  .bio {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .download-image-btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
  }

  .share-btn {
    width: 34px;
    height: 34px;
  }

  .share-menu {
    top: 42px;
    left: auto;
    right: 0;
    flex-direction: row;
    border-radius: 999px;
  }
}

@media (max-width: 380px) {

  .profile-layout {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
  }

  .profile-title {
    font-size: 30px;
  }
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
}

.avatar-download-btn {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.story-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #00f2ea;
  color: #061616;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.follow-list-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.follow-list-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 11px;
  color: #374151;
}

.story-post .post-stats li {
  color: #374151;
}

.story-post .post-date {
  color: #4b5563;
}

.photo-carousel {
  position: relative;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-carousel:focus {
  outline: 2px solid rgba(0, 242, 234, 0.45);
  outline-offset: 2px;
}

.photo-carousel-viewport {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  max-height: 789px;
  background: #000;
}

.photo-carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 789px;
  margin: 0 auto;
}

.photo-carousel-image {
  width: 100%;
  max-height: 789px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-carousel-slides .photo-carousel-image {
  position: absolute;
  inset: 0;
  margin: auto;
}

.photo-carousel-progress {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 3px;
}

.photo-carousel-segment {
  flex: 1;
  min-width: 0;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.photo-carousel-segment.passed {
  background: rgba(255, 255, 255, 0.72);
}

.photo-carousel-segment.active {
  background: #00f2ea;
  transform: scaleY(1.35);
}

.photo-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #061616;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.photo-carousel-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.photo-carousel-nav.prev {
  left: 12px;
}

.photo-carousel-nav.next {
  right: 12px;
}

.photo-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-carousel-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.photo-carousel-control:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 242, 234, 0.45);
}

.photo-carousel-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.photo-carousel-status {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .photo-carousel-nav {
    display: none;
  }

  .photo-carousel-controls {
    padding: 10px 12px;
  }

  .photo-carousel-control span {
    display: none;
  }

  .photo-carousel-control {
    min-width: 44px;
    justify-content: center;
    padding: 0;
  }
}

.comments-layout .comments-video-panel {
  position: sticky;
  top: 0;
  align-self: start;
}

.story-control-btn {
  opacity: 0.85;
}

.trending-skeleton-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #1a1d24;
}

.trending-skeleton-media {
  aspect-ratio: 9 / 16;
  width: 100%;
  background: linear-gradient(90deg, #1a1d24 25%, #2a2f3a 37%, #1a1d24 63%);
  background-size: 400% 100%;
  animation: trending-skeleton-shimmer 1.2s ease-in-out infinite;
}

.trending-skeleton-line {
  height: 10px;
  margin: 10px 8px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #22262f 25%, #343b48 37%, #22262f 63%);
  background-size: 400% 100%;
  animation: trending-skeleton-shimmer 1.2s ease-in-out infinite;
}

.trending-skeleton-line.short {
  width: 55%;
  margin-bottom: 10px;
}

@keyframes trending-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.vts-submit-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 12, 0.72);
}

.vts-submit-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  border-radius: 16px;
  background: #15181f;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.vts-submit-loader-card p {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

body.vts-submit-loading {
  overflow: hidden;
}