@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Rajdhani', sans-serif; }
html { background: #020a2e; }

body { background: #020a2e; color: #FFFFFF; min-height: 100vh; position: relative; overflow-x: hidden; }

body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L0 25v50l28 25 28-25V25z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 100px; animation: hexDrift 40s linear infinite; opacity: 0.8;
}
@keyframes hexDrift { 0% { background-position: 0 0; } 100% { background-position: 112px 200px; } }

body::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(circle 420px at 10% 10%, rgba(30,60,200,0.35), transparent 70%),
        radial-gradient(circle 450px at 90% 5%, rgba(255,255,255,0.12), transparent 70%),
        radial-gradient(circle 400px at 15% 90%, rgba(20,80,220,0.30), transparent 70%),
        radial-gradient(circle 380px at 95% 85%, rgba(65,105,225,0.28), transparent 70%),
        linear-gradient(160deg, rgba(0,20,80,0.55) 0%, rgba(2,8,30,0.92) 60%);
    animation: orbFloat 18s ease-in-out infinite;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.97); }
}

.scan-line {
    position: fixed; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(65,105,225,0.75), rgba(255,255,255,0.6), transparent);
    box-shadow: 0 0 15px rgba(65,105,225,0.6); z-index: 0; animation: scanMove 6s linear infinite; pointer-events: none;
}
@keyframes scanMove {
    0% { top: -5%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: 105%; opacity: 0; }
}

.logo-wrap { text-align: center; margin-bottom: 8px; position: relative; z-index: 1; }
.logo-wrap img {
    width: 140px; height: 140px; object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 22px rgba(65,105,225,0.6)) drop-shadow(0 0 14px rgba(255,255,255,0.3));
    animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }

.brand-text {
    font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 900; letter-spacing: 3px;
    color: #ffffff; text-shadow: 0 0 10px #4169e1, 0 0 22px #2244cc, 0 0 35px rgba(65,105,225,0.6);
}

.container {
    max-width: 420px; margin: 50px auto; background: rgba(8,18,55,0.68); backdrop-filter: blur(18px);
    padding: 34px 28px; border-radius: 20px; border: 1px solid rgba(65,105,225,0.35);
    box-shadow: 0 0 25px rgba(65,105,225,0.2); position: relative; z-index: 1; animation: slideUp 0.5s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

h1, h2 {
    font-family: 'Orbitron', sans-serif; color: #ffffff; text-align: center; margin-bottom: 22px;
    letter-spacing: 1px; text-shadow: 0 0 8px #4169e1, 0 0 18px rgba(65,105,225,0.5);
}
h2 { font-size: 18px; }

label { display: block; margin-top: 16px; margin-bottom: 6px; color: #a9b8e0; font-size: 13px; font-weight: 500; letter-spacing: 0.4px; }

input, select {
    width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid rgba(65,105,225,0.3);
    background: rgba(4,10,35,0.8); color: #fff; font-size: 15px; font-family: 'Rajdhani', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus { outline: none; border-color: #4169e1; box-shadow: 0 0 12px rgba(65,105,225,0.45); }

button {
    width: 100%; padding: 15px; margin-top: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #7ea3ff 50%, #2244cc 100%);
    color: #ffffff; font-weight: 700; border: none; border-radius: 11px; font-size: 16px; cursor: pointer;
    letter-spacing: 0.5px; font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 4px 0 #0e2e8f, 0 8px 18px rgba(65,105,225,0.45);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; position: relative; top: 0;
}
button:active { top: 4px; box-shadow: 0 1px 0 #0e2e8f, 0 3px 8px rgba(65,105,225,0.45); }
button:hover { filter: brightness(1.1); transform: scale(1.02); }

.link { text-align: center; margin-top: 18px; font-size: 14px; color: #93a3d4; position: relative; z-index: 1; }
.link a { color: #6f96ff; text-decoration: none; font-weight: 600; }

.dashboard-wrap { max-width: 920px; margin: 0 auto; padding: 0 16px 40px 16px; position: relative; z-index: 1; animation: slideUp 0.5s ease; }

.hero-banner {
    width: 100%; max-width: 100%; margin: 0 0 25px 0;
    background: linear-gradient(120deg, rgba(20,50,150,0.6), rgba(4,10,35,0.88));
    border-bottom: 1px solid rgba(65,105,225,0.4);
    box-shadow: 0 4px 30px rgba(65,105,225,0.2);
    padding: 22px 20px;
    display: flex; align-items: center; gap: 16px;
    position: relative; overflow: hidden;
}
.hero-banner::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 30px);
}
.hero-banner img {
    width: 64px; height: 64px; object-fit: contain; flex-shrink: 0;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 16px rgba(65,105,225,0.7)) drop-shadow(0 0 8px rgba(255,255,255,0.3));
    position: relative; z-index: 1;
}
.hero-banner .hero-text { position: relative; z-index: 1; }
.hero-banner .hero-title {
    font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: 2px;
    color: #ffffff; text-shadow: 0 0 10px #4169e1, 0 0 20px rgba(65,105,225,0.6);
}
.hero-banner .hero-sub { font-size: 11.5px; color: #a9b8e0; letter-spacing: 1px; margin-top: 4px; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }

.card {
    background: rgba(8,18,55,0.62); backdrop-filter: blur(18px); border: 1px solid rgba(65,105,225,0.3);
    border-radius: 20px; padding: 18px; text-align: center; box-shadow: 0 0 25px rgba(65,105,225,0.15);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.5); box-shadow: 0 0 30px rgba(255,255,255,0.2); }
.card .icon { font-size: 22px; margin-bottom: 4px; }
.card .label { color: #a9b8e0; font-size: 12.5px; letter-spacing: 0.4px; text-transform: uppercase; }
.card .value { font-family: 'Orbitron', sans-serif; color: #ffffff; font-size: 26px; font-weight: 700; margin-top: 8px; text-shadow: 0 0 10px rgba(65,105,225,0.55); }

table {
    width: 100%; border-collapse: collapse; margin-top: 15px; background: rgba(8,18,55,0.62);
    backdrop-filter: blur(14px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(65,105,225,0.25);
}
th, td { padding: 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
th { background: rgba(10,22,65,0.75); color: #ffffff; letter-spacing: 0.4px; font-weight: 600; text-transform: uppercase; font-size: 12.5px; }
tr:hover td { background: rgba(65,105,225,0.08); }

.msg { text-align: center; margin-top: 16px; color: #ff8080; font-size: 14px; font-weight: 500; }

.progress-wrap { margin-top: 8px; }
.progress-track { width: 100%; height: 10px; background: rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; border: 1px solid rgba(65,105,225,0.25); }
.progress-fill { height: 100%; background: linear-gradient(90deg, #ffffff, #4169e1, #1a3fc4); box-shadow: 0 0 10px rgba(65,105,225,0.75); border-radius: 6px; width: 0%; transition: width 1.2s ease; }

.share-btns { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.share-btns a { flex: 1; min-width: 100px; text-align: center; padding: 10px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; color: #fff; }
.share-btns a.whatsapp { background: #25D366; }
.share-btns a.telegram { background: #0088cc; }

.hamburger-btn {
    position: fixed; top: 18px; right: 18px; z-index: 50;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(8,18,55,0.8); backdrop-filter: blur(10px);
    border: 1px solid rgba(65,105,225,0.45);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    cursor: pointer; box-shadow: 0 0 15px rgba(65,105,225,0.35);
}
.hamburger-btn span { width: 22px; height: 2.5px; background: #ffffff; border-radius: 2px; }

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 60; }
.sidebar-overlay.active { display: block; }

.sidebar-menu {
    position: fixed; top: 0; right: -280px; width: 260px; height: 100%;
    background: rgba(3,8,32,0.98); backdrop-filter: blur(20px);
    border-left: 1px solid rgba(65,105,225,0.35); z-index: 70;
    transition: right 0.3s ease; padding: 70px 16px 20px 16px;
    display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
}
.sidebar-menu.active { right: 0; }

.sidebar-menu a {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; padding: 13px 16px; border-radius: 10px;
    color: #ffffff; font-weight: 700; font-size: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #7ea3ff 50%, #2244cc 100%);
    box-shadow: 0 3px 0 #0e2e8f, 0 5px 10px rgba(65,105,225,0.35);
    position: relative; top: 0; transition: top 0.1s;
}
.sidebar-menu a:active { top: 2px; }
.sidebar-menu a .side-icon { font-size: 18px; }
.sidebar-menu a.admin-link {
    color: #ffffff; background: linear-gradient(180deg, #7ea3ff 0%, #2244cc 50%, #10256e 100%);
    box-shadow: 0 3px 0 #071a55, 0 5px 10px rgba(65,105,225,0.35);
}
.sidebar-menu a.telegram-group-link {
    color: #ffffff; background: linear-gradient(180deg, #4db8e8 0%, #0088cc 50%, #005580 100%);
    box-shadow: 0 3px 0 #003a55, 0 5px 10px rgba(0,136,204,0.35);
}
.sidebar-menu a.logout-link {
    color: #2b0505; background: linear-gradient(180deg, #ffb0b0 0%, #ff6b6b 50%, #c23f3f 100%);
    box-shadow: 0 3px 0 #7a1f1f, 0 5px 10px rgba(255,107,107,0.3);
}
.sidebar-close {
    position: absolute; top: 18px; left: 16px;
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(65,105,225,0.2); border: 1px solid rgba(65,105,225,0.45);
    color: #ffffff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.hero { max-width: 500px; margin: 40px auto 0 auto; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.hero img {
    width: 170px; height: 170px; object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 32px rgba(65,105,225,0.6)) drop-shadow(0 0 16px rgba(255,255,255,0.3));
    animation: floatLogo 4s ease-in-out infinite;
}
.hero-tagline { font-size: 13px; color: #a9b8e0; letter-spacing: 1.5px; margin-top: 10px; text-transform: uppercase; }
