.profile-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.follow-button {
    background: linear-gradient(135deg, #ff7b54, #ff9671);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.3s ease;
}

    .follow-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 123, 84, 0.4);
    }

.profile-header {
    margin-bottom: 30px;
}

.profile-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .social-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.social-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e8ed;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.twitter-icon {
    background: #1DA1F2;
    color: white;
}

.facebook-icon {
    background: #1877F2;
    color: white;
}

.youtube-icon {
    background: #FF0000;
    color: white;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.iframe-container {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-right: 5px;
    max-width: 540px;
    /* optional: match Instagram’s max width */
    margin: 0 auto;
}

    .iframe-container::-webkit-scrollbar {
        width: 6px;
    }

    .iframe-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .iframe-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .iframe-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

    .iframe-container iframe {
        width: 100%;
        border: none;
        border-radius: 8px;
        margin-bottom: 15px;
    }

.twitter-timeline {
    width: 100% !important;
    height: 100% !important;
}

.video-embed {
    width: 100%;
    height: 220px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
}

.instagram-embed {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.profile-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: #f7f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .profile-link:hover {
        background: #e1e8ed;
        transform: scale(1.02);
    }

@media (max-width: 1200px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        height: 500px;
    }
}
