body {
    background-color: #fafafa;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.navbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.profile-pic {
    object-fit: cover;
    border: 2px solid #ddd;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    width: 120px;
    height: 120px;
}

.navbar h4 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.insta-grid {
    column-count: 4;
    column-gap: 10px;
    padding: 15px;
}

.insta-item {
    background-color: #fff;
    position: relative;
    break-inside: avoid;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.insta-item img:hover {
    transform: scale(1.03);
}

.insta-info {
    margin-top: 1px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #555;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insta-info span.location {
    font-weight: 500;
    color: #222;
}

@media (max-width: 980px) {
    .insta-grid {
        column-count: 2;
    }

    .profile-pic {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 576px) {
    .insta-grid {
        column-count: 1;
    }

    .profile-pic {
        width: 48px;
        height: 48px;
    }
}


.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.play-overlay svg {
    width: 28px;
    height: 28px;
    fill: white;
    margin-left: 3px;
}

.modal-body img,
.modal-body video {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

footer {
  background-color: #fafafa;
  color: #666;
}
