@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=JetBrains+Mono:wght@100..800&family=Plus+Jakarta+Sans:wght@200..800&display=swap');

:root {
    --bg-black: #05050A;
    --electric-purple: #7B2CBF;
    --radiant-gold: #FFB703;
    --gold-bright: #FFD000;
    --silver-white: #E0E0E0;
    --grain: url('data:image/svg+xml;utf8,<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="noiseFilter"/></svg>');
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
}

body {
    background-color: var(--bg-black);
    color: var(--silver-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--grain);
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: #fff;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.font-display {
    font-family: 'Cinzel', serif;
}

/* Custom Effects */
.premium-blur {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(5, 5, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.purple-glow {
    box-shadow: 0 0 50px -10px rgba(123, 44, 191, 0.4);
}

.gold-glow {
    box-shadow: 0 0 50px -10px rgba(255, 183, 3, 0.4);
}

.text-glow-purple {
    text-shadow: 0 0 20px rgba(123, 44, 191, 0.6);
}

.text-glow-gold {
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.6);
}

.neon-gradient-text {
    background: linear-gradient(135deg, var(--radiant-gold) 0%, var(--electric-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bento Grid Styles */
/* Grid handled via Tailwind in HTML */

.bento-item {
    background: #0A0A14;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.bento-item:hover {
    border-color: rgba(123, 44, 191, 0.3);
    transform: translateY(-5px);
}

/* Glowing Borders */
.glow-border-gold {
    border: 1px solid rgba(255, 183, 3, 0.2);
}
.glow-border-gold:hover {
    border-color: rgba(255, 183, 3, 0.6);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.1);
}

.glow-border-purple {
    border: 1px solid rgba(123, 44, 191, 0.2);
}
.glow-border-purple:hover {
    border-color: rgba(123, 44, 191, 0.6);
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 150ms; }
.stagger-2 { transition-delay: 300ms; }
.stagger-3 { transition-delay: 450ms; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: #1A1A2E;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--electric-purple);
}

/* Utilities */
.text-stroke {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    color: transparent;
}

.text-stroke:hover {
    -webkit-text-stroke: 1px var(--radiant-gold);
}
