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

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

:root {
    --cyan: #00f0ff;
    --cyan-dim: #0099aa;
    --red: #ff0033;
    --red-dim: #aa0022;
    --yellow: #ffee00;
    --bg-deep: #050508;
    --bg-panel: #0a0a10;
    --bg-card: #0d0d15;
    --bg-input: #0a0a12;
    --border: #1a1a2e;
    --border-hot: #00f0ff33;
    --text: #d0d0e0;
    --text-dim: #556;
    --text-bright: #eef0ff;
    --danger: #ff0033;
    --success: #00ff88;
    --warning: #ffcc00;
    --miku-blue: #00ccff;
    --miku-red: #ff003c;
    --grid-color: rgba(0, 240, 255, 0.015);
}

body {
    font-family: 'Share Tech Mono', 'Consolas', monospace;
    background:
        repeating-linear-gradient(0deg, var(--grid-color) 0px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, var(--grid-color) 0px, transparent 1px, transparent 40px),
        radial-gradient(ellipse at 20% 0%, rgba(0,240,255,0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(255,0,60,0.03) 0%, transparent 60%),
        var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: scanline 8s linear infinite;
    opacity: 0.6;
    z-index: 999;
    pointer-events: none;
}

@keyframes scanline {
    0%   { top: -1px; }
    100% { top: 100vh; }
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--red) 70%, transparent);
    opacity: 0.5;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--miku-blue), var(--miku-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitch-text 4s infinite;
}

.logo-miku {
    color: var(--miku-blue);
    -webkit-text-fill-color: var(--miku-blue);
    text-shadow: 0 0 10px rgba(0,204,255,0.5);
}

.logo-ware {
    color: var(--miku-red);
    -webkit-text-fill-color: var(--miku-red);
    text-shadow: 0 0 10px rgba(255,0,60,0.5);
}

@keyframes glitch-text {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, -1px); }
    98% { transform: translate(1px, 1px); }
}

.version {
    font-size: 10px;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2px 8px;
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--cyan);
    border-color: var(--border);
    background: rgba(0, 240, 255, 0.04);
    text-shadow: 0 0 8px var(--cyan);
}

.nav-logout {
    color: var(--red-dim) !important;
}
.nav-logout:hover {
    color: var(--red) !important;
    background: rgba(255, 0, 60, 0.08) !important;
    text-shadow: 0 0 8px var(--red) !important;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 1px;
}

.content {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red));
}

.card-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.card-header::after {
    content: '//';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--text-dim);
    font-size: 10px;
    opacity: 0.3;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-bright);
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--red));
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 22px;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0,240,255,0.05), inset 0 0 20px rgba(0,240,255,0.02);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.3;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 2px;
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.stat-value.green { color: var(--success); text-shadow: 0 0 10px rgba(0,255,136,0.3); }
.stat-value.red   { color: var(--red); text-shadow: 0 0 10px rgba(255,0,60,0.3); }
.stat-value.blue  { color: var(--cyan); text-shadow: 0 0 10px rgba(0,240,255,0.3); }
.stat-value.yellow { color: var(--warning); text-shadow: 0 0 10px rgba(255,204,0,0.3); }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

thead {
    background: rgba(0, 240, 255, 0.03);
}

th {
    font-family: 'Orbitron', sans-serif;
    text-align: left;
    padding: 12px 14px;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(26,26,46,0.6);
    color: var(--text);
    font-size: 12px;
}

tr:hover td {
    background: rgba(0, 240, 255, 0.02);
    border-left: 2px solid var(--cyan);
}

tr:nth-child(even) td {
    background: rgba(0,0,0,0.15);
}

.mono {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--cyan-dim);
}

.label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.value {
    font-size: 13px;
    color: var(--text);
    margin-top: 4px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--cyan-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,240,255,0.1), inset 0 0 12px rgba(0,240,255,0.03);
    background: rgba(0, 240, 255, 0.02);
}

.form-group input::placeholder {
    color: var(--text-dim);
    font-style: italic;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--border);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.4s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--miku-blue), var(--cyan));
    color: #000;
    border-color: var(--cyan);
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0,240,255,0.3);
    text-shadow: 0 0 5px rgba(0,240,255,0.5);
}

.btn-success {
    background: rgba(0,255,136,0.1);
    color: var(--success);
    border-color: rgba(0,255,136,0.3);
}
.btn-success:hover {
    background: rgba(0,255,136,0.15);
    box-shadow: 0 0 16px rgba(0,255,136,0.15);
}

.btn-warning {
    background: rgba(255,204,0,0.1);
    color: var(--warning);
    border-color: rgba(255,204,0,0.3);
}
.btn-warning:hover {
    background: rgba(255,204,0,0.15);
    box-shadow: 0 0 16px rgba(255,204,0,0.15);
}

.btn-danger {
    background: rgba(255,0,60,0.1);
    color: var(--red);
    border-color: rgba(255,0,60,0.3);
}
.btn-danger:hover {
    background: rgba(255,0,60,0.15);
    box-shadow: 0 0 16px rgba(255,0,60,0.15);
}

.btn-sm {
    padding: 5px 14px;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-dim);
    border-color: var(--border);
}
.btn-ghost:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0,240,255,0.03);
}

.alert {
    padding: 12px 20px;
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 1px;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.alert::before {
    content: '>>';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
    font-size: 10px;
}

.alert-success {
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.2);
    color: var(--success);
}

.alert-error {
    background: rgba(255,0,60,0.06);
    border: 1px solid rgba(255,0,60,0.2);
    color: var(--red);
}

.alert-warning {
    background: rgba(255,204,0,0.06);
    border: 1px solid rgba(255,204,0,0.2);
    color: var(--warning);
}

.alert-info {
    background: rgba(0,240,255,0.06);
    border: 1px solid rgba(0,240,255,0.2);
    color: var(--cyan);
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-box {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 44px;
    width: 100%;
    max-width: 440px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--miku-blue), var(--miku-red));
}

.auth-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0.4;
}

.auth-logo {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 6px;
    line-height: 1;
    animation: glitch-text 4s infinite;
}

.auth-logo h1 .logo-miku {
    color: var(--miku-blue);
    text-shadow: 0 0 20px rgba(0,204,255,0.5), 0 0 40px rgba(0,204,255,0.2);
}

.auth-logo h1 .logo-ware {
    color: var(--miku-red);
    text-shadow: 0 0 20px rgba(255,0,60,0.5), 0 0 40px rgba(255,0,60,0.2);
}

.auth-subtitle {
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 8px;
}

.auth-subtitle::before { content: '[ '; color: var(--cyan-dim); }
.auth-subtitle::after  { content: ' ]'; color: var(--cyan-dim); }

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.auth-switch a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.auth-switch a:hover {
    text-shadow: 0 0 8px var(--cyan);
    border-bottom-color: var(--cyan);
}

.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 20px 0;
}

.pagination a, .pagination span {
    padding: 6px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    text-decoration: none;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
    transition: all 0.2s;
}

.pagination a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.pagination .active {
    background: var(--cyan);
    color: #000;
    border-color: var(--cyan);
    font-weight: bold;
}

.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.search-bar input {
    flex: 1;
    padding: 9px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--text);
    letter-spacing: 1px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.search-bar input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.1);
}

.filter-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.hwid-display {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    background: var(--bg-input);
    padding: 12px 16px;
    border: 1px solid var(--border);
    word-break: break-all;
    color: var(--cyan-dim);
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.ip-censored {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    padding: 2px 6px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.ip-censored:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.06);
}

.ip-censored.revealed {
    color: var(--success);
    border-color: var(--success);
    background: rgba(0, 255, 136, 0.05);
}

.progress-bar {
    height: 4px;
    background: var(--border);
    overflow: hidden;
    margin-top: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 8px; height: 100%;
    background: inherit;
    filter: blur(3px);
}

.progress-fill.green  { background: linear-gradient(90deg, transparent, var(--success)); }
.progress-fill.yellow { background: linear-gradient(90deg, transparent, var(--warning)); }
.progress-fill.red    { background: linear-gradient(90deg, transparent, var(--red)); }

.footer {
    text-align: center;
    padding: 32px 24px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    margin-top: 48px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.expand-form {
    background: var(--bg-card);
    padding: 10px 14px;
    border: 1px solid var(--border);
    margin-top: 8px;
}

.badge-admin {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--yellow);
    background: rgba(255,238,0,0.1);
    border: 1px solid rgba(255,238,0,0.3);
    padding: 1px 8px;
    letter-spacing: 2px;
    margin-left: 6px;
    vertical-align: middle;
}

select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

select:focus {
    outline: none;
    border-color: var(--cyan);
}

option {
    background: var(--bg-deep);
    color: var(--text);
}

.corner-tl, .corner-br {
    position: absolute;
    width: 20px; height: 20px;
    pointer-events: none;
}

.corner-tl {
    top: -1px; left: -1px;
    border-top: 1px solid var(--cyan);
    border-left: 1px solid var(--cyan);
}

.corner-br {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--red);
    border-right: 1px solid var(--red);
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .topbar {
        flex-direction: column;
        height: auto;
        padding: 12px;
        gap: 8px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .auth-box {
        padding: 28px;
    }
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/assets/bg.png') center top / cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0,204,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,0,60,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-logo {
    font-family: 'Orbitron', monospace;
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    animation: glitch-hero 5s infinite;
}

.hero-logo .miku {
    color: var(--miku-blue);
    text-shadow:
        0 0 20px rgba(0,204,255,0.8),
        0 0 40px rgba(0,204,255,0.4),
        0 0 80px rgba(0,204,255,0.2);
}

.hero-logo .ware {
    color: var(--miku-red);
    text-shadow:
        0 0 20px rgba(255,0,60,0.8),
        0 0 40px rgba(255,0,60,0.4),
        0 0 80px rgba(255,0,60,0.2);
}

@keyframes glitch-hero {
    0%, 95%, 100% { transform: translate(0); filter: none; }
    96% { transform: translate(-3px, 2px); filter: hue-rotate(40deg); }
    97% { transform: translate(3px, -2px); filter: hue-rotate(-40deg); }
    98% { transform: translate(-2px, -1px); filter: none; }
    99% { transform: translate(2px, 1px); filter: hue-rotate(20deg); }
}

.hero-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: var(--text);
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.hero-tagline::before {
    content: '> ';
    color: var(--cyan);
}

.hero-tagline::after {
    content: '_';
    color: var(--cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--success);
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.3);
    padding: 6px 16px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 15px rgba(0,240,255,0.5);
}

.hero-stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 900;
    color: var(--text-bright);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--miku-blue), var(--miku-red));
}

.section-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-top: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--miku-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--miku-red));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--miku-blue);
    box-shadow:
        0 0 30px rgba(0,204,255,0.15),
        inset 0 0 30px rgba(0,204,255,0.03);
    transform: translateY(-4px);
}

.feature-card:hover::before,
.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.feature-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.why-us-item:hover {
    border-color: var(--miku-red);
    box-shadow: 0 0 20px rgba(255,0,60,0.1);
    transform: translateY(-4px);
}

.why-us-number {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    color: var(--miku-red);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(255,0,60,0.4);
    letter-spacing: 4px;
}

.why-us-title {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.why-us-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--miku-blue);
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(0,204,255,0.1);
}

.pricing-card.featured {
    border-color: var(--miku-blue);
    box-shadow: 0 0 40px rgba(0,204,255,0.15);
    background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(0,204,255,0.04) 100%);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 900;
    color: #000;
    background: var(--miku-blue);
    padding: 4px 12px;
    letter-spacing: 2px;
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.pricing-tier {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-bright);
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.pricing-price {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    font-weight: 900;
    color: var(--miku-blue);
    text-shadow: 0 0 15px rgba(0,204,255,0.4);
    margin-bottom: 8px;
}

.pricing-price small {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex-grow: 1;
}

.pricing-features li {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--text);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 24px;
    letter-spacing: 0.5px;
}

.pricing-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.pricing-features li.unavailable {
    color: var(--text-dim);
    text-decoration: line-through;
}

.pricing-features li.unavailable::before {
    content: '×';
    color: var(--danger);
}

.pricing-cta {
    margin-top: auto;
}

.contact-section {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 40px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,204,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    border: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    margin-top: 30px;
}

.discord-btn:hover {
    box-shadow: 0 0 30px rgba(88,101,242,0.5);
    transform: translateY(-2px);
}

.landing-login-required {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.landing-login-required h3 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    color: var(--miku-blue);
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10,10,16,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.landing-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--miku-blue) 30%, var(--miku-red) 70%, transparent);
    opacity: 0.5;
}

.landing-nav-links {
    display: flex;
    gap: 8px;
}

.landing-nav a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.landing-nav a:hover {
    color: var(--cyan);
    background: rgba(0,240,255,0.05);
}

.landing-footer {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.landing-footer p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 14px;
    animation: bounce 2s infinite;
    font-family: monospace;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}
