
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #15202b;
    color: #ffffff;
    line-height: 1.5;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    padding: 20px;
    border-right: 1px solid #38444d;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    font-size: 30px;
    color: #1da1f2;
    margin-bottom: 30px;
    padding-left: 10px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 20px;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.nav-menu a.active {
    color: #1da1f2;
    font-weight: bold;
}

.tweet-btn {
    width: 100%;
    padding: 15px;
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tweet-btn:hover {
    background-color: #1a8cd8;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    margin-right: 350px;
    min-height: 100vh;
    border-right: 1px solid #38444d;
}

.header {
    padding: 15px 20px;
    border-bottom: 1px solid #38444d;
    position: sticky;
    top: 0;
    background-color: rgba(21, 32, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: #8b98a5;
    border: 1px solid #38444d;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.filter-btn.active {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* Post Card */
.posts-feed {
    padding-bottom: 50px;
}

.post-card {
    padding: 20px;
    border-bottom: 1px solid #38444d;
    transition: background-color 0.2s;
}

.post-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.post-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-info {
    flex: 1;
}

.post-user-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.post-username {
    color: #8b98a5;
    font-size: 15px;
}

.post-time {
    color: #8b98a5;
    font-size: 15px;
}

.post-location {
    color: #8b98a5;
    font-size: 14px;
    display: block;
    margin-top: 2px;
}

.post-location i {
    margin-right: 5px;
}

.post-content {
    margin-bottom: 15px;
}

.post-content p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-media {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    margin-top: 15px;
}

/* Poll Styles */
.poll-container {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #38444d;
}

.poll-container h4 {
    margin-bottom: 15px;
    color: #fff;
}

.poll-option {
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #38444d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.poll-option:hover {
    background: rgba(29, 161, 242, 0.1);
    border-color: #1da1f2;
}

.poll-option-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-option-text {
    font-size: 14px;
    color: #fff;
}

.poll-option-image {
    display: flex;
    justify-content: center;
}

.poll-image {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.poll-bar-container {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

.poll-bar {
    height: 100%;
    background: #1da1f2;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.poll-percentage {
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
}

.poll-votes {
    font-size: 12px;
    color: #8b98a5;
    margin-left: 5px;
}

.your-vote {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.poll-total {
    margin-top: 10px;
    font-size: 12px;
    color: #8b98a5;
    text-align: center;
}

.no-options {
    color: #8b98a5;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.user-link {
    text-decoration: none;
    color: inherit;
}

.user-link:hover {
    text-decoration: underline;
    color: #1da1f2;
}

.post-link {
    text-decoration: none;
    color: inherit;
}

.post-link:hover {
    color: #1da1f2;
}

.view-btn {
    background: none;
    border: none;
    color: #8b98a5;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
    text-decoration: none;
}

.view-btn:hover {
    color: #1da1f2;
    text-decoration: none;
}

/* Modal poll styles */
.poll-option-input {
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #38444d;
    border-radius: 8px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-add-image {
    background-color: rgba(29, 161, 242, 0.1);
    border: 1px solid #1da1f2;
    color: #1da1f2;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-add-image:hover {
    background-color: rgba(29, 161, 242, 0.2);
}

.image-preview {
    margin-top: 8px;
}

/* Single post view */
.single-post-view {
    padding: 20px;
}

.detailed-post {
    border: 2px solid #38444d;
    border-radius: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.02);
}

.post-stats {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-top: 1px solid #38444d;
    border-bottom: 1px solid #38444d;
    background-color: rgba(255, 255, 255, 0.03);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b98a5;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1da1f2;
    text-decoration: none;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: rgba(29, 161, 242, 0.1);
    border-radius: 20px;
}

.back-link:hover {
    background-color: rgba(29, 161, 242, 0.2);
    text-decoration: none;
}

.no-options, .no-comments, .no-related {
    color: #8b98a5;
    text-align: center;
    padding: 20px;
    font-style: italic;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 10px 0;
}

.no-post {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-top: 20px;
}

/* Poll container in posts */
.poll-container {
    margin: 15px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid #38444d;
}

.poll-container h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #ffffff;
}

.poll-option {
    padding: 15px;
    margin: 10px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.poll-option:hover {
    background-color: rgba(29, 161, 242, 0.1);
    border-color: #1da1f2;
}

.poll-bar {
    height: 6px;
    background-color: #1da1f2;
    border-radius: 3px;
    margin: 10px 0;
    transition: width 0.3s ease;
}

.poll-percentage {
    font-size: 14px;
    color: #8b98a5;
    font-weight: bold;
}

.poll-votes {
    font-size: 12px;
    color: #8b98a5;
    margin-left: 10px;
}

.your-vote {
    font-size: 12px;
    color: #1da1f2;
    margin-left: 10px;
    font-weight: bold;
}

.poll-total {
    font-size: 14px;
    color: #8b98a5;
    margin-top: 15px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #38444d;
}

.poll-bar {
    height: 4px;
    background-color: #1da1f2;
    border-radius: 2px;
    margin: 5px 0;
    transition: width 0.3s;
}

.poll-percentage {
    font-size: 12px;
    color: #8b98a5;
}

.poll-votes {
    font-size: 12px;
    color: #8b98a5;
    margin-left: 10px;
}

.your-vote {
    font-size: 12px;
    color: #1da1f2;
    margin-left: 10px;
}

.poll-total {
    font-size: 14px;
    color: #8b98a5;
    margin-top: 10px;
    text-align: center;
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 30px;
    padding-top: 10px;
}

.action-btn {
    background: none;
    border: none;
    color: #8b98a5;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
}

.action-btn:hover {
    color: #1da1f2;
}

.like-btn.liked {
    color: #f91880;
}

.like-btn.liked:hover {
    color: #f91880;
}

.comment-btn:hover {
    color: #1da1f2;
}

.share-btn:hover {
    color: #1da1f2;
}

.count {
    font-size: 13px;
}

/* Comments Section */
.comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #38444d;
}

.add-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-input {
    flex: 1;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

.comment-input:focus {
    outline: none;
    border-color: #1da1f2;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-user {
    font-size: 14px;
    font-weight: bold;
}

.comment-time {
    font-size: 12px;
    color: #8b98a5;
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
}

/* Trending Sidebar */
.trending-sidebar {
    width: 350px;
    padding: 20px;
    position: fixed;
    right: 0;
    height: 100vh;
    overflow-y: auto;
}

.trending-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.trending-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.trending-item {
    padding: 10px 0;
    border-bottom: 1px solid #38444d;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item p {
    font-size: 15px;
    margin-bottom: 5px;
}

.trending-item small {
    color: #8b98a5;
    font-size: 12px;
}

/* User Card */
.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.user-info p {
    color: #8b98a5;
    font-size: 14px;
}

.logout-btn {
    margin-left: auto;
    color: #8b98a5;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.logout-btn:hover {
    color: #f91880;
    background-color: rgba(249, 24, 128, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #15202b;
    margin: 5% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #38444d;
    position: relative;
}

.modal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    color: #8b98a5;
    cursor: pointer;
}

.modal .close:hover {
    color: white;
}

.modal h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

/* Post Types */
.post-types {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.post-type-btn {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 20px;
    color: #8b98a5;
    cursor: pointer;
    transition: all 0.2s;
}

.post-type-btn:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

.post-type-btn.active {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* Upload Sections */
.upload-section {
    margin: 15px 0;
}

.upload-section input[type="file"] {
    margin-bottom: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    color: white;
    width: 100%;
}

.poll-option-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.poll-option-input input[type="text"] {
    flex: 1;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    color: white;
}

.btn-poll-image {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    color: #8b98a5;
    cursor: pointer;
    min-width: 44px;
}

.btn-add-option {
    padding: 8px 16px;
    background-color: rgba(29, 161, 242, 0.1);
    border: 1px solid #1da1f2;
    border-radius: 8px;
    color: #1da1f2;
    cursor: pointer;
    font-size: 14px;
}

/* Location Info */
.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 15px 0;
    color: #8b98a5;
    font-size: 14px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #1da1f2;
    color: white;
}

.btn-primary:hover {
    background-color: #1a8cd8;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Profile Page */
.profile-content {
    padding-bottom: 50px;
}

.profile-header {
    position: relative;
}

.banner-image {
    height: 200px;
    background: linear-gradient(45deg, #1da1f2, #f91880);
}

.profile-avatar-container {
    position: relative;
    margin-left: 20px;
    margin-top: -50px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #15202b;
    object-fit: cover;
}

.btn-edit-avatar {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1da1f2;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.profile-info {
    padding: 20px;
}

.profile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.profile-username {
    color: #8b98a5;
    font-size: 16px;
    margin-bottom: 15px;
}

.profile-bio {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b98a5;
    font-size: 15px;
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 20px;
}

.stat {
    color: #8b98a5;
    text-decoration: none;
}

.stat strong {
    color: white;
}

.btn-follow {
    padding: 8px 20px;
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-follow:hover {
    background-color: #1a8cd8;
}

.btn-follow.following {
    background-color: transparent;
    border: 1px solid #38444d;
    color: white;
}

.btn-follow.following:hover {
    border-color: #f91880;
    color: #f91880;
    background-color: rgba(249, 24, 128, 0.1);
}

.btn-edit-profile {
    padding: 8px 20px;
    background-color: transparent;
    color: white;
    border: 1px solid #38444d;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit-profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-posts {
    padding: 20px;
}

.user-posts h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

/* Auth Pages */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #15202b;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid #38444d;
}

.auth-logo {
    font-size: 40px;
    color: #1da1f2;
    text-align: center;
    margin-bottom: 30px;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #1da1f2;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #8b98a5;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #38444d;
}

.auth-divider span {
    padding: 0 15px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background-color: white;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-google:hover {
    background-color: #f0f0f0;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #8b98a5;
}

.auth-link a {
    color: #1da1f2;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 50px 20px;
    color: #8b98a5;
}


/* See More/Less Styles */
.post-content-short {
    max-height: 100px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.post-content-short::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(21, 32, 43, 0.9));
    pointer-events: none;
}

.post-content-full {
    max-height: none;
}

.post-content-full::after {
    display: none;
}

.see-more-btn {
    background: none;
    border: none;
    color: #1da1f2;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    padding: 5px 0;
    text-decoration: none;
    display: inline-block;
}

.see-more-btn:hover {
    color: #1a8cd8;
    text-decoration: underline;
}

/* View Count Style */
.view-count {
    color: #8b98a5;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
}

/* Post Actions Enhanced */
.post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #38444d;
    margin-top: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: #8b98a5;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    text-decoration: none;
}

.action-btn:hover {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.like-btn.liked {
    color: #f91880;
}

.like-btn.liked:hover {
    color: #f91880;
    background: rgba(249, 24, 128, 0.1);
}

.count {
    font-size: 13px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* Share Modal Styles */
.share-options {
    padding: 10px 0;
}

.share-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #38444d;
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    word-break: break-all;
    margin: 15px 0;
    color: white;
    font-size: 14px;
}

.copy-btn {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #1a8cd8;
}

/* Comment Form Enhanced */
.comment-form {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid #38444d;
}

.comment-count {
    color: #8b98a5;
    font-size: 14px;
    margin-left: 10px;
    font-weight: normal;
}

/* Post Detail Specific */
.post-content-full-detail {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #38444d;
}

/* Share Info Box */
.share-info {
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid #1da1f2;
    border-radius: 10px;
    padding: 20px;
    margin: 0 0 25px 0;
    color: #8b98a5;
}

.share-info h4 {
    color: #1da1f2;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================= MOBILE BOTTOM NAV ================= */
.mobile-bottom-nav {
    display: none;
}

.mobile-tweet-btn {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop sidebar */
    .sidebar {
        display: none;
    }
    
    /* Hide trending sidebar */
    .trending-sidebar {
        display: none;
    }
    
    /* Adjust main content for mobile */
    .main-content {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-right: none;
        padding-bottom: 70px; /* Space for bottom nav */
    }
    
    /* Adjust header for mobile */
    .header {
        padding: 15px;
        position: sticky;
        top: 0;
        background: #15202b;
        z-index: 100;
    }
    
    /* Bottom Navigation - FIXED AT BOTTOM */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #15202b;
        border-top: 1px solid #38444d;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .mobile-bottom-nav a {
        color: #8b98a5;
        font-size: 20px;
        text-decoration: none;
        flex: 1;
        text-align: center;
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        transition: color 0.2s;
    }

    .mobile-bottom-nav a i {
        font-size: 20px;
    }

    .mobile-bottom-nav a span {
        font-size: 11px;
        font-weight: 500;
    }

    .mobile-bottom-nav a.active {
        color: #1da1f2;
    }

    .mobile-bottom-nav a:hover {
        color: #1da1f2;
    }

    /* Floating Tweet Button - RIGHT SIDE (Twitter/X style) */
    .mobile-tweet-btn {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #1da1f2;
        color: #fff;
        border: none;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
        transition: all 0.3s ease;
    }

    .mobile-tweet-btn:hover {
        background: #1a8cd8;
        transform: scale(1.1);
    }

    /* Adjust posts feed to have space for bottom nav */
    .posts-feed {
        padding-bottom: 100px;
    }

    /* Mobile filter buttons scrollable */
    .filter-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    /* Adjust post card for mobile */
    .post-card {
        padding: 15px;
    }

    .post-avatar {
        width: 40px;
        height: 40px;
    }

    .post-actions {
        gap: 15px;
        justify-content: space-between;
    }

    .action-btn {
        padding: 6px;
        font-size: 12px;
    }

    .action-btn i {
        font-size: 16px;
    }

    .action-btn span {
        font-size: 12px;
    }

    /* Modal adjustments for mobile */
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
        padding: 20px;
        padding-top: 50px;
    }

    .modal .close {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }

    /* Profile page adjustments */
    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .profile-stats {
        justify-content: space-between;
        width: 100%;
    }
}


/* For very small screens */
@media (max-width: 360px) {
    .mobile-bottom-nav a span {
        font-size: 10px;
    }
    
    .mobile-bottom-nav a i {
        font-size: 18px;
    }
    
    .post-user-info h4 {
        font-size: 14px;
    }
    
    .post-username, .post-time {
        font-size: 12px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-content-full-detail {
        font-size: 16px;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .share-options > div {
        flex-direction: column;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .trending-sidebar {
        display: none;
    }
    
    .main-content {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .container {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    
}