* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: #000;
            color: #fff;
            display: flex;
            min-height: 100vh;
            justify-content: center;
            overflow-x: hidden;
        }

        .container {
            display: flex;
            width: 100%;
            max-width: 1280px;
        }

        .sidebar {
            width: 140px;
            border-right: 1px solid #2f3336;
            padding: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        @media (max-width: 768px) {
            .sidebar {
                width: 0;
                padding: 0;
                border: none;
                display: none;
            }
        }

        .logo {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            cursor: pointer;
            border-radius: 50%;
        }

        .logo:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .logo svg {
            width: 32px;
            height: 32px;
            fill: #fff;
            transition: transform 0.3s ease;
        }

         .music-player {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 50%;
            margin-top: 8px;
            position: relative;
        }

        .music-player:hover {
            background: rgba(240, 29, 29, 0.1);
            transform: scale(1.1);
        }

        .music-player.playing {
            background: rgba(240, 29, 29, 0.1);
        }

        .music-player svg {
            width: 24px;
            height: 24px;
            fill: #750000;
            transition: all 0.3s ease;
        }

        .music-player:hover svg {
            fill: #d81a1a;
        }

        .music-wave {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid #750000;
            animation: pulse 1.5s ease-out infinite;
            opacity: 0;
        }

        .music-player.playing .music-wave {
            opacity: 1;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        .back-arrow:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .main-content {
            flex: 1;
            max-width: 600px;
            border-right: 1px solid #2f3336;
        }

        @media (max-width: 768px) {
            .main-content {
                max-width: 100%;
                border-right: none;
            }
        }

        .header {
            position: sticky;
            top: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #2f3336;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 32px;
            z-index: 10;
        }

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

        .header svg {
            width: 20px;
            height: 20px;
        }

        .header h1 {
            font-size: 20px;
            font-weight: bold;
        }

        .tweet {
            padding: 8px 16px;
            border-bottom: 1px solid #2f3336;
        }

        @media (max-width: 768px) {
            .tweet {
                padding: 10px 12px;
            }
        }

        .tweet:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .tweet-header {
            display: flex;
            gap: 12px;
            margin-bottom: 8px;
        }

        img.avatar {
            margin-bottom: -24px;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #a855f7);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
            flex-shrink: 0;
        }

        .tweet-info {
            margin-bottom: -10px;
            flex: 1;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .author {
            font-weight: bold;
        }

        .verified {
            color: #1d9bf0;
        }

        .username, .time {
            color: #71767b;
        }

        .more-btn {
            margin-left: auto;
            background: none;
            border: none;
            color: #71767b;
            cursor: pointer;
            padding: 8px;
        }

        .tweet-content {
            font-size: 15px;
            line-height: 1.5;
            margin-bottom: 16px;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        @media (max-width: 768px) {
            .tweet-content {
                font-size: 14px;
            }
        }

        .tweet-image {
            width: 100%;
            border-radius: 16px;
            border: 1px solid #2f3336;
            margin-bottom: 12px;
        }

        .tweet-meta {
            color: #71767b;
            font-size: 15px;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid #2f3336;
        }

        .tweet-meta .views {
            color: #fff;
            font-weight: bold;
        }

        .tweet-stats {
            display: flex;
            gap: 16px;
            font-size: 14px;
            padding-bottom: 14px;
            margin-bottom: 8px;
            border-bottom: 1px solid #2f3336;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .tweet-stats {
                gap: 12px;
                font-size: 13px;
            }
        }

        .tweet-stats span {
            color: #fff;
            font-weight: bold;
        }

        .tweet-stats .label {
            color: #71767b;
            font-weight: normal;
        }

        .tweet-actions {
            display: flex;
            justify-content: space-around;
            color: #71767b;
            padding-bottom: 0px;
            /* border-bottom: 1px solid #2f3336; */
        }

        .action-btn {
            background: none;
            border: none;
            color: #71767b;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .action-btn:hover {
            background: rgba(29, 155, 240, 0.1);
            color: #1d9bf0;
        }

        .action-btn.like:hover {
            background: rgba(249, 24, 128, 0.1);
            color: #f91880;
        }

        .action-btn.retweet:hover {
            background: rgba(0, 186, 124, 0.1);
            color: #00ba7c;
        }

        .action-btn svg {
            width: 18px;
            height: 18px;
        }

        .thread-tweet {
            padding: 10px 16px;
            position: relative;
        }

        @media (max-width: 768px) {
            .thread-tweet {
                padding: 8px 12px;
            }
        }

        .thread-tweet:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .thread-line {
            position: absolute;
            left: 35px;
            top: 18px;
            bottom: 0;
            width: 2px;
            background: #2f3336;
            z-index: 0;
        }

        .thread-content {
            display: flex;
            gap: 12px;
            position: relative;
            z-index: 1;
        }

        .thread-actions {
            display: flex;
            justify-content: space-between;
            max-width: 450px;
            color: #71767b;
            margin-top: 6px;
        }

        @media (max-width: 768px) {
            .thread-actions {
                max-width: 100%;
            }
            
            .thread-actions .action-btn span {
                font-size: 12px;
            }
        }

        .thread-actions .action-btn {
            gap: 8px;
            font-size: 13px;
        }

        .reply-section {
            padding: 16px;
            border-bottom: 1px solid #2f3336;
        }

        .reply-content {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .reply-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
            flex-shrink: 0;
        }

        .reply-placeholder {
            flex: 1;
            color: #71767b;
            font-size: 15px;
        }

        .reply-btn {
            background: #1d9bf0;
            color: #fff;
            border: none;
            padding: 8px 16px;
            border-radius: 9999px;
            font-weight: bold;
            font-size: 15px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .reply-btn:hover {
            background: #1a8cd8;
        }

        .right-sidebar {
            width: 350px;
            padding: 16px;
            display: none;
        }

        @media (min-width: 1024px) {
            .right-sidebar {
                display: block;
            }
        }

        @media (min-width: 1280px) {
            .right-sidebar {
                width: 380px;
            }
        }

        .widget-box {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 16px;
        }

        .widget-box h2 {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 16px;
        }

        .person-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 5px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            margin-bottom: 8px;
        }

        .person-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .person-name-hover {
            position: relative;
            display: inline-block;
        }

        .profile-preview {
            position: absolute;
            top: 100%;
            left: 0;
            width: 300px;
            background: #000;
            border: 1px solid #2f3336;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
            z-index: 1000;
            display: none;
            margin-top: 8px;
        }

        .person-name-hover:hover .profile-preview {
            display: block;
        }

        .profile-preview-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 12px;
        }

        .profile-preview-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            border: 4px solid #000;
        }

        .profile-preview-follow-btn {
            background: #fff;
            color: #000;
            border: none;
            padding: 8px 20px;
            border-radius: 9999px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .profile-preview-follow-btn:hover {
            background: #e6e6e6;
        }

        .profile-preview-name {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 2px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .profile-preview-username {
            color: #71767b;
            font-size: 15px;
            margin-bottom: 12px;
        }

        .profile-preview-bio {
            font-size: 15px;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .profile-preview-stats {
            display: flex;
            gap: 16px;
            font-size: 14px;
        }

        .profile-preview-stats span {
            color: #fff;
            font-weight: bold;
        }

        .profile-preview-stats .label {
            color: #71767b;
            font-weight: normal;
        }

        .person-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .person-info {
            flex: 1;
            min-width: 0;
        }

        .person-name {
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .person-username {
            color: #71767b;
            font-size: 14px;
        }

        .follow-btn {
            background: #fff;
            color: #000;
            border: none;
            padding: 6px 16px;
            border-radius: 9999px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
            flex-shrink: 0;
        }

        .follow-btn:hover {
            background: #e6e6e6;
        }

        .trending-item {
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            margin-bottom: 8px;
            position: relative;
        }

        .trending-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .trending-more {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            color: #71767b;
            cursor: pointer;
            padding: 4px;
        }

        .trending-category {
            font-size: 13px;
            color: #71767b;
        }

        .trending-title {
            font-weight: bold;
            margin: 4px 0;
        }

        .trending-posts {
            font-size: 13px;
            color: #71767b;
        }

        .show-more {
            color: #1d9bf0;
            padding: 12px;
            cursor: pointer;
            font-size: 15px;
        }

        .show-more:hover {
            background: rgba(29, 155, 240, 0.1);
            border-radius: 8px;
        }