/* Custom Gaming & HTMX Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

html {
    background-color: #020503; /* Matrix deep black */
}

body {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    background-color: transparent !important;
}

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

/* HTMX Transition animations */
.htmx-swapping {
    opacity: 0;
    transition: opacity 250ms ease-out;
}

.htmx-settling {
    opacity: 1;
    transition: opacity 250ms ease-in;
}

/* Custom Matrix Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #020704;
}
::-webkit-scrollbar-thumb {
    background: #064e3b;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

/* Matrix Neon Glow effects */
.glow-matrix {
    box-shadow: 0 0 25px -4px rgba(34, 197, 94, 0.35);
}

.glow-matrix-lg {
    box-shadow: 0 0 40px -5px rgba(34, 197, 94, 0.45);
}

.text-matrix-glow {
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.75), 0 0 25px rgba(16, 185, 129, 0.4);
}

.border-matrix-glow {
    box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.15), 0 0 15px rgba(34, 197, 94, 0.2);
}

/* Gradient border box (Matrix Edition) */
.gradient-border-box {
    position: relative;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(16, 185, 129, 0.15), rgba(34, 197, 94, 0.4));
    padding: 1.5px;
    border-radius: 1.25rem;
}

.gradient-border-inner {
    background: rgba(3, 12, 6, 0.94);
    backdrop-filter: blur(12px);
    border-radius: calc(1.25rem - 1.5px);
}

/* Rating Badge Hover */
.rating-pill {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.rating-pill:hover {
    transform: translateY(-2px) scale(1.08);
}

/* Copy button ripple */
.copied-pop {
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
