/* assets/css/admin.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --admin-bg-gradient: linear-gradient(135deg, #2c003e 0%, #1a0024 100%);
    --glass-bg: transparent;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: none;
    --primary-color: #00d2ff;
    --success-color: #00ff9d;
    --danger-color: #ff0055;
    --warning-color: #ffd900;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

/* ... existing body/animation styles ... */

/* Transparent Components (No Glass) */
.glass-panel,
.card {
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    color: white;
}

/* ... table styles ... */

/* Navbar */
.navbar-glass {
    background: transparent !important;
    border-bottom: 1px solid var(--glass-border);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: var(--admin-bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Animation */
.admin-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Shapes similar to Player View but subtler */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 25s linear infinite;
    bottom: -150px;
    border-radius: 20%;
}

/* Randomize shapes positions/sizes in HTML or keep consistent here */
.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Glassmorphism Components */
.glass-panel,
.card {
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    color: white;
}

/* Aggressive Table Reset */
.table,
.table> :not(caption)>*>* {
    background-color: transparent !important;
    background: transparent !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.1) !important;
}

.table thead th {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Navbar */
.navbar-glass {
    background: transparent !important;
    border-bottom: 1px solid var(--glass-border);
}

/* Typography & Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-premium {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    border: none;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
    color: white;
}

.btn-danger-premium {
    background: linear-gradient(45deg, #ff0055, #ff4477);
    color: white;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.btn-danger-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

/* Stats Cards */
.stat-card {
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 5rem;
    opacity: 0.1;
    color: white;
}

/* Game Control Specifics */
.pin-display-huge {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: 10px;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }

    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

.player-bubble {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    margin: 5px;
    border-radius: 20px;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}