body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.main-container {
    background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
    background-size: 200% 200%;
    animation: gradient-animation 10s ease infinite;
    padding: 2rem 1rem;
    min-height: 100vh;
    box-sizing: border-box;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.content-wrapper {
    color: white;
    max-width: 900px;
    width: 100%;
}

.profile-pic {
    width: 141px !important;
    height: 141px !important;
    min-width: 141px !important;
    min-height: 141px !important;
    max-width: 141px !important;
    max-height: 141px !important;
    border-radius: 50% !important;
    object-fit: fill !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Memastikan container foto profil juga mengikuti ukuran */
.profile-pic-container {
    width: 141px !important;
    height: 141px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Override semua kemungkinan style Bootstrap atau framework lain */
img.profile-pic,
.profile-pic img,
[class*="profile"] img {
    width: 188px !important;
    height: 188px !important;
    border-radius: 50% !important;
    object-fit: fill !important;
}

.profile-name {
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

.profile-description {
    font-size: 1rem;
    line-height: 1.4;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}


.link-button {
    background-color: white;
    color: #333;
    font-weight: 600;
    border-radius: 50px;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
    position: relative;
    padding-left: 50px;
    /* Extra padding for the icon */
}

.link-button i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    text-align: center;
}



.link-button:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.8rem;
}

.social-icon {
    color: white;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    color: #f0f0f0;
    transform: scale(1.2);
}

/* Links Grid Container */
.links-grid-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Links Grid - CSS Grid Layout */
.links-grid {
    display: grid;
    gap: 0.75rem;
    width: 100%;
}

/* Single column layout (default for mobile and when 4 or less links) */
.links-grid[data-columns="1"] {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

/* Two column layout for more than 4 links on desktop */
.links-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

/* Responsive: Force single column on small screens */
@media (max-width: 768px) {
    .links-grid[data-columns="2"] {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .links-grid-container {
        padding: 0 0.5rem;
    }

    .link-button {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* Adjust link button for grid layout */
.links-grid .link-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.footer {
    font-size: 1.1rem;
    /* Diperbesar sedikit */
    opacity: 1;
    /* Full opacity agar terlihat jelas */
    font-family: 'Nunito', sans-serif;
    /* Font santai */
    font-weight: 600;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Sedikit shadow agar kebaca di background gradient */
    margin-top: 3rem !important;
}

.footer a {
    color: white !important;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.footer a:hover {
    transform: scale(1.05);
    /* Efek membesar dikit saat hover */
}

/* Modal Custom Styling */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.privacy-content {
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: normal;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;

}