/* ============================================
   FEED PAGE STYLES - MODERN MINIMAL
   ============================================ */

.feed-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    background: var(--cream);
    min-height: 100vh;
}

/* ============================================
   POST CREATOR BOX
   ============================================ */

.post-creator {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creator-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
}

.profile-pic {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--soft-beige), var(--warm-gray));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.creator-input {
    flex: 1;
    background: var(--off-white);
    border: 1px solid var(--soft-beige);
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--charcoal);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.creator-input:focus {
    background: white;
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 3px rgba(201, 168, 114, 0.1);
}

.creator-input::placeholder {
    color: var(--warm-gray);
}

.creator-actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--soft-beige);
    padding-top: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--dark-taupe);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.action-icon {
    font-size: 16px;
}

.action-btn:hover {
    background: var(--off-white);
    color: var(--accent-warm);
    transform: translateY(-2px);
}

.post-btn {
    flex: 1;
    padding: 10px 16px;
    background: var(--accent-warm);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(201, 168, 114, 0.15);
}

.post-btn:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 114, 0.2);
}

.post-btn:active {
    transform: translateY(0);
}

/* ============================================
   POST CARD
   ============================================ */

.post {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

.post:hover {
    border-color: var(--accent-warm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.post-author {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.author-pic {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--soft-beige), var(--warm-gray));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.post-time {
    font-size: 12px;
    color: var(--warm-gray);
    font-weight: 400;
}

.post-menu {
    background: none;
    border: none;
    color: var(--warm-gray);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.post-menu:hover {
    color: var(--accent-warm);
    background: var(--off-white);
}

.post-content {
    margin-bottom: 12px;
}

.post-content p {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.post-media {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--off-white), var(--soft-beige));
    margin-top: 12px;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    transition: all 0.3s ease;
}

.post:hover .media-placeholder {
    transform: scale(1.05);
}

.media-image,
.media-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* ============================================
   POST INTERACTIONS
   ============================================ */

.post-interactions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--soft-beige);
    padding-top: 10px;
    margin-top: 10px;
}

.interaction-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--dark-taupe);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.interaction-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.interaction-btn:hover {
    background: var(--off-white);
    color: var(--accent-warm);
}

.interaction-btn:hover .interaction-icon {
    transform: scale(1.2);
}

.like-btn.liked {
    color: var(--accent-warm);
}

.like-btn.liked .interaction-icon {
    animation: heartBeat 0.4s ease-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.interaction-text {
    display: none;
}

/* ============================================
   MODAL / COMMENT PREVIEW
   ============================================ */

.comment-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--soft-beige);
    display: none;
}

.comment-section.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.comment-input {
    width: 100%;
    background: var(--off-white);
    border: 1px solid var(--soft-beige);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--charcoal);
    font-family: inherit;
    margin-bottom: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.comment-input:focus {
    background: white;
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 2px rgba(201, 168, 114, 0.1);
}

.comment-input::placeholder {
    color: var(--warm-gray);
}

.comment-btn {
    width: 100%;
    padding: 8px;
    background: var(--accent-warm);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.comment-btn:hover {
    background: var(--accent-soft);
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

@media (max-width: 768px) {
    .feed-container {
        max-width: 100%;
        padding: 70px 16px 20px;
    }

    .creator-input {
        font-size: 14px;
    }

    .action-btn span,
    .post-btn {
        display: none;
    }

    .action-btn {
        justify-content: center;
        flex: 1;
    }

    .action-icon {
        font-size: 18px;
    }

    .interaction-text {
        display: none;
    }

    .post {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .feed-container {
        padding: 65px 12px 15px;
    }

    .creator-header {
        gap: 10px;
    }

    .creator-input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .profile-pic {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .post {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .author-pic {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .author-name {
        font-size: 14px;
    }

    .post-content p {
        font-size: 14px;
    }

    .interaction-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .interaction-icon {
        font-size: 14px;
    }
}
