:root {
    --obsidian: #0a0a0a;
    --gold: #d4af37;
    --champagne: #f7e7ce;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--obsidian);
}

body.loading {
    overflow: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Montserrat', sans-serif;
}

.bg-obsidian { background-color: var(--obsidian); }
.text-gold { color: var(--gold); }
.border-gold { border-color: var(--gold); }
.bg-gold { background-color: var(--gold); }

/* Sticky Social Sidebar */
.social-sidebar-link {
    position: relative;
    color: var(--gold);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-sidebar-link:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.social-sidebar-link .tooltip {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--gold);
    color: black;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-sidebar-link:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Preloader Specifics */
#preloader {
    pointer-events: all;
}

#preloader-name {
    letter-spacing: 0.5em;
    will-change: letter-spacing, opacity;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

/* Logo Animation */
.logo-hover-effect {
    filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
}

.logo-hover-effect:hover {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    transform: scale(1.1) rotate(1deg);
}

/* Hero Section Refinements */
.hero-name-text {
    background: linear-gradient(to right, #ffffff 20%, #d4af37 40%, #d4af37 60%, #ffffff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
    display: inline-block;
}

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

.reveal-name {
    perspective: 1000px;
}

/* Visionary Profile Glow */
.cinematic-border-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid var(--gold);
    opacity: 0.15;
    border-radius: 20px;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.group:hover .cinematic-border-glow {
    opacity: 0.4;
    transform: scale(1.03);
}

/* Achievement Grid Glassmorphism */
.achievement-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
}

.achievement-content {
    position: relative;
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.achievement-card:hover .card-glow {
    width: 300px;
    height: 300px;
}

/* Enhanced Carousel Styles */
.carousel-container {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.collab-card {
    min-width: 280px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.collab-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px) scale(1.05);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 10px 40px -10px rgba(212, 175, 55, 0.2);
}

.collab-card .tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.collab-card .name {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-smooth {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 40s linear infinite;
}

.animate-marquee-smooth:hover {
    animation-play-state: paused;
}

/* Footer & Nav Scrolled */
#main-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Typography refinement */
.reveal-sub {
    letter-spacing: 0.4em;
}

#dynamic-word {
    min-width: 15ch;
    display: inline-block;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--obsidian);
}
::-webkit-scrollbar-thumb {
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Responsive Polishes */
@media (max-width: 1024px) {
    .social-sidebar { display: none !important; }
}

@media (max-width: 768px) {
    .achievement-card { padding: 2rem 1.5rem; }
    .collab-card { min-width: 220px; padding: 1.5rem; }
    #dynamic-word { min-width: auto; }
}
