/* Custom styles complementing Tailwind */
:root {
    --midnight: #0a1628;
    --midnight-deep: #060f1e;
    --mint: #5eead4;
    --gold: #d4a017;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 72px;
}

/* Selection color */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #f1f5f9;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 9999;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #5eead4, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer effect on gold elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #d4a017, #f5c842, #d4a017);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Pulse dot animation */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Counter animation */
@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
