
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

    :root {
      --primary: #ff4c60;
      --accent: #6c63ff;
      --bg: #0f0f1a;
      --card: #1e1e2f;
      --text: #fff;
      --text-secondary: #b4b4b4;
      --gradient: linear-gradient(135deg, #ff4c60, #6c63ff);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* NAVIGATION */
    nav {
      background-color: rgba(14, 14, 26, 0.95);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      background: var(--gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: 0 0 10px rgba(255, 76, 96, 0.3);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .logo i {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      padding: 10px;
    }

    .nav-links a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
      padding: 5px 0;
    }

    .nav-links a:after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background: var(--primary);
      left: 0;
      bottom: 0;
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover:after {
      width: 100%;
    }

    .menu-toggle {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: white;
    }

    #vipProfile {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid var(--primary);
      transition: all 0.3s ease;
      box-shadow: 0 0 10px rgba(255, 76, 96, 0.5);
    }

    #vipProfile:hover {
      transform: scale(1.1);
      border-color: var(--accent);
    }

    #vipImg {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .search-icon {
      color: var(--text);
      font-size: 1.2rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .search-icon:hover {
      color: var(--primary);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(14, 14, 26, 0.98);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 100;
      }

      .nav-links.active {
        display: flex;
        animation: slideDown 0.3s forwards;
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .menu-toggle {
        display: block;
      }
    }

    /* PROFILE CARD */
    .profile-main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 40px 0 60px 0;
    }

    .profile-card {
      background: var(--card);
      border-radius: 18px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.13);
      padding: 32px 28px 28px 28px;
      min-width: 340px;
      max-width: 420px;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      margin-bottom: 32px;
      width: 100%;
    }

    .profile-avatar img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      border: 4px solid #fff;
      box-shadow: 0 2px 10px rgba(255,76,96,0.11);
      margin-bottom: 18px;
      object-fit: cover;
      background: #24243a;
    }

    .profile-info {
      text-align: center;
    }

    .profile-info h2 {
      margin: 9px 0 4px 0;
      font-size: 2rem;
      color: #fff;
      font-weight: 600;
    }
    .profile-info p {
      margin: 2px 0 1px 0;
      color: var(--text-secondary);
      font-size: 1.1rem;
    }

    .profile-actions {
      display: flex;
      gap: 1rem;
      margin: 18px 0 0 0;
      justify-content: center;
      width: 100%;
    }

    .copy-btn,
    .share-btn,
    .edit-btn,
    .logout-btn {
      padding: 8px 27px;
      border-radius: 6px;
      border: none;
      background: var(--primary);
      color: #fff;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.17s;
      box-shadow: 0 1px 4px rgba(255,149,0,0.08);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .copy-btn:hover,
    .share-btn:hover,
    .edit-btn:hover,
    .logout-btn:hover {
      background: var(--accent);
    }

    .share-group {
      position: relative;
    }

    .share-options {
      display: none;
      position: absolute;
      background: var(--card);
      padding: 0.5rem;
      border-radius: 8px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.15);
      z-index: 10;
      top: 105%;
      right: 0;
      min-width: 140px;
    }
    .share-options.show {
      display: block;
      animation: fadeIn .15s;
    }
    .share-option {
      padding: 0.5rem 0.9rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: var(--text-secondary);
      border-radius: 5px;
      transition: background 0.13s, color 0.13s;
      font-size: 1rem;
    }
    .share-option:hover {
      background: #23233a;
      color: var(--primary);
    }

    /* OWNER ACTIONS */
    .owner-actions {
      margin-top: 18px;
      width: 100%;
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 0.7rem;
    }
    .owner-actions input[type="text"],
    .owner-actions input[type="password"] {
      width: 100%;
      padding: 8px 10px;
      border-radius: 6px;
      border: none;
      background: #23233a;
      color: #fff;
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .profile-file-label {
      background: #23233a;
      color: #fff;
      border-radius: 6px;
      padding: 8px 16px;
      cursor: pointer;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .profile-file-label:hover {
      background: #2d2d4a;
    }

    /* POSTS */
    .post-section {
      width: 100%;
      max-width: 560px;
      margin: 0 auto 30px auto;
    }
    .post-section h3 {
      color: var(--primary);
      margin-bottom: 10px;
      font-size: 1.25rem;
      font-weight: 600;
    }

    .post-form {
      display: flex;
      gap: 0.8rem;
      margin-bottom: 1.3rem;
      align-items: flex-start;
    }
    .post-form textarea {
      flex: 1;
      padding: 11px 12px;
      font-size: 1rem;
      border-radius: 8px;
      border: none;
      background: #23233a;
      color: #fff;
      resize: vertical;
      min-height: 68px;
      max-height: 160px;
    }
    .post-form button {
      background: var(--primary);
      color: white;
      padding: 10px 21px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.15s;
      min-width: 70px;
      font-weight: 500;
    }
    .post-form button:hover {
      background: var(--accent);
    }

    .post-list {
      margin-top: 0.7rem;
      width: 100%;
    }
    .post-item {
      background: #23233a;
      padding: 1rem 1.2rem;
      border-radius: 10px;
      margin-bottom: 1.2rem;
      color: #eee;
      box-shadow: 0 1px 10px rgba(30,30,47,0.06);
      position: relative;
    }
    .post-item time {
      font-size: 0.88rem;
      color: #aaa;
      display: block;
      margin-bottom: 0.4rem;
    }
    .post-actions {
      display: flex;
      gap: 1.3rem;
      margin-top: 0.6rem;
    }
    .post-action {
      background: none;
      border: none;
      color: #bbb;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.99rem;
      transition: color 0.13s;
    }
    .post-action:hover,
    .post-action.active {
      color: var(--primary);
    }

    /* COMMENTS */
    .comments-section {
      margin-top: 1rem;
      border-top: 1px solid #29293d;
      padding-top: 1rem;
    }
    .comment-form {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
    }
    .comment-form input {
      flex: 1;
      padding: 0.5rem;
      border-radius: 4px;
      border: none;
      background: #23233a;
      color: white;
    }
    .comment-form button {
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 4px;
      padding: 0 1rem;
      cursor: pointer;
    }
    .comment-list {
      margin-top: 1rem;
    }
    .comment-item {
      background: #262643;
      padding: 0.5rem 0.7rem;
      border-radius: 5px;
      margin-bottom: 0.7rem;
      font-size: 0.96rem;
    }
    .comment-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.2rem;
    }
    .comment-author {
      font-weight: bold;
      color: var(--primary);
    }
    .comment-time {
      font-size: 0.8rem;
      color: #aaa;
    }
    .comment-actions {
      display: flex;
      gap: 0.7rem;
      margin-top: 0.2rem;
      font-size: 0.9rem;
    }
    .comment-action {
      color: #ccc;
      cursor: pointer;
      transition: color 0.12s;
    }
    .comment-action:hover {
      color: var(--primary);
    }
    .reply-form {
      margin-top: 0.5rem;
      display: flex;
      gap: 0.5rem;
    }
    .reply-form input {
      flex: 1;
      padding: 0.3rem;
      border-radius: 4px;
      border: none;
      background: #1c1c2e;
      color: white;
      font-size: 0.9rem;
    }
    .reply-form button {
      background: #444455;
      color: white;
      border: none;
      border-radius: 4px;
      padding: 0 0.8rem;
      cursor: pointer;
      font-size: 0.9rem;
    }
    .reply-list {
      margin-left: 1rem;
      margin-top: 0.5rem;
      border-left: 2px solid #3a3a51;
      padding-left: 0.5rem;
    }
    .reply-item {
      background: #1c1c2e;
      padding: 0.3rem 0.7rem;
      border-radius: 4px;
      margin-bottom: 0.3rem;
      font-size: 0.9rem;
    }

    /* FOOTER */
    footer {
      background: linear-gradient(to top, var(--bg), var(--card));
      padding: 3rem 2rem 1.2rem 2rem;
      color: var(--text-secondary);
      margin-top: auto;
    }
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      max-width: 1280px;
      margin: 0 auto;
    }
    .footer-section {
      flex: 1 1 240px;
    }
    .footer-section h3 {
      margin-bottom: 1.5rem;
      color: var(--primary);
      font-size: 1.1rem;
      position: relative;
      padding-bottom: 0.5rem;
    }
    .footer-section h3:after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 40px; height: 2px;
      background: var(--primary);
    }
    .footer-section a {
      display: block;
      color: var(--text-secondary);
      text-decoration: none;
      margin-bottom: 0.7rem;
      font-size: 0.97rem;
      transition: color 0.13s, transform 0.13s;
    }
    .footer-section a:hover {
      color: var(--primary);
      transform: translateX(5px);
    }
    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }
    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px; height: 36px;
      background: var(--card);
      border-radius: 50%;
      color: var(--text);
      font-size: 1.2rem;
      transition: background 0.13s, color 0.13s, transform 0.13s;
    }
    .social-links a:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-4px);
    }
    .footer-bottom {
      text-align: center;
      margin-top: 2.7rem;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding-top: 1.3rem;
      font-size: 0.93rem;
      color: var(--text-secondary);
    }

    @media (max-width: 700px) {
      .profile-card, .post-section, .post-section-public {
        min-width: unset;
        max-width: 99vw;
        padding: 18px 7px;
      }
      .footer-container {
        flex-direction: column;
        gap: 1.2rem;
      }
    }
