/* base.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 160, 89, 0.6);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--gold-primary); font-weight: 600; }
.section-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase; overflow: hidden; letter-spacing: 1px; }
.section-title .word { display: inline-block; transform: translateY(100%); opacity: 0; }
.section-subtitle { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 5px; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 1rem; border-left: 2px solid var(--gold-primary); padding-left: 10px; }

/* Noise Overlay */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: var(--z-noise);
    opacity: 0.04; mix-blend-mode: overlay;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Cursor */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: var(--z-cursor); mix-blend-mode: difference; will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; background-color: #ffffff; }
.cursor-ring { width: 40px; height: 40px; border: 1px solid #ffffff; transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease; }
.cursor-ring.hovered { width: 60px; height: 60px; background-color: #ffffff; mix-blend-mode: difference; }

/* Magnetic buttons */
.magnetic-btn { display: inline-block; }

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--bg-darker); z-index: var(--z-preloader); display: flex; justify-content: center; align-items: center; }
.preloader-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-logo { font-family: var(--font-heading); color: var(--gold-primary); font-size: 2rem; letter-spacing: 10px; opacity: 0; }
.preloader-line-wrap { width: 200px; height: 1px; background-color: rgba(197, 160, 89, 0.2); overflow: hidden; }
.preloader-line { width: 100%; height: 100%; background-color: var(--gold-primary); transform: translateX(-101%); }

/* GSAP Defaults */
.gs-reveal, .gs-fade-up, .gs-stagger, .gs-split, .clip-reveal { visibility: hidden; }
