body.dark-mode {
    background: #181a20 !important;
    color: #e0eaff !important;
}

.dark-mode .glass-card,
.dark-mode .gist-card,
.dark-mode .comment,
.dark-mode .dropdown-content,
.dark-mode .menu-bar,
.dark-mode .main-home-content,
.dark-mode .container,
.dark-mode header {
    background: #23262f !important;
    color: #e0eaff !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.dark-mode input,
.dark-mode textarea,
.dark-mode .share-btn,
.dark-mode .like-btn,
.dark-mode .comment-btn {
    background: #23262f !important;
    color: #ffe066 !important;
    border: 1.5px solid #444 !important;
}

.dark-mode a,
.dark-mode .menu-bar a {
    color: #ffe066 !important;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: #ffe066 !important;
}

.dark-mode .muted {
    color: #aaa !important;
}

/* --- Dedicated Home Main Content Styles --- */
.main-home-content {
    background: linear-gradient(120deg, #f9f9ff 0%, #eaf6ff 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(91, 134, 229, 0.10);
    padding: 2.2rem 2.2rem 2.2rem 2.2rem;
    margin: 1.5rem 0;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    border: 2px solid #e0eaff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.main-home-content .hero-section {
    background: linear-gradient(120deg, #36d1c4 0%, #5b86e5 100%);
    color: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px 0 rgba(54, 209, 196, 0.10);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.main-home-content .hero-section h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
}

.main-home-content .hero-section p {
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    color: #e0f7fa;
}

.main-home-content .hero-section .cta-btn {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
    cursor: pointer;
    margin-top: 0.7rem;
    transition: background 0.2s, transform 0.15s;
}

.main-home-content .glass-card,
.main-home-content .gist-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px 0 rgba(54, 209, 196, 0.10);
    border: 1.5px solid #e0eaff;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    margin-bottom: 1.5rem;
}

.main-home-content .gist-header {
    background: linear-gradient(90deg, #eaf6ff 0%, #f9f9ff 100%);
    border-radius: 0.8rem;
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.main-home-content .gist-username {
    color: #36d1c4;
    font-weight: 700;
    font-size: 1.08rem;
}

.main-home-content .gist-img {
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(54, 209, 196, 0.09);
    margin-bottom: 0.7rem;
    max-height: 180px;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.main-home-content .gist-content {
    background: #f8fafd;
    border: 1px solid #e0eaff;
    color: #333;
    font-size: 1.13rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
    border-radius: 10px;
    padding: 0.7rem 1rem;
}

.main-home-content .gist-actions button,
.main-home-content .gist-actions .gossip-btn {
    background: #f8fafd;
    color: #5b86e5;
    border-radius: 1rem;
    border: 1px solid #e0eaff;
    font-size: 1.13rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
    transition: background 0.2s, color 0.2s;
}

.main-home-content .gist-actions button:active,
.main-home-content .gist-actions .gossip-btn:active {
    background: #e0eaff;
    color: #36d1c4;
}

.main-home-content .comments {
    background: #f8fafd;
    border-radius: 0.8rem;
    padding: 0.7rem 0.7rem 0.2rem 0.7rem;
    margin-top: 0.5rem;
    box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
}

.main-home-content .comment {
    background: #fff;
    border-radius: 0.7rem;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.8rem;
    font-size: 1.01rem;
    box-shadow: 0 1px 4px rgba(31, 38, 135, 0.07);
}

.main-home-content .muted {
    color: #888;
    font-size: 1.01rem;
    margin: 0.5rem 0 0.2rem 0;
    text-align: center;
}

@media (max-width: 1099px) {
    .main-home-content {
        background: #fff;
        border-radius: 1.1rem;
        box-shadow: 0 2px 8px rgba(91, 134, 229, 0.07);
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin: 0.7rem 0;
        min-height: unset;
        border: none;
        max-width: 100%;
    }

    .main-home-content .hero-section {
        border-radius: 1rem;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .main-home-content .glass-card,
    .main-home-content .gist-card {
        border-radius: 1rem;
        padding: 1rem 0.7rem 1rem 0.7rem;
    }
}

/* Main Home Content (Center Column) Styling */
.main-home-content {
    background: linear-gradient(120deg, #f9f9ff 0%, #eaf6ff 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(91, 134, 229, 0.10);
    padding: 2.2rem 2.2rem 2.2rem 2.2rem;
    margin: 1.5rem 0;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.2s, background 0.2s;
}

@media (max-width: 1099px) {
    .main-home-content {
        background: #fff;
        border-radius: 1.1rem;
        box-shadow: 0 2px 8px rgba(91, 134, 229, 0.07);
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin: 0.7rem 0;
        min-height: unset;
    }
}

/* Mobile-friendly and homepage hero styles */
.hero-section {
    background: var(--gradient-gossip);
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.hero-section h1 {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
}

.hero-section p {
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    color: #e0f7fa;
}

.hero-section .cta-btn {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
    cursor: pointer;
    margin-top: 0.7rem;
    transition: background 0.2s, transform 0.15s;
}

.hero-section .cta-btn:active {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    transform: scale(0.98);
}

@media (max-width: 600px) {
    body {
        background: linear-gradient(120deg, #f9f9ff 0%, #eaf6ff 100%) !important;
        min-height: 100vh;
    }

    .container {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 1.2rem;
        box-shadow: 0 4px 24px 0 rgba(54, 209, 196, 0.13);
        margin-top: 1.2rem;
    }

    .glass-card,
    .gist-card,
    .hero-section {
        border: 1.5px solid #e0eaff;
        background: linear-gradient(120deg, #fff 80%, #eaf6ff 100%);
        box-shadow: 0 8px 32px 0 rgba(91, 134, 229, 0.13);
        transition: box-shadow 0.2s, background 0.2s;
    }

    .glass-card:active,
    .gist-card:active {
        box-shadow: 0 2px 8px 0 rgba(54, 209, 196, 0.18);
        background: #f8fafd;
    }

    .share-btn,
    .fab {
        background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
        color: #fff;
        font-weight: 700;
        border: none;
        border-radius: 1.2rem;
        box-shadow: 0 2px 8px rgba(54, 209, 196, 0.13);
        transition: background 0.2s, transform 0.15s;
    }

    .share-btn:active,
    .fab:active {
        background: linear-gradient(90deg, #5b86e5 0%, #36d1c4 100%);
        transform: scale(0.97);
    }

    .gist-content {
        background: #f8fafd;
        border: 1px solid #e0eaff;
        color: #333;
        font-size: 1.13rem;
        font-weight: 500;
        margin-bottom: 0.7rem;
        box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
    }

    .gist-header {
        background: linear-gradient(90deg, #eaf6ff 0%, #f9f9ff 100%);
        border-radius: 0.8rem;
        padding: 0.5rem 0.7rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }

    .gist-username {
        color: #36d1c4;
        font-weight: 700;
        font-size: 1.08rem;
    }

    .gist-img {
        border-radius: 1rem;
        box-shadow: 0 2px 12px rgba(54, 209, 196, 0.09);
        margin-bottom: 0.7rem;
        max-height: 180px;
        object-fit: cover;
        width: 100%;
    }

    .gist-actions button,
    .gist-actions .gossip-btn {
        background: #f8fafd;
        color: #5b86e5;
        border-radius: 1rem;
        border: 1px solid #e0eaff;
        font-size: 1.13rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
        box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
        transition: background 0.2s, color 0.2s;
    }

    .gist-actions button:active,
    .gist-actions .gossip-btn:active {
        background: #e0eaff;
        color: #36d1c4;
    }

    .comments {
        background: #f8fafd;
        border-radius: 0.8rem;
        padding: 0.7rem 0.7rem 0.2rem 0.7rem;
        margin-top: 0.5rem;
        box-shadow: 0 1px 4px rgba(91, 134, 229, 0.07);
    }

    .comment {
        background: #fff;
        border-radius: 0.7rem;
        margin-bottom: 0.5rem;
        padding: 0.6rem 0.8rem;
        font-size: 1.01rem;
        box-shadow: 0 1px 4px rgba(31, 38, 135, 0.07);
    }

    .muted {
        color: #888;
        font-size: 1.01rem;
        margin: 0.5rem 0 0.2rem 0;
        text-align: center;
    }

    .auth-card {
        background: #fff;
        border-radius: 1.2rem;
        box-shadow: 0 4px 18px 0 rgba(54, 209, 196, 0.10);
        border: 1.5px solid #e0eaff;
        padding: 2rem 1.2rem 1.2rem 1.2rem;
        margin: 1.2rem 0;
    }

    .auth-card h2 {
        color: #36d1c4;
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 1.1rem;
    }

    .auth-card input[type="text"],
    .auth-card input[type="email"],
    .auth-card input[type="password"] {
        border-radius: 1rem;
        border: 1.2px solid #e0eaff;
        padding: 0.8rem 1.1rem;
        font-size: 1.08rem;
        background: #f8fafd;
        margin-bottom: 1.1rem;
    }

    .auth-card button[type="submit"] {
        background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
        color: #fff;
        border-radius: 1rem;
        font-weight: 700;
        font-size: 1.08rem;
        padding: 0.9rem 0;
        box-shadow: 0 2px 8px rgba(54, 209, 196, 0.13);
        margin-bottom: 1rem;
    }

    .auth-card button[type="submit"]:active {
        background: linear-gradient(90deg, #5b86e5 0%, #36d1c4 100%);
    }

    .auth-card a {
        color: #5b86e5;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }

    .auth-card a:hover {
        color: #36d1c4;
        text-decoration: underline;
    }

    .fab {
        background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
        color: #fff;
        box-shadow: 0 4px 18px 0 rgba(54, 209, 196, 0.13);
        border: none;
        border-radius: 50%;
        font-size: 2rem;
        width: 54px;
        height: 54px;
        right: 1.2rem;
        bottom: 1.2rem;
        position: fixed;
        z-index: 100;
        transition: background 0.2s, transform 0.15s;
    }

    .fab:active {
        background: linear-gradient(90deg, #5b86e5 0%, #36d1c4 100%);
        transform: scale(0.97);
    }
}

.container {
    padding: 0 0.2rem 2.5rem 0.2rem;
}

.glass-card,
.gist-card,
.hero-section {
    padding: 1.3rem 1rem 1.1rem 1rem;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px 0 rgba(54, 209, 196, 0.10);
    margin-bottom: 1.3rem;
    background: #fff;
}

.feed {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.profile-pic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0eaff;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.gist-user-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e0eaff;
}

.share-btn,
.fab {
    font-size: 1.13rem;
    border-radius: 1.2rem;
    padding: 0.9rem 1.5rem;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 2px 8px rgba(54, 209, 196, 0.13);
}

.fab {
    width: 54px;
    height: 54px;
    font-size: 2rem;
    bottom: 1.2rem;
    right: 1.2rem;
    border-radius: 50%;
    background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
}

header {
    padding: 1.1rem 0.7rem;
    border-radius: 0 0 1.2rem 1.2rem;
    box-shadow: 0 2px 8px rgba(91, 134, 229, 0.10);
    background: #fff;
}

.gist-content {
    font-size: 1.08rem;
    padding: 0.7rem 0.5rem;
    border-radius: 0.8rem;
    background: #f8fafd;
    margin-bottom: 0.7rem;
}

.gist-actions {
    gap: 1rem;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}

.comments {
    font-size: 0.98rem;
    padding-left: 0.2rem;
}
}

.gist-actions button,
.gist-actions .gossip-btn {
    min-width: 36px;
    min-height: 36px;
    font-size: 1.05rem;
    border-radius: 10px;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
    padding: 0.4rem 0.8rem;
    border: none;
    background: #f5f5f5;
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(31, 38, 135, 0.07);
    transition: background 0.2s, color 0.2s;
}

/* Make emoji icons smaller and aligned */
.gist-actions button span,
.gist-actions .gossip-btn span {
    font-size: 1rem !important;
    vertical-align: middle;
}

.gist-actions button:active,
.gist-actions .gossip-btn:active {
    background: var(--gradient-gossip);
    color: #fff;
}

.comments {
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.comment {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 0.7rem 0.9rem;
    font-size: 1.01rem;
    box-shadow: 0 1px 4px rgba(31, 38, 135, 0.07);
}

/* Auth Card Styles */
.auth-card {
    max-width: 370px;
    margin: 3.5rem auto 0 auto;
    background: var(--glass-bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--glass-border);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    animation: fadeInUp 0.7s cubic-bezier(.39, .575, .565, 1) both;
}

.auth-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 1.1rem;
    border-radius: 10px;
    border: 1.2px solid #e0e0e0;
    font-size: 1.08rem;
    background: #fff;
    box-sizing: border-box;
    transition: border 0.2s;
}

.auth-card input:focus {
    border: 1.2px solid var(--primary);
    outline: none;
}

.auth-card button[type="submit"] {
    width: 100%;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 1rem;
}

.auth-card button[type="submit"]:hover {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    transform: scale(1.03);
}

.auth-card .error {
    background: #ffe0e3;
    color: #ff5e62;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.01rem;
}

.auth-card p {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 1.01rem;
}

.auth-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-card a:hover {
    text-decoration: underline;
}

:root {
    --primary: #ff5e62;
    --secondary: #36d1c4;
    --accent: #5b86e5;
    --bg-gradient: linear-gradient(135deg, #f9f6ff 0%, #fbeee6 100%);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
    --text: #222;
    --muted: #888;
    --gradient-btn: linear-gradient(90deg, #ff5e62 0%, #ff9966 100%);
    --gradient-gossip: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
    --like: #ff5e62;
    --comment: #5b86e5;
    --gossip: #36d1c4;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    min-height: 100vh;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(circle at 80% 10%, #ff5e62 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, #36d1c4 0%, transparent 60%),
        var(--bg-gradient);
    opacity: 0.25;
    pointer-events: none;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.logo {
    font-weight: 900;
    font-size: 1.7rem;
    background: linear-gradient(90deg, #ff5e62 0%, #36d1c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(255, 94, 98, 0.08);
}

.profile-pic {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0eaff;
    background: #ffe3e3;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
}

.container {
    max-width: 600px;
    margin: 2.5rem auto 0 auto;
    padding: 0 1.2rem 2.5rem 1.2rem;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 2rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s cubic-bezier(.39, .575, .565, 1) both;
}

.anon-link-box h2 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.anon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #ffe0e3 0%, #e0f7fa 100%);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
    word-break: break-all;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.07);
    font-weight: 600;
}

.share-btn {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
    transition: background 0.2s, transform 0.15s;
}

.share-btn:hover {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    transform: scale(1.04);
}

.share-btn.wide {
    width: 100%;
    margin-bottom: 0.7rem;
    background: var(--gradient-gossip);
}

.share-btn.wide:hover {
    background: linear-gradient(90deg, #5b86e5 0%, #36d1c4 100%);
}

.muted {
    color: var(--muted);
    font-size: 1.01rem;
    margin: 0;
}

.feed {
    margin-top: 1.2rem;
}

.gist-card {
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    margin-bottom: 2.2rem;
    border-radius: 1.5rem;
    border: 1.5px solid var(--glass-border);
    background: var(--glass-bg);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    position: relative;
    overflow: hidden;
}

.gist-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.gist-user-pic {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 0.7rem;
    border: 2px solid #e0eaff;
    background: #ffe3e3;
    box-shadow: 0 2px 8px rgba(255, 94, 98, 0.13);
}

.gist-username {
    font-weight: 800;
    font-size: 1.13rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.gist-content {
    margin-bottom: 1rem;
    font-size: 1.18rem;
    color: var(--text);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.gist-img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(54, 209, 196, 0.09);
    position: relative;
    z-index: 1;
    object-fit: cover;
    max-height: 260px;
}

.gist-actions {
    display: flex;
    gap: 1.7rem;
    font-size: 1.13rem;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
}

.gist-actions button {
    background: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
    padding: 0.3rem 0.9rem;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    font-size: 1.13rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.like-btn {
    color: var(--like);
}

.like-btn:hover {
    background: #ffe0e3;
    color: #ff5e62;
}

.comment-btn {
    color: var(--comment);
}

.comment-btn:hover {
    background: #e0eaff;
    color: #5b86e5;
}

.gossip-btn {
    color: var(--gossip);
    background: #e0f7fa;
}

.gossip-btn:hover {
    background: #d1f3ee;
    color: #5b86e5;
}

.fab {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(255, 94, 98, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s, transform 0.15s;
}

.fab:hover {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .container {
        max-width: 98vw;
        padding: 0 0.5rem 2.5rem 0.5rem;
    }

    header {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.2rem 2.5rem 0.2rem;
    }

    .glass-card,
    .gist-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .fab {
        width: 54px;
        height: 54px;
        font-size: 2rem;
        bottom: 1.2rem;
        right: 1.2rem;
    }

    header {
        padding: 1rem 0.7rem;
    }

    .profile-pic {
        width: 38px;
        height: 38px;
    }

    .gist-user-pic {
        width: 34px;
        height: 34px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}