@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500&family=Inter:wght@400;500&display=swap');

:root {
    --accent: #a100ff;
    --accent-hover: #b633ff;
    --bg: #050505;
    --card-bg: #0d0d0f;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #86868b;
    --error: #ff4b4b;
    --header-bg: rgba(13, 13, 15, 0.85);
    --input-bg: #111;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-weight: 300; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Unbounded', sans-serif;
    overflow-x: hidden;
}

#particles-js {
    position: fixed; width: 100%; height: 100%; top: 0; left: 0;
    z-index: 1; pointer-events: none;
}

header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1400px; height: 70px;
    border-radius: 100px;
    display: flex; align-items: center; z-index: 1000;
    background: var(--header-bg); backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    padding: 0 40px;
}

.logo-img { height: 30px; width: auto; position: absolute; left: 40px; }

nav { width: 100%; display: flex; justify-content: center; }
nav a {
    color: var(--text-dim); text-decoration: none; font-size: 16px;
    transition: 0.3s; font-family: 'Unbounded', sans-serif;
}
nav a.active { color: var(--text-main); }

.account-island {
    position: fixed; top: 20px; right: 40px;
    height: 70px; z-index: 1001;
    display: flex; align-items: center;
    background: var(--header-bg); backdrop-filter: blur(25px);
    border: 1px solid var(--border); border-radius: 100px;
    padding: 5px 5px 5px 25px; gap: 15px;
}

.user-name-text { font-size: 13px; color: var(--text-main); }

.logout-btn-custom {
    width: 48px; height: 48px; background: var(--error);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; cursor: pointer; border: none;
}
.logout-btn-custom img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.logout-btn-custom:hover { transform: scale(1.05); }

.container { position: relative; z-index: 10; max-width: 1200px; margin: 150px auto; padding: 0 40px; }

.shop-title { font-size: 32px; position: relative; display: inline-block; margin-bottom: 50px; }
.shop-title::after {
    content: ''; position: absolute; bottom: -15px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), #e066ff);
    border-radius: 2px;
}

.stats-overview { display: flex; gap: 20px; margin-bottom: 40px; }
.stat-card {
    position: relative; flex: 1; background: var(--card-bg);
    border: 1px solid var(--border); padding: 35px; border-radius: 30px;
    overflow: hidden; display: flex; flex-direction: column; align-items: flex-end;
}

.stat-card h4 { font-size: 18px; color: var(--text-main); margin-bottom: 8px; z-index: 2; }
.stat-card span { font-size: 48px; color: var(--accent); font-weight: 500; z-index: 2; }

.stat-icon-bg {
    position: absolute; left: 0px; top: 50%; transform: translateY(-50%);
    font-size: 110px; color: rgba(255, 255, 255, 0.03);
    pointer-events: none; z-index: 1;
}

.filters-row {
    display: flex; align-items: flex-end; gap: 20px;
    background: var(--card-bg); padding: 35px; border-radius: 35px;
    border: 1px solid var(--border); margin-bottom: 40px;
}
.filter-group { flex: 1; }
.input-label { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 12px; }

.custom-select, .custom-date { position: relative; width: 100%; cursor: pointer; }

.select-selected, .date-trigger {
    background: var(--input-bg); border: 1px solid var(--border);
    padding: 16px 20px; border-radius: 18px; color: white;
    font-size: 13px; font-family: 'Unbounded', sans-serif;
    display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s;
}

.select-selected::after, .date-trigger::after {
    content: ''; width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a100ff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    transition: 0.3s;
}

.real-date-input {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 5;
}

.select-items {
    position: absolute; background: #0d0d0f; border: 1px solid var(--border);
    top: calc(100% + 10px); left: 0; right: 0; z-index: 99;
    border-radius: 20px; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: 0.3s;
}
.select-items div { padding: 14px 20px; color: var(--text-dim); font-size: 13px; transition: 0.2s; }
.select-items div:hover { background: var(--accent); color: white; }
.select-show { opacity: 1; visibility: visible; transform: translateY(0); }

.btn-search {
    background: var(--accent); color: white; border: none;
    padding: 0 50px; border-radius: 18px; font-family: 'Unbounded';
    height: 56px; cursor: pointer; transition: 0.3s; font-size: 14px;
}
.btn-search:hover { background: var(--accent-hover); box-shadow: 0 10px 20px rgba(161, 0, 255, 0.2); }

.log-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 25px 35px; margin-bottom: 12px;
    display: grid; grid-template-columns: 100px 180px 180px 1fr 100px;
    align-items: center; gap: 25px;
}
.type-tag { font-size: 10px; padding: 6px; border-radius: 8px; text-align: center; }
.type-BAN { background: rgba(255, 75, 75, 0.08); color: var(--error); }
.type-MUTE { background: rgba(161, 0, 255, 0.08); color: var(--accent); }