:root {
    --gold: #ffb700;
    --gold-dim: #b38000;
    --gold-glow: rgba(255, 183, 0, 0.25);
    --bg: #050505;
    --card: #0a0a0a;
    --text: #fff;
    --subtext: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    /* Smooth Font Rendering */
    -webkit-font-smoothing: antialiased;
}

/* --- BACKGROUND FX --- */
.bg-glow {
    position: fixed; top: -10%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.15) 0%, transparent 70%);
    z-index: -1; pointer-events: none;
    animation: pulseGlow 5s infinite alternate;
}

.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1; pointer-events: none;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.main-container {
    width: 90%; max-width: 1200px; 
    margin: 0 auto; padding: 60px 0; text-align: center;
}

/* --- HERO SECTION --- */
.creator-hero { margin-bottom: 50px; }

.profile-frame {
    position: relative; width: 160px; height: 160px; margin: 0 auto 20px;
    /* Floating Animation */
    animation: float 6s ease-in-out infinite;
}

.creator-img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--gold); 
    box-shadow: 0 0 40px var(--gold-glow);
    transition: 0.3s;
}
.creator-img:hover { transform: scale(1.05); box-shadow: 0 0 60px rgba(255, 183, 0, 0.5); }

.status-indicator {
    position: absolute; bottom: 10px; right: 10px; width: 20px; height: 20px;
    background: #00ff00; border: 3px solid var(--bg); border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulseGreen 2s infinite;
}

.creator-name {
    font-family: 'Orbitron', sans-serif; font-size: 3.5rem; letter-spacing: 3px;
    background: linear-gradient(to bottom, #fff, #888); 
    -webkit-background-clip: text; color: transparent;
    margin-bottom: 5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.creator-bio { 
    color: var(--subtext); letter-spacing: 2px; font-weight: 500; font-size: 0.9rem; margin-bottom: 30px; 
}
.accent { color: var(--gold); font-weight: bold; margin: 0 8px; }

/* --- SOCIAL DOCK --- */
.social-dock {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    background: rgba(20, 20, 20, 0.6); padding: 10px 25px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dock-item {
    color: #ccc; font-size: 1.3rem; width: 42px; height: 42px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none; position: relative;
    background: rgba(255,255,255,0.03);
}

/* Tooltip on Hover */
.dock-item:hover::after {
    content: attr(data-tooltip);
    position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: #000; font-size: 0.7rem; font-weight: 800;
    padding: 4px 8px; border-radius: 4px; white-space: nowrap; opacity: 1; pointer-events: none;
}
.dock-item:hover { background: var(--gold); color: #000; transform: translateY(-5px) scale(1.1); box-shadow: 0 5px 15px var(--gold-glow); }

/* --- GRID SYSTEM --- */
.section-divider {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 40px; color: var(--subtext); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
}
.section-divider::before, .section-divider::after {
    content: ''; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, #333, transparent); margin: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; justify-content: center;
}

/* --- CARDS --- */
.project-card {
    background: var(--card); border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s ease;
    display: flex; flex-direction: column; position: relative;
}

.project-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--gold); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-visual { width: 100%; height: 210px; position: relative; overflow: hidden; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.project-card:hover .card-visual img { transform: scale(1.08); filter: brightness(1.1); }

.card-visual.empty {
    background: radial-gradient(circle at center, #1a1a1a, #0d0d0d); 
    display: flex; justify-content: center; align-items: center;
    color: #333; font-size: 3.5rem;
}

.live-badge {
    position: absolute; top: 12px; right: 12px;
    background: #ff0000; color: #fff; font-weight: 800; font-size: 0.65rem;
    padding: 4px 8px; border-radius: 4px; letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
}

.pulse-red { animation: pulseRed 2s infinite; }

.card-details { padding: 25px; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.card-details h3 { font-family: 'Orbitron'; margin-bottom: 8px; color: #fff; font-size: 1.3rem; }
.card-details p { color: var(--subtext); margin-bottom: 25px; font-size: 0.9rem; line-height: 1.5; flex-grow: 1; }

.action-btn {
    display: block; width: 100%; background: var(--gold); color: #000;
    text-align: center; padding: 14px; text-decoration: none; font-weight: 800;
    border-radius: 8px; transition: 0.3s; border: none; cursor: pointer; letter-spacing: 1px;
}
.action-btn:hover { background: #fff; box-shadow: 0 0 20px var(--gold-glow); }
.action-btn.disabled { background: #1a1a1a; color: #444; cursor: not-allowed; border: 1px solid #222; }

footer { color: #333; font-size: 0.8rem; margin-top: 60px; font-weight: 600; }

/* --- ANIMATIONS --- */
.fade-in { opacity: 0; animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}
@keyframes pulseRed {
    0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .creator-name { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .main-container { width: 90%; padding: 40px 0; }
}