/*
* Hussain Raniwala Brand & Portfolio Design System
* Minimal, fast, typography-led with Inter and Playfair Display
*/

:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7B2C;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    line-height: 1.6;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.animate-marquee {
    animation: marquee 28s linear infinite;
}

.marquee-track:hover .marquee-group {
    animation-play-state: paused;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Glassmorphism helpers */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.dark .glass-panel {
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Custom Cursor */
@media (hover: hover) and (pointer: fine) {
    #custom-cursor {
        pointer-events: none;
    }
    #custom-cursor-follower {
        pointer-events: none;
    }
}

/* Tailwind utility fallbacks & typography */
.prose h2, .prose h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}
.prose p {
    margin-bottom: 1.25em;
}
.prose ul, .prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}
.prose li {
    margin-bottom: 0.5em;
}
.prose strong {
    font-weight: 600;
}

/* Regal Gold Metallic Button & Luxury Accent System */
.btn-gold-regal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F9E79F 0%, #E8C97A 25%, #C9A84C 50%, #9A7B2C 75%, #C9A84C 100%);
    background-size: 200% auto;
    color: #0A0A0A !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(255, 235, 160, 0.6);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.btn-gold-regal:hover {
    background-position: right center;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.5), 0 0 14px rgba(249, 231, 159, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    color: #000000 !important;
}

.btn-gold-regal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-gold-regal:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.gold-glow {
    box-shadow: 0 0 35px -5px rgba(201, 168, 76, 0.25);
}

.gold-border-glow {
    border-color: rgba(201, 168, 76, 0.4) !important;
    box-shadow: 0 0 20px -3px rgba(201, 168, 76, 0.2);
}

.gold-text-gradient {
    background: linear-gradient(135deg, #FFF6D6 0%, #E8C97A 50%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
