/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Body Layout */
body {
    background: #0f172a;
    color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Background Muter - BIRU PUDAR & PUTIH (Tanpa Warna Gelap/Hitam) */
/* Background Light Sweep - Gerakan Diagonal dari Kiri Atas ke Kanan Bawah */
body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    
    /* Gradasi Diagonal: Biru Pudar -> Putih -> Biru Muda -> Biru Pudar */
    background: linear-gradient(
        135deg,
        #38bdf8 0%,
        #bae6fd 25%,
        #ffffff 50%,
        #7dd3fc 75%,
        #38bdf8 100%
    );
    
    background-size: 200% 200%;
    filter: blur(50px);
    z-index: 0;
    
    /* Animasi Bergerak Diagonal Kiri Atas ke Kanan Bawah */
    animation: sweepBg 8s ease-in-out infinite alternate;
}

/* Keyframe Gerakan Menyapu dari Kiri Atas (0% 0%) ke Kanan Bawah (100% 100%) */
@keyframes sweepBg {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}
/* Kartu Utama - LEBIH SOLID & TAJAM (Ga Terlalu Glass/Bening) */
.card {
    position: relative;
    z-index: 1;
    /* Background kartu dibuat agak gelap solid biar teks kontras & tajam */
    background: rgba(15, 23, 42, 0.82); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 950px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Atas: Profile Info */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0.5rem 0;
}

/* Judul BOOPA - Light Sweep Jalan + Glow Halus Pudar */
.brand-title {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    padding: 10px 0;
    
    background: linear-gradient(
        110deg, 
        #38bdf8 0%, 
        #bae6fd 35%, 
        #ffffff 50%, 
        #bae6fd 65%, 
        #38bdf8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: textShimmer 3.5s infinite linear;
}

.cursive-letter {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    font-weight: normal;
    text-transform: none;
    margin-right: -2px;
    line-height: 1;
    display: inline-block;
    
    background: linear-gradient(
        110deg, 
        #38bdf8 0%, 
        #e0f2fe 35%, 
        #ffffff 50%, 
        #e0f2fe 65%, 
        #38bdf8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: textShimmer 3.5s infinite linear;
}

@keyframes textShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* BIO REVISI: Clean & Sangat Jelas */
.bio {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 600px;
    color: #f8fafc;
}

/* Pembatas Horizontal Gelombang Cahaya */
.divider {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(56, 189, 248, 0.6) 30%, 
        #ffffff 50%, 
        rgba(56, 189, 248, 0.6) 70%, 
        transparent 100%
    );
    animation: waveLoading 3s infinite linear;
}

@keyframes waveLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Section Bawah: Social Links Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.social-btn {
    background: rgba(255, 255, 255, 0.07); 
    color: #f8fafc;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.platform-name {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.username {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Icon Social Colors */
.social-icon {
    font-size: 1.4rem;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.x-svg { fill: #f8fafc; }
.github .social-icon { color: #ffffff; }
.ig .social-icon { color: #e1306c; }
.tiktok .social-icon { color: #00f2fe; }
.yt .social-icon { color: #ff0000; }
.discord .social-icon { color: #5865f2; }

.social-btn:hover .social-icon {
    transform: scale(1.12);
}

/* Responsif Layar HP */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    .card {
        padding: 2.5rem 1.5rem;
    }

    .social-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
