Changed around line 1
+ :root {
+ --primary-color: #1da1f2;
+ --bg-color: #15202b;
+ --text-color: #fff;
+ --border-color: #38444d;
+ --hover-color: #192734;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
+ background-color: var(--bg-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ position: fixed;
+ top: 0;
+ width: 100%;
+ background-color: rgba(21, 32, 43, 0.95);
+ backdrop-filter: blur(8px);
+ border-bottom: 1px solid var(--border-color);
+ z-index: 100;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ color: var(--text-color);
+ text-decoration: none;
+ padding: 0.5rem;
+ border-radius: 9999px;
+ transition: background-color 0.2s;
+ }
+
+ .nav-links a:hover {
+ background-color: var(--hover-color);
+ }
+
+ .nav-links a.active {
+ font-weight: bold;
+ }
+
+ .profile-btn {
+ background: none;
+ border: none;
+ cursor: pointer;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ overflow: hidden;
+ }
+
+ .profile-btn img {
+ width: 100%;
+ height: 100%;
+ }
+
+ main {
+ max-width: 600px;
+ margin: 80px auto 0;
+ padding: 1rem;
+ }
+
+ .compose {
+ display: flex;
+ gap: 1rem;
+ padding: 1rem;
+ border-bottom: 1px solid var(--border-color);
+ }
+
+ .avatar {
+ width: 48px;
+ height: 48px;
+ border-radius: 50%;
+ }
+
+ .compose-input {
+ flex: 1;
+ }
+
+ textarea {
+ width: 100%;
+ min-height: 100px;
+ background: transparent;
+ border: none;
+ color: var(--text-color);
+ font-size: 1.2rem;
+ resize: none;
+ padding: 0.5rem;
+ }
+
+ textarea:focus {
+ outline: none;
+ }
+
+ .compose-actions {
+ display: flex;
+ justify-content: flex-end;
+ margin-top: 1rem;
+ }
+
+ .post-btn {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.5rem 1.5rem;
+ border-radius: 9999px;
+ font-weight: bold;
+ cursor: pointer;
+ transition: background-color 0.2s;
+ }
+
+ .post-btn:hover {
+ background-color: #1a91da;
+ }
+
+ .trends {
+ position: fixed;
+ right: 0;
+ top: 80px;
+ width: 350px;
+ background-color: #192734;
+ border-radius: 15px;
+ margin: 1rem;
+ padding: 1rem;
+ }
+
+ .trend-items {
+ margin-top: 1rem;
+ }
+
+ .trend-item {
+ padding: 1rem;
+ cursor: pointer;
+ transition: background-color 0.2s;
+ }
+
+ .trend-item:hover {
+ background-color: var(--hover-color);
+ }
+
+ .category {
+ font-size: 0.9rem;
+ color: #8899a6;
+ }
+
+ .trend-item h3 {
+ margin: 0.2rem 0;
+ }
+
+ .posts {
+ font-size: 0.9rem;
+ color: #8899a6;
+ }
+
+ @media (max-width: 1020px) {
+ .trends {
+ display: none;
+ }
+ }
+
+ @media (max-width: 600px) {
+ .nav-links {
+ display: none;
+ }
+
+ main {
+ margin-top: 60px;
+ }
+ }