
    /* =============== Theme Variables =============== */
    :root {
      /* Dark mode (default) */
      --bg-color: #000000;
      --text-color: #ffffff;
      --card-bg: #151515;
      --input-bg: #1e1e1e;
      --border-color: rgba(255, 255, 255, 0);

      --secondary-text: #a8b4c0;
      --tertiary-text: #6b7684;
      --hover-bg: rgba(255, 255, 255, 0.05);
      --glass-bg: rgba(10, 10, 10, 0.8);
      --electric-blue: #1d9bf0;
      --electric-blue-hover: #1a8cd8;
      --gradient-start: #1d9bf0;
      --gradient-end: #8b5cf6;
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .light-mode {
      --bg-color: #f8f9fa;
      --text-color: #212529;
      --card-bg: #ffffff;
      --input-bg: #f1f3f5;
      --border-color: rgba(255, 255, 255, 0);

      --secondary-text: #6c757d;
      --tertiary-text: #495057;
      --hover-bg: rgba(0, 0, 0, 0.05);
      --glass-bg: rgba(255, 255, 255, 0.8);
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* =============== Base & Reset =============== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: var(--bg-color);
      color: var(--text-color);
      min-height: 100vh;
      padding-top: 0;
      padding-bottom: 80px;
      transition: background-color 0.3s, color 0.3s;
    }

    /* =============== Header =============== */
    .header {
      display: none; /* Hide the original header */
    }

    /* =============== Secondary Menu =============== */
    .secondary-menu {
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      bottom: -250px;
      width: 200px;
      background: var(--glass-bg);
      border-radius: 20px;
      padding: 1rem;
      backdrop-filter: blur(10px);
      transition: bottom 0.3s ease;
      z-index: 99;
      height: 250px;
      overflow-y: auto;
    }

    .secondary-menu.active {
      bottom: 85px;
    }

    .secondary-menu h3 {
      color: var(--electric-blue);
      margin-bottom: 1rem;
      font-size: 1.25rem;
      font-weight: 600;
    }

    .secondary-menu a {
      display: flex;
      align-items: center;
      padding: 0.75rem;
      margin-bottom: 0.5rem;
      color: var(--secondary-text);
      text-decoration: none;
      border-radius: 10px;
      transition: all 0.2s ease;
      font-size: 0.9rem;
      cursor: pointer;
    }

    .secondary-menu a:hover {
      background: var(--hover-bg);
      color: var(--electric-blue);
    }

    .secondary-menu a i {
      margin-right: 0.75rem;
      width: 16px;
      text-align: center;
    }

    /* =============== Main Content =============== */
    .main-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1rem 6rem;
    }

    .profile-info {
      text-align: center;
      padding: 2rem;
      margin-bottom: 2rem;
      background: var(--glass-bg);
      backdrop-filter: blur(10px);

      border-radius: 20px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .profile-info:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      
    }

    .pimg {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      border: 3px solid var(--electric-blue);
      margin-bottom: 1rem;
      object-fit: cover;
      transition: all 0.3s ease;
    }

    .pimg:hover {
      transform: scale(1.05);
      box-shadow: 0 0 30px rgba(29, 155, 240, 0.4);
    }

    .username {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .verified-badge {
      color: #ffd700 !important;
      filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }

    /* =============== Cards =============== */
    .card {
      background: var(--glass-bg);
      border-radius: 20px;
      padding: 1.5rem;

      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      margin-bottom: 1rem;
    }
a{
    text-decoration: none !important;
}
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      
    }

    .box-container {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      max-width: 800px;
      margin: 0 auto;
    }

    .box {
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 1.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .box:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      
    }

    .flex-btn {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }

    /* =============== Primary Buttons =============== */
    .option-btn, .btn {
      flex: 1;
      min-width: 140px;
      padding: 0.75rem 1.5rem;
      background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
      color: white;
      text-decoration: none;
      border-radius: 50px;
      text-align: center;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .option-btn:hover, .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }

    /* =============== Tab Navigation =============== */
    .tab-container {
      display: flex;
      justify-content: center;
      margin-bottom: 2rem;
      border-bottom: 1px solid var(--border-color);
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 0.5rem;
      gap: 0.5rem;
      overflow-x: auto;
    }

    .tab-button {
      padding: 1rem 2rem;
      background: transparent;
      border: none;
      font-size: 1rem;
      font-weight: 600;
      color: var(--secondary-text);
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      border-radius: 16px;
      white-space: nowrap;
    }

    .tab-button.active {
      color: var(--electric-blue);
    }

    .tab-button.active::after {
      content: '';
      position: absolute;
      bottom: -0.5rem;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
      border-radius: 3px 3px 0 0;
    }

    .tab-button:hover:not(.active) {
      background: var(--hover-bg);
      color: var(--electric-blue);
    }

    /* =============== Tab Content =============== */
    .tab-content {
      display: none;
      padding: 1rem 0;
      margin-bottom: 6rem;
    }

    .tab-content.active {
      display: block;
    }

    /* =============== Posts =============== */
    .post-admin {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .post-admin .pimg {
      width: 50px;
      height: 50px;
      border-width: 2px;
    }

    .ainfo {
      flex: 1;
    }

    .profile-link {
      font-weight: 600;
      color: var(--primary-text);
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .profile-link:hover {
      color: var(--electric-blue);
    }

    .dat {
      color: var(--tertiary-text);
      font-size: 0.85rem;
    }

    .post-content {
      margin: 1rem 0;
      line-height: 1.6;
      color: var(--secondary-text);
    }

    .post-image {
      border-radius: 16px;
      margin: 1rem 0;
      max-width: 100%;
      height: auto;
    }
    .post-video {
      border-radius: 16px;
      margin: 1rem 0;
      max-width: 100%;
      height: auto;
    }

    .icons {
      display: flex;
      justify-content: space-around;
      align-items: center;
      gap: 1.5rem;
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border-color);
    }

    .icons > div, .like-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--tertiary-text);
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 12px;
      transition: all 0.3s ease;
      background: none;
      border: none;
    }

    .icons > div:hover, .like-btn:hover {
      background: var(--hover-bg);
      color: var(--electric-blue);
      transform: scale(1.05);
    }

    .like-btn.liked {
      color: var(--red);
    }

    .like-btn.liked:hover {
      color: #c2185b;
    }

    /* =============== Forms =============== */
    .form-container {
      max-width: 600px;
      margin: 0 auto;
    }

    .update-form {
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .update-form h3 {
      color: var(--electric-blue);
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .update-form .box {
      width: 100%;
      padding: 1rem 1.5rem;
      margin-bottom: 1rem;
      background: var(--glass-bg);
      border: 1px solid var(--border-color);
      border-radius: 50px;
      color: var(--primary-text);
      font-size: 1rem;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .update-form .box:focus {
      outline: none;
      border-color: var(--electric-blue);
      box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.3);
    }

    .update-form .box::placeholder {
      color: var(--tertiary-text);
    }

    .iooo {
      display: flex;
      justify-content: center;
      margin: 1rem 0;
    }

    .io {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid var(--electric-blue);
      cursor: pointer;
      transition: all 0.3s ease;
      object-fit: cover;
    }

    .io:hover {
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(29, 155, 240, 0.4);
    }

    #logout-btn {
      text-align: center;
      color: var(--red);
      cursor: pointer;
      padding: 1rem;
      border-radius: 16px;
      transition: all 0.3s ease;
      margin-top: 1rem;
    }

    #logout-btn:hover {
      background: rgba(233, 30, 99, 0.1);
      transform: scale(1.02);
    }

    /* =============== Modal =============== */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
    }

    .modal-content {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-color);
      margin: 5% auto;
      padding: 2rem;
      width: 90%;
      max-width: 600px;
      border-radius: 20px;
      max-height: 80vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .close {
      color: var(--tertiary-text);
      float: right;
      font-size: 2rem;
      font-weight: bold;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .close:hover {
      color: var(--electric-blue);
    }

    .modal-header h2 {
      color: var(--electric-blue);
      margin-bottom: 1rem;
    }

    .search-input {
      width: 100%;
      padding: 1rem 1.5rem;
      background: var(--hover-bg);
      border: 1px solid var(--border-color);
      border-radius: 50px;
      color: var(--primary-text);
      margin-bottom: 1rem;
      transition: all 0.3s ease;
    }

    .search-input:focus {
      outline: none;
      border-color: var(--electric-blue);
      box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.3);
    }

    .search-input::placeholder {
      color: var(--tertiary-text);
    }

    .allies-list {
      max-height: 400px;
      overflow-y: auto;
    }

    .user-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      border-radius: 16px;
      margin-bottom: 0.5rem;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .user-item:hover {
      background: var(--hover-bg);
    }

    .user-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid var(--electric-blue);
    }

    .user-name {
      font-weight: 600;
      color: var(--primary-text);
    }

    /* =============== Notifications =============== */
    .notifications-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .notification-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background: var(--glass-bg);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      margin-bottom: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .notification-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(29, 155, 240, 0.15);
    }

    .notification-item.unread {
      border-color: var(--electric-blue);
      background: rgba(29, 155, 240, 0.05);
    }

    .notification-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 2px solid var(--electric-blue);
    }

    .notification-content {
      flex: 1;
    }

    .notification-title {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .notification-time {
      color: var(--tertiary-text);
      font-size: 0.85rem;
    }

    /* =============== Loading and No Results =============== */
    .loading {
      text-align: center;
      padding: 2rem;
      color: var(--tertiary-text);
    }

    .no-results, .no-notifications {
      text-align: center;
      padding: 3rem;
      color: var(--tertiary-text);
      font-style: italic;
    }

    /* =============== Bottom Nav =============== */
    .navbars {
      position: fixed;
      bottom: 0;
      width: 100%;
      z-index: 100;
      background: var(--card-bg);
      padding: 0.75rem 0;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav {
      display: flex;
      justify-content: space-around;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .nav a {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
      color: var(--secondary-text);
      text-decoration: none;
      font-size: 0.8rem;
      padding: 0.5rem;
      border-radius: 10px;
      transition: all 0.2s ease;
    }

    .nav a i {
      font-size: 1.25rem;
    }

    .nav a:hover, .nav a.active {
      color: var(--electric-blue);
    }

    /* =============== Responsive Design =============== */
    @media (max-width: 768px) {
      .header { padding: 1rem; }
      .main-container { padding: 1rem 1rem 6rem; }
      .wrapper { padding: 1.5rem; }
      .nav a { font-size: 0.75rem; }
      .nav a i { font-size: 1.1rem; }
      .profile-info, .tab-container, .box {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
      }
      .flex-btn {
        flex-direction: column;
      }
      .option-btn {
        min-width: auto;
      }
      .tab-container {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }
      .tab-container::-webkit-scrollbar {
        display: none;
      }
      .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1rem;
      }
    }

    @media (max-width: 480px) {
      .wrapper { border-radius: 15px; }
      .form-title { font-size: 1.25rem; }
      .image-upload-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }
      .header-title { font-size: 1.2rem; }
      .tab-button { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    }

    /* =============== Animations =============== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .box, .notification-item, .user-item {
      animation: fadeIn 0.5s ease-out;
    }

    /* =============== Scrollbar Styling =============== */
    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(10, 10, 10, 0.5);
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(29, 155, 240, 0.5);
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(29, 155, 240, 0.7);
    }
