 body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-weight: 500;
}

html,
body {
  height: 100%;
  margin: 0;
}

.loader {
  display: inline-flex;
  gap: 10px;
  margin: auto;
}
.loader:before,
.loader:after {
  content: "";
  height: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(#222 0 0) top/100% 40% no-repeat,
    radial-gradient(farthest-side, #000 95%, #0000) 50%/8px 8px no-repeat #fff;
  animation: l7 1.5s infinite alternate ease-in;
}
@keyframes l7 {
  0%,
  70% {
    background-size: 100% 40%, 8px 8px;
  }
  85% {
    background-size: 100% 120%, 8px 8px;
  }
  100% {
    background-size: 100% 40%, 8px 8px;
  }
}

.section {
  text-align: center;
  color: white;
  background: #111;
  font-family: "Inter", sans-serif;
  padding: 30px 0;
  width: 100%;
  border: 1px solid white;
  border-radius: 8px;
  display: none;
}

.avatars {
  display: flex;
  justify-content: center;
  gap: -10px;
  margin-bottom: 10px;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #111;
  margin-left: -10px;
}

.main-text {
  font-size: 16px;
  margin: 0;
}

.sub-text {
  font-size: 13px;
  color: #ccc;
}

.ad-container {
  position: relative;
  width: 100%;
  height: auto;
  background-image: url("22B4C65C-5164-460C-B6CE-35C3E92A1061.gif"); /* replace with your GIF path */
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: white;
  aspect-ratio: 16/9;
}

.visit-advertiser {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 49px;
  background-color: var(--clr-glass);
  cursor: pointer;
  font-weight: 600;
}

.sponsored {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--clr-glass);
  padding: 3px 6px;
  border-radius: 0px;
}

:root {
  --clr-bg: #000; /* pure black */
  --clr-text: #fff; /* white text */
  --clr-muted: #888; /* muted gray for sub-copy */
  --clr-glass: rgba(255, 255, 255, 0.08); /* frosted glass btn */
  --btn-hover: rgba(255, 255, 255, 0.16);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.container {
  padding: 10px;
}
nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #000;
}
nav p {
  font-size: 20px;
  font-weight: 500;
}

.search-icon {
  font-size: 40px;
  color: white;
  cursor: pointer;
}
#search-input input:focus {
  outline: none;
}
.rotate-45 {
  transform: rotate(-45deg);
}
.no-results-message{
  font-size: 13px;
}
.input {
  display: flex;
  align-items: center;
  gap: 0rem; /* optional spacing between icon and input */
}

.input svg {
  color: #999;
  flex-shrink: 0; /* prevent icon from shrinking */
}

.input input {
  flex: 1;
  outline: none;
  border-radius: 4px;

}



.right .search-icon,
.right .togglebtn {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.toggle {
  background-color: transparent;
  color: #000;
  border: none;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s;
}



/* Styling for the action button section */
.post-actions {
  display: flex;
  justify-content: flex-end; /* This aligns buttons to the right */
  align-items: center;
  gap: 8px; /* This creates space between the buttons */
  margin-top: 5px;
}

.action-btn {
  background: #141414;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.action-btn:hover {

  color: #fff;
}

.action-btn:active {
  transform: scale(0.92);
}

/* Add this class with JS to show a button is "liked" */
.action-btn.active {
  color: #f44336;
}

/* Add this class with JS to show a post is "saved" */
.save-btn.saved {
  color: #fccc2d;
}

.sort-section {
  text-align: center;
}

.sort-label {
  color: #d3d3d3;
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
}

.sort-label::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #808080;
}

.sort-options {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sort-option {
  background-color: #1a1a1a;
  color: #d3d3d3;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}



.sort-option.active {
  background-color: #2a2a2a;
}

.sort-option::before {
  content: attr(data-check);
  margin-right: 5px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  overflow-y: auto;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.079);
  backdrop-filter: blur(3px) saturate(180%);
  -webkit-backdrop-filter: blur(3px) saturate(180%);
}

.overlay-content {
  position: absolute;
overflow-y: auto;
  left: 50%;
  width: 100%;
  transform: translate(-50%, 0);
  background-color: white;
  padding: 12px 20px;
}

.overlay-content input {
  border: none;
  width: 100%;
  font-weight: 500;
  font-size: 16px;
}

#suggestion-form input {
  height: 50px;
}

.sub {
  margin-top: 30px;
  padding: 20px 17px 20px 15px;
  border-radius: 89px;
  background-color: #000;
  border: none;
  color: #fff;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input,
textarea {
  padding: 10px;
  font-weight: 500;
  font-size: 16px;
  border-radius: 18px;
}
input,
button {
  font-weight: 500;
  font-size: 16px;
  margin: 5px 0;
}

.popup-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.trigger-button {
  background-color: #000;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.079);
  backdrop-filter: blur(3px) saturate(180%);
  -webkit-backdrop-filter: blur(3px) saturate(180%);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  background-color: rgb(0, 0, 0);
 
  width: 100%;
  max-width: 500px;
  padding: 10px 20px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgb(255, 255, 255);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}



.popup-header {
  margin-bottom: 20px;
}

.popup-header h2 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: normal;
  color: #000;
  display: none;
}

.popup-header p {
  font-size: 14px;
  text-align: center;
  color: #999;
  font-weight: 500;
}

.form-control input,
.form-control textarea, .form-control select  {
  width: 100%;
  padding: 10px 5px;
  border-radius: 6px;
  border: none;
  color: #fff;
  background-color: #1e1e1e;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control select disabled {
  color: #9999;
}
#suggestion-word-count{
  text-align: left;
}
.form-control select {
  background-color: #1e1e1e;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  appearance: none; /* removes native styles (works in most browsers) */
}

option {
  background-color: #1e1e1e;
  color: #fff;
  padding: 10px;
}

.form-control input::placeholder .form-control textarea::placeholder {
  color: #ffffff;
}
.form-control label {
  display: none;
}
.form-control textarea {
  min-height: 120px;
}
.submit-btn {
  width: fit-content;
  padding: 10px 15px;
  border-radius: 45px;
  border: 1px solid rgb(255, 255, 255);
  background-color: white;
  color: black;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
}

.success-message {
  display: none;
  color: #28a745;
  font-size: 16px;
  margin: 15px 0;
  text-align: center;
  font-weight: 500;
}

.note {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  padding: 0 10px;
}

.post-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
}

.post-card {
 

  overflow: hidden;
}

.profile {
  background-color: transparent;
  padding: 10px;
  cursor: pointer;
}
.profilepic {
  display: none;
  height: 30px;
  width: 30px;
  background: var(--clr-muted);
  border-radius: 40px;
}
.framer-FAfxB .framer-jzaprc {
  align-content: center;
  align-items: center;
  display: flex;
  /* flex: none; */
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0px;
  height: 500px;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 960px;
}

/* Only center-align inside the hero section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.headline {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.subheadline {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2em;
  color: #777777;
}


.button-group {
  display: flex;
  align-items: center;
  height: 60px;
  justify-content: center;
  gap: 1rem;
}

.button {
  width: fit-content;
  padding: 15px 15px;
  border-radius: 5px;
  border: 1px solid rgb(255, 255, 255);
  background-color: transparent;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .button {
    justify-content: center;
    font-size: 14px;
    padding: 0.6rem 1.1rem;
  }
  .post-container {

    grid-template-columns: repeat(2, 1fr);

  }
}

@media (max-width: 480px) {
  .button {
    font-size: 13px;
    padding: 0.8rem 1rem;
  }
  .popup {
    padding: 200px 20px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }
  #search-results {
 
  padding:10px;
  
}
.post-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  padding: 20px;
}
.footer-nav {
  display: flex;
  justify-content: left;
flex-direction: column;
text-align: left;
 
}
}



.icon {
  display: inline-block;
  vertical-align: middle;
}

.top {
  position: absolute;

  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 20px;
  display: flex-end;
  flex-direction: row;
  font-size: 13px;
  font-weight: 500;
}

.content {
  background-color: #141414;
  padding: 10px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 500;
  white-space: pre-line;
}

.empty {
  padding: 10px;
  height: 50px;
}

.search-results {
  display: none;
  padding: 20px;
  background-color: #f9f9f9;
  margin-top: 73px;
  border-top: 2px solid #dfdfdf;
}

.search-results.active {
  display: block;
  z-index: 9998;
}

#search-results {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(255, 255, 255);
  overflow-y: auto;
  z-index: 99999;
 
  box-sizing: border-box;
}

#search-results.active {
  display: block;
}

.no-results-message {
  text-align: center;
  color: #888;
  font-size: 1.2em;
  margin-top: 40px;
}

#search-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: #eee;
  border: none;
  font-size: 2em;
  color: #333;
  cursor: pointer;
  z-index: 1100;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#search-close-btn:hover {
  background: #ccc;
}

.view-more-btn{
  display: none;
}
 .status-button  {
      position: fixed;
      bottom: 20px;
      left: 20px;
      padding: 10px 16px;
      background-color: #000000;
      border: 2px solid #ccc;
      border-radius: 8px;
      font-family: sans-serif;
      font-size: 14px;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
      z-index: 9999;
    }

    .status-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-left: 8px;
    }

    /* Status colors */
    .status-good .status-dot {
      background-color: #00cc66; /* Green */
    }

    .status-minor .status-dot {
      background-color: #ffcc00; /* Yellow */
    }

    .status-issue .status-dot {
      background-color: #ff3333; /* Red */
    }

    #loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: sans-serif;
  color: #333;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #333;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


    nav {
      background-color: #000;
      color: white;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .right {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .search-icon svg {
      fill: white;
      cursor: pointer;
    }

    .togglebtn button {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
    }

 /* Sidebar overlay styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%; /* Hidden by default */
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0); /* Optional dark overlay */
  color: white;
  padding: 2rem;
 
  z-index: 1000;
}

/* When sidebar is open */
.sidebar.open {
  left: 0;
}

/* Close button styles */
.sidebar .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}


    .sidebar h2 {
      margin-top: 0;
    }

    .sidebar ul {
      position:absolute;
      bottom:20px;
      left:20px;
      list-style: none;
      padding: 0;
      text-decoration: none;

    }

    .sidebar ul li {
      margin: 1rem 0;
      text-decoration: none;
      font-size: 42px;

    }
    .sidebar ul li a{
      text-decoration: none;
    }

/* Hashtag Styles */
.hashtag-suggestions {
  margin-top: 10px;
  padding: 10px;
  background: #000000;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.suggestion-title {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 500;
}

.hashtag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hashtag-chip {
  display: inline-block;
  padding: 4px 8px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.hashtag-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.hashtag-chip:active {
  transform: scale(0.95);
}

.hashtags-display {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 12px;
  background: #1a1a1a;
  border-radius: 4px;
  border: none;
  min-height: 20px;
}

.hashtags-display span{
  align-items: left;
  text-align: left;
}

.hashtag-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
}

.extracted-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.extracted-hashtag {
  display: inline-block;
  padding: 8px 8px;
  background: white;
  border-radius: 4px;
  font-size: 10px;
  color: #000;
  font-weight: 500;
}

.post-hashtags {
  display: flex;
  
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 4px;
  
  right: 0;
 
}

.post-hashtag {
  display: inline-block;
  padding: 6px 6px;
  background: #141414;
  border-radius: 0px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.post-hashtag:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hashtag-highlight {
  color: #4CAF50;
  font-weight: 600;
}

footer {
  background-color: #000;
  color: #ffffff;
  padding: 60px 0 0;
  font-size: 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 60px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.footer-nav a {
  color: #888;
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact p {
  color: #888;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.footer-contact a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 60px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 2px solid #444;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: #666;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-legal {
  margin-top:30px;
  border-top: 1px solid #333;
  padding: 30px 0;
  text-align: center;
}

.footer-legal p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.footer-legal a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
  gap: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-sections {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-bottom: 40px;
  }
  
  footer {
      padding: 40px 0 0;
  }
  
  .footer-inner {
      padding: 0 20px;
  }
  
  .footer-column h3 {
      font-size: 24px;
      margin-bottom: 25px;
  }
  
  .footer-nav a {
      font-size: 18px;
  }
  
  .footer-social {
      margin-top: 40px;
  }
  
  .footer-legal {
      padding: 25px 0;
  }
}

@media (max-width: 480px) {
  .footer-sections {
      gap: 20px;
  }
  
  footer {
      padding: 30px 0 0;
  }
  
  .footer-inner {
      padding: 0 15px;
  }
  
  .footer-column h3 {
      font-size: 20px;
      margin-bottom: 20px;
  }
  
  .footer-nav a {
      font-size: 16px;
  }
  
  .footer-social {
      gap: 15px;
      margin-top: 30px;
  }
  
  .footer-social a {
      width: 36px;
      height: 36px;
  }
  
  .footer-legal {
      padding: 20px 0;
  }
}
/* Modal background */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
 
  background: #fff;
  overflow: auto;
}

/* Scrollable modal body */
.modal-body {
 
  overflow-y: auto;   /* scroll if too long */
  padding-right: 10px;
}

.modal-body h3 {
  margin-top: 20px;
  color: #111;
  font-size: 16px;
}

.modal-body p, 
.modal-body ul {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.modal-body ul {
  margin: 10px 0 20px 20px;
  list-style: square;
}

/* Modal content box */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px 30px;
 
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.3s ease;
  background: #fff;
  color: #333;
  
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.modal-content h2 {
  margin-top: 0;
  margin-top: 10px;
  color: #111;
}

.modal-content p {
  color: rgb(138, 138, 138);
  font-weight:500;
  line-height: 1.6;
}

/* Close button */
.close {
  position: fixed;
  right: 20px;
  top: 20px;
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}