@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

:root {
    --neon-blue: #00f7ff;
    --neon-purple: #8f00ff;
    --neon-green: #00ff9c;
    --glass-bg: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.18);
}

/* ======================
   ANIMATED BACKGROUND
====================== */
.gaming-bg {
    min-height: 100vh;
    background: linear-gradient(-45deg, #02040f, #050d2d, #0a003d, #02040f);
    background-size: 400% 400%;
    animation: bgMove 12s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow floating particles */
.gaming-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0,247,255,.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(143,0,255,.18), transparent 40%);
    animation: glowMove 8s alternate infinite;
    pointer-events: none;
}

@keyframes glowMove {
    from { transform: translateY(0px); }
    to   { transform: translateY(-40px); }
}

/* ======================
   GLASSMORPHISM PANEL
====================== */
.card, .glass {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    box-shadow:
        0 0 20px rgba(0,247,255,0.2),
        inset 0 0 15px rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 0 35px rgba(143,0,255,.5);
}

/* ======================
   SIDEBAR FUTURISTIC
====================== */
.sidebar {
    width: 240px;
    min-height: 100vh;
    background: rgba(5,10,40,0.65);
    backdrop-filter: blur(18px);
    border-right: 1px solid rgba(0,247,255,.25);
    box-shadow: 0 0 25px rgba(0,247,255,.25);
    animation: slideIn 0.8s ease;
}

@keyframes slideIn {
    from { transform: translateX(-60px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

.sidebar a {
    display: block;
    padding: 14px 18px;
    margin: 8px;
    border-radius: 10px;
    color: #9ffcff;
    text-decoration: none;
    transition: .3s ease;
    position: relative;
}

.sidebar a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0;
    box-shadow: 0 0 12px var(--neon-blue);
    transition: .3s;
}

.sidebar a:hover::before {
    opacity: 1;
}

.sidebar a:hover {
    background: rgba(0,247,255,.12);
    transform: translateX(6px);
}

/* ======================
   NAVBAR GLASS
====================== */
.navbar {
    background: rgba(5,10,40,0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,247,255,.25);
}

/* ======================
   TEXT & TITLE
====================== */
body {
    font-family: 'Orbitron', sans-serif;
    color: #e8faff;
}

h1,h2,h3 {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0,247,255,.7);
}

/* ======================
   BUTTON
====================== */
button, .btn {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: .3s ease;
    box-shadow: 0 0 14px rgba(0,247,255,.6);
}

button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0,255,156,.9);
}

/* ======================
   TABLE
====================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    overflow: hidden;
}

th {
    background: rgba(0,247,255,.15);
    color: var(--neon-green);
    padding: 12px;
}

td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

tr:hover {
    background: rgba(0,247,255,.08);
}

/* ======================
   INPUT GLASS
====================== */
input, select, textarea {
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(0,247,255,.4);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
}

input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 12px rgba(0,255,156,.7);
}
