/* =========================================================
   RAVOK STUDIOS • REDE RAVOK — UNIFIED PUBLIC DESIGN SYSTEM
   Obsidian Dark + Sculpted Gold + Electric Cyan • 100% Minecraft
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700;800&family=Oxanium:wght@600;700;800&family=Poppins:wght@400;500;600;700;800&family=Silkscreen:wght@400;700&display=swap');

:root {
    --bg-base: #05070d;
    --bg-elevated: #0a0f1d;
    --bg-surface: rgba(12, 19, 36, 0.72);
    --bg-surface-strong: rgba(15, 23, 44, 0.92);
    --bg-glass: rgba(8, 12, 24, 0.78);

    --gold: #f5c542;
    --gold-bright: #ffe48f;
    --gold-deep: #c98a12;
    --cyan: #00d2ff;
    --cyan-soft: rgba(0, 210, 255, 0.14);
    --emerald: #22c55e;
    --purple: #a855f7;
    --rose: #f43f5e;
    --royal: #1d4ed8;

    --text-1: #f8fafc;
    --text-2: #94a3b8;
    --text-3: #64748b;

    --border-1: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.14);
    --border-gold: rgba(245, 197, 66, 0.34);
    --border-cyan: rgba(0, 210, 255, 0.32);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.75);
    --shadow-gold: 0 12px 35px -8px rgba(245, 197, 66, 0.28);
    --shadow-cyan: 0 12px 35px -8px rgba(0, 210, 255, 0.24);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: transparent;
    color: var(--text-1);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#ravok-live-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    display: block;
}

.font-pixel {
    font-family: 'Silkscreen', monospace;
    letter-spacing: 0.04em;
}

/* Ambient Background Layers */
.rvk-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 30%, transparent 100%);
}

.rvk-bg-glow {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(ellipse 65% 45% at 50% -10%, rgba(29, 78, 216, 0.28), transparent 65%),
        radial-gradient(ellipse 40% 35% at 88% 12%, rgba(245, 197, 66, 0.10), transparent 60%),
        radial-gradient(ellipse 40% 35% at 10% 28%, rgba(0, 210, 255, 0.09), transparent 60%);
}

/* Typography Helpers */
.font-display {
    font-family: 'Oxanium', sans-serif;
    letter-spacing: -0.01em;
}
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* =========================================================
   FLOATING GLASS NAVBAR
   ========================================================= */
.rvk-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(5, 7, 13, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-1);
}

.rvk-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 13px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rvk-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-1);
}

.rvk-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1.5px solid var(--border-gold);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(245, 197, 66, 0.22);
    transition: transform 0.25s ease;
}

.rvk-brand:hover .rvk-brand-logo {
    transform: scale(1.06) rotate(-2deg);
}

.rvk-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.rvk-brand-name {
    font-family: 'Oxanium', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    color: var(--text-1);
}

.rvk-brand-name span {
    color: var(--gold);
}

.rvk-brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-top: 2px;
}

.rvk-nav-center {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-1);
    padding: 4px;
    border-radius: 13px;
}

.rvk-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 9px;
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.rvk-nav-link:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.05);
}

.rvk-nav-link.active {
    color: #05070d;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(245, 197, 66, 0.28);
}

.rvk-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rvk-ip-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.24);
    color: var(--text-1);
    padding: 8px 13px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rvk-ip-pill:hover {
    background: rgba(0, 210, 255, 0.16);
    border-color: var(--cyan);
    transform: translateY(-1px);
}

.rvk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    flex-shrink: 0;
}

.rvk-btn-staff {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.rvk-btn-staff:hover {
    color: var(--gold-bright);
    border-color: var(--border-gold);
    background: rgba(245, 197, 66, 0.08);
}

.rvk-btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: 1px solid rgba(148, 163, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
    transition: all 0.2s ease;
}

.rvk-btn-discord:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 6px 22px rgba(88, 101, 242, 0.5);
    color: #ffffff;
}

.btn-rvk-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #ffffff;
    border: 1px solid rgba(148, 163, 255, 0.35);
    box-shadow: 0 8px 26px rgba(88, 101, 242, 0.38);
}

.btn-rvk-discord:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.52);
    color: #ffffff;
}

/* =========================================================
   TACTILE GAMING BUTTONS
   ========================================================= */
.btn-rvk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
    position: relative;
}

.btn-rvk:active {
    transform: translateY(1px);
}

.btn-rvk-gold {
    background: linear-gradient(180deg, #ffe27a 0%, #f5c542 55%, #d69614 100%);
    color: #05070d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 4px 0 #916207,
        0 12px 30px -6px rgba(245, 197, 66, 0.42);
}

.btn-rvk-gold:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 6px 0 #916207,
        0 18px 36px -6px rgba(245, 197, 66, 0.55);
}

.btn-rvk-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-1);
    border: 1px solid var(--border-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-rvk-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-rvk-cyan {
    background: linear-gradient(180deg, #38e0ff 0%, #00b8e6 100%);
    color: #040812;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 4px 0 #027594,
        0 10px 26px -6px rgba(0, 210, 255, 0.4);
}

.btn-rvk-cyan:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

/* =========================================================
   SURFACES, CONTAINERS & BADGES
   ========================================================= */
.rvk-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.rvk-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rvk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(245, 197, 66, 0.11);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
}

.rvk-badge-cyan {
    background: rgba(0, 210, 255, 0.11);
    border-color: var(--border-cyan);
    color: var(--cyan);
}

/* =========================================================
   FOOTER
   ========================================================= */
.rvk-footer {
    margin-top: 90px;
    border-top: 1px solid var(--border-1);
    background: rgba(4, 6, 12, 0.9);
    padding: 46px 24px 36px;
}

.rvk-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.rvk-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.rvk-footer-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.2s;
}

.rvk-footer-links a:hover {
    color: var(--gold);
}

.rvk-footer-copy {
    max-width: 1240px;
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-3);
    font-size: 0.8rem;
}

/* =========================================================
   TOAST NOTIFICATION
   ========================================================= */
.rvk-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    background: rgba(11, 18, 36, 0.96);
    border: 1px solid var(--border-gold);
    color: var(--text-1);
    padding: 13px 18px;
    border-radius: 13px;
    font-size: 0.86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 197, 66, 0.15);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.rvk-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================
   RESPONSIVE NAV
   ========================================================= */
@media (max-width: 900px) {
    .rvk-ip-pill { display: none; }
}

@media (max-width: 680px) {
    .rvk-nav {
        flex-wrap: wrap;
        padding: 12px 16px;
    }
    .rvk-nav-center {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }
    .rvk-nav-link {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    .rvk-container {
        padding: 0 16px;
    }
}
