:root {
    /* Luxury Dark Theme Palette */
    --clr-bg-base: #030305;
    --clr-bg-surface: rgba(15, 15, 20, 0.4);
    
    --clr-gold-light: #F2D388;
    --clr-gold-main: #D4AF37;
    --clr-gold-dark: #AA8222;
    
    --clr-text-primary: #F9FAFB;
    --clr-text-secondary: rgba(249, 250, 251, 0.6);
    
    --border-glass: rgba(212, 175, 55, 0.15);
    --border-glass-hover: rgba(212, 175, 55, 0.4);
    
    --glow-gold: rgba(212, 175, 55, 0.15);
    
    --font-heading: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--clr-bg-base);
    color: var(--clr-text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Dynamic High-End Backgrounds --- */
.bg-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.layer-1 {
    background: url('cyberpunk_gold_black_background_1775141875992.png') no-repeat center center/cover;
    opacity: 0.35;
    /* JS will drive this transform */
    transform: scale(1.05) translate(var(--mouse-x, 0px), var(--mouse-y, 0px));
    transition: transform 0.2s cubic-bezier(0.1, 0.5, 0.9, 0.5);
    filter: saturate(1.2) contrast(1.1);
}

.layer-2 {
    background: radial-gradient(circle at 50% 0%, var(--glow-gold), transparent 60%),
                radial-gradient(circle at 50% 100%, rgba(0,0,0,0.8), transparent 50%);
    mix-blend-mode: color-dodge;
}

/* --- Main Layout --- */
.container {
    width: 100%;
    max-width: 580px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* --- Header Profile --- */
.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold-dark), transparent, var(--clr-gold-light));
    background-size: 200% 200%;
    animation: goldRotate 6s linear infinite;
    z-index: 0;
}

.avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    border: 2px solid rgba(0,0,0,0.5);
    background: var(--clr-bg-base);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(to right, var(--clr-gold-light), var(--clr-gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    font-weight: 500;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
}

.divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-gold-main), transparent);
    margin-top: 1.5rem;
}

/* --- Links Container & Cards --- */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--clr-bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    text-decoration: none;
    color: var(--clr-text-primary);
    overflow: hidden;
    transition: var(--transition-smooth);
    /* Glass Effect */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Inner Glass Glow */
.card-glass-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.link-card:hover .card-glass-layer {
    opacity: 1;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.8), 0 0 20px -5px var(--glow-gold);
}

/* Content Area inside Link */
.link-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--clr-gold-light);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.link-card:hover .link-icon-wrap {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: #fff;
    transform: scale(1.05);
}

.link-content {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.link-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
}

.link-desc {
    font-size: 0.75rem;
    color: var(--clr-text-secondary);
    font-weight: 400;
}

/* Action Area (Badges & Arrows) */
.link-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.badge {
    background: linear-gradient(135deg, var(--clr-gold-dark), var(--clr-gold-main));
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    color: var(--clr-text-secondary);
    transition: var(--transition-smooth);
}

.link-card:hover .action-btn {
    background: var(--clr-gold-main);
    color: #000;
    transform: rotate(45deg);
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--clr-text-secondary);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* --- Entry Animations --- */
@keyframes goldRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.view-animate > * {
    opacity: 0;
    animation: fadeRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.profile-section { animation-delay: 0.1s; }

/* Dynamic Delays for Link Cards */
.link-animate-1 { animation-delay: 0.2s; }
.link-animate-2 { animation-delay: 0.3s; }
.link-animate-3 { animation-delay: 0.4s; }
.link-animate-4 { animation-delay: 0.5s; }
.link-animate-5 { animation-delay: 0.6s; }
.link-animate-6 { animation-delay: 0.7s; }
.link-animate-7 { animation-delay: 0.8s; }
.link-animate-8 { animation-delay: 0.9s; }

.site-footer { animation-delay: 1s; }

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

/* Responsive Tweaks */
@media (max-width: 480px) {
    .container { padding: 2rem 1rem; }
    .avatar-wrap { width: 80px; height: 80px; }
    .brand-name { font-size: 1.8rem; }
    .link-icon-wrap { width: 38px; height: 38px; margin-right: 1rem; }
    .link-title { font-size: 0.95rem; }
}
