/* =========================================
   1. Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFA500;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   2. Animated Premium Background (4K Feel)
   ========================================= */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    overflow: hidden;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    animation: moveShape 15s infinite alternate ease-in-out;
}

.background-animation::before {
    top: -10%;
    left: -10%;
}

.background-animation::after {
    bottom: -10%;
    right: -10%;
    animation-delay: -7s;
}

@keyframes moveShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* =========================================
   3. Header & Navigation
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-yellow);
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-yellow);
}

/* =========================================
   4. Hero Section Layout
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 0 5%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.greeting {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-yellow), var(--primary-yellow));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.bio {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* =========================================
   5. Buttons & CTAs
   ========================================= */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: var(--primary-yellow);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: translateY(-3px);
}

/* =========================================
   6. Social Links (SVG)
   ========================================= */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-yellow);
}

.social-links a svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   7. 3D Animated Card ("Hilta Julta")
   ========================================= */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.card-3d {
    width: 320px;
    height: 420px;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-inner {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 24px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.05);
}

.card-3d:hover .card-inner {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.15);
}

.avatar-container {
    transform: translateZ(40px);
    margin-bottom: 1.5rem;
}

.avatar-container img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.card-info {
    text-align: center;
    transform: translateZ(30px);
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.card-info p {
    color: var(--primary-yellow);
    font-weight: 500;
    margin-bottom: 1rem;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-white);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* =========================================
   8. Floating Background Shapes
   ========================================= */
.floating-shapes .shape {
    position: absolute;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: floatShape 8s infinite ease-in-out;
    z-index: 1;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 15%;
    border-radius: 12px;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 10%;
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 40%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 4s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

/* =========================================
   9. Responsive Design (Mobile Friendly)
   ========================================= */
@media (max-width: 968px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .name {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .card-3d {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.2rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}