/* Custom Cursor, Preloader, Typography, and Buttons */

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    position: fixed;
    border-radius: 50%;
    z-index: 10001;
    pointer-events: none;
    transition: transform 0.1s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(var(--accent-gold-rgb), 0.3);
    position: fixed;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transition: all 0.3s ease-out;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--glass-border);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 0.9;
    font-weight: 800;
}

.section-title span {
    color: var(--accent-gold);
    -webkit-text-stroke: 1px var(--accent-gold);
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-text-fill-color: var(--accent-gold);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    filter: drop-shadow(0 0 10px rgba(var(--accent-gold-rgb), 0.5));
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 5rem auto;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--accent-gold-hover);
    box-shadow: 0 15px 30px rgba(var(--accent-gold-rgb), 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--text-main);
    color: #000;
    transform: translateY(-5px);
    box-shadow: var(--glow-silver);
}
