:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(28, 28, 30, 0.6);
    --card-hover: rgba(44, 44, 46, 0.9);
    --text-primary: #f2f2f7;
    --text-secondary: #8e8e93;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --transition: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic background glows */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    left: -200px;
}

.glow-2 {
    bottom: -300px;
    right: -200px;
}

.container {
    width: 100%;
    max-width: 680px;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.profile-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.profile-bio {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 250px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out both;
}

/* Staggered animation */
.link-group:nth-child(1) {
    animation-delay: 0.1s;
}

.link-group:nth-child(2) {
    animation-delay: 0.2s;
}

.link-group:nth-child(3) {
    animation-delay: 0.3s;
}

.group-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
    padding-left: 8px;
}

.link-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.4s var(--transition), background-color 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}

.link-btn:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: var(--border-hover);
}

.link-btn:hover::before {
    left: 100%;
}

.link-btn:active {
    transform: translateY(0) scale(0.99);
}

.link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.link-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    padding-right: 24px;
    letter-spacing: 0.2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.coming-soon {
    font-size: 0.625rem;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 40px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.buatan {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 4px;
}

.footer-logo {
    height: 20px;
    width: auto;
    opacity: 0.4;
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 32px 16px 48px;
    }

    .profile-img {
        width: 150px;
        height: auto;
        margin-bottom: 16px;
    }

    .profile-bio {
        font-size: 0.7rem;
        padding: 0 12px;
    }

    .link-group {
        gap: 12px;
    }

    .link-btn {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .link-text {
        font-size: 0.95rem;
        padding-right: 20px;
    }

    .link-icon {
        width: 20px;
        height: 20px;
    }

    .links-container {
        gap: 24px;
    }

    .group-title {
        font-size: 0.75rem;
        padding-left: 4px;
    }
}