/* Sacred GunZ - dark gaming theme.
   Palette: near-black slate background, a hot cyan-to-magenta accent gradient (matching
   the muzzle-flash/energy-blade motif of the game itself), a warm amber secondary accent
   for calls to attention (prices, warnings). Display face: Rajdhani (angular, technical,
   common in HUD/gaming UI). Body face: Inter (neutral, highly legible at small sizes). */

:root {
    --sgz-bg: #0a0e14;
    --sgz-bg-elevated: #11161f;
    --sgz-bg-card: #151b26;
    --sgz-border: #232b3a;
    --sgz-text: #e7ecf5;
    --sgz-text-muted: #8b96ab;
    --sgz-accent: #00d9ff;
    --sgz-accent-2: #ff2e88;
    --sgz-accent-gradient: linear-gradient(135deg, var(--sgz-accent) 0%, var(--sgz-accent-2) 100%);
    --sgz-gold: #ffb347;
    --sgz-success: #3ddc84;
    --sgz-danger: #ff5c5c;
}

body {
    background-color: var(--sgz-bg);
    color: var(--sgz-text);
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .sgz-display {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

a {
    color: var(--sgz-accent);
    text-decoration: none;
}
a:hover {
    color: #6ce9ff;
}

/* ---------- Navbar ---------- */
.sgz-navbar {
    background-color: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--sgz-border);
}
.sgz-brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--sgz-text) !important;
}
.sgz-brand-accent {
    background: var(--sgz-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sgz-brand-icon {
    filter: drop-shadow(0 0 6px var(--sgz-accent));
}
.sgz-navbar .nav-link {
    color: var(--sgz-text-muted);
    font-weight: 500;
}
.sgz-navbar .nav-link:hover,
.sgz-navbar .nav-link.active {
    color: var(--sgz-text);
}

/* ---------- Buttons ---------- */
.sgz-btn-primary {
    background: var(--sgz-accent-gradient);
    border: none;
    color: #05070a;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sgz-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.25);
    color: #05070a;
}
.sgz-btn-outline {
    background: transparent;
    border: 1px solid var(--sgz-border);
    color: var(--sgz-text);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
}
.sgz-btn-outline:hover {
    border-color: var(--sgz-accent);
    color: var(--sgz-accent);
}

/* ---------- Hero ---------- */
.sgz-hero {
    position: relative;
    padding: 7rem 0 5rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 217, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 46, 136, 0.12), transparent),
        linear-gradient(180deg, var(--sgz-bg) 0%, var(--sgz-bg-elevated) 100%);
    border-bottom: 1px solid var(--sgz-border);
    overflow: hidden;
}
.sgz-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}
.sgz-hero-subtitle {
    color: var(--sgz-text-muted);
    font-size: 1.15rem;
    max-width: 42rem;
    margin-bottom: 2rem;
}

/* ---------- Cards / sections ---------- */
.sgz-section {
    padding: 4rem 0;
}
.sgz-card {
    background: var(--sgz-bg-card);
    border: 1px solid var(--sgz-border);
    border-radius: 10px;
    padding: 1.75rem;
    height: 100%;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.sgz-card:hover {
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
}
.sgz-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--sgz-accent);
    font-weight: 600;
}

/* ---------- Status pill ---------- */
.sgz-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}
.sgz-status-online { background: rgba(61, 220, 132, 0.12); color: var(--sgz-success); }
.sgz-status-offline { background: rgba(255, 92, 92, 0.12); color: var(--sgz-danger); }
.sgz-status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* ---------- Forms ---------- */
.sgz-form-card {
    background: var(--sgz-bg-card);
    border: 1px solid var(--sgz-border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 480px;
    margin: 3rem auto;
}
.form-control, .form-select {
    background-color: var(--sgz-bg-elevated);
    border-color: var(--sgz-border);
    color: var(--sgz-text);
}
.form-control:focus, .form-select:focus {
    background-color: var(--sgz-bg-elevated);
    border-color: var(--sgz-accent);
    color: var(--sgz-text);
    box-shadow: 0 0 0 0.2rem rgba(0, 217, 255, 0.15);
}
.form-label {
    color: var(--sgz-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ---------- Tables (dashboard/admin) ---------- */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--sgz-text);
    --bs-table-border-color: var(--sgz-border);
}

/* ---------- Misc ---------- */
.sgz-price {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--sgz-gold);
    font-variant-numeric: tabular-nums;
}
.sgz-footer {
    background: var(--sgz-bg-elevated);
    border-top: 1px solid var(--sgz-border);
}
.sgz-footer-heading {
    color: var(--sgz-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}
.sgz-footer a { color: var(--sgz-text-muted); }
.sgz-footer a:hover { color: var(--sgz-accent); }
.sgz-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.sgz-social-icon {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--sgz-border);
    border-radius: 6px;
    font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
    .sgz-card, .sgz-btn-primary { transition: none; }
}
