/*
|--------------------------------------------------------------------------
| Google Font
|--------------------------------------------------------------------------
*/

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

/*
|--------------------------------------------------------------------------
| Root
|--------------------------------------------------------------------------
*/

:root {

    --bg: #070b14;
    --bg-secondary: #0f172a;

    --card: rgba(17, 24, 39, 0.85);

    --border: rgba(255, 255, 255, 0.08);

    --primary: #5865F2;
    --primary-hover: #4752c4;

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    --text: #ffffff;
    --text-muted: #94a3b8;

    --shadow:
        0 10px 40px rgba(0,0,0,.35);
}

/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    min-height:100vh;

    background:
        radial-gradient(circle at top left,
        rgba(88,101,242,.25),
        transparent 30%),

        radial-gradient(circle at bottom right,
        rgba(139,92,246,.25),
        transparent 30%),

        var(--bg);

    overflow-x:hidden;
}

/*
|--------------------------------------------------------------------------
| Scrollbar
|--------------------------------------------------------------------------
*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b1220;
}

::-webkit-scrollbar-thumb{
    background:#1e293b;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#334155;
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:20px;
}

/*
|--------------------------------------------------------------------------
| Navbar
|--------------------------------------------------------------------------
*/

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    position:sticky;
    top:0;

    backdrop-filter:blur(14px);

    background:rgba(7,11,20,.8);

    border-bottom:1px solid var(--border);

    z-index:999;
}

.logo{
    font-size:22px;
    font-weight:800;

    color:white;
}

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

.nav-links a{
    color:var(--text-muted);
    text-decoration:none;

    transition:.3s;
}

.nav-links a:hover{
    color:white;
}

/*
|--------------------------------------------------------------------------
| Login
|--------------------------------------------------------------------------
*/

.login-container{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:20px;
}

.login-card{

    width:100%;
    max-width:550px;

    padding:50px;

    border-radius:24px;

    background:var(--card);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    text-align:center;

    animation:fadeUp .8s ease;
}

.login-card h1{
    font-size:42px;
    font-weight:800;

    margin-bottom:15px;
}

.login-card p{
    color:var(--text-muted);

    line-height:1.7;

    margin-bottom:30px;
}

.hero-badge{
    display:inline-block;

    background:rgba(88,101,242,.15);

    color:#bfc7ff;

    padding:8px 15px;

    border-radius:999px;

    margin-bottom:25px;

    font-size:14px;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    padding:14px 30px;

    border:none;

    border-radius:14px;

    text-decoration:none;

    cursor:pointer;

    transition:.3s ease;

    font-weight:700;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{

    background:var(--primary-hover);

    transform:translateY(-3px);

    box-shadow:
        0 10px 30px rgba(88,101,242,.35);
}

.discord-btn{
    width:100%;
}

/*
|--------------------------------------------------------------------------
| Dashboard
|--------------------------------------------------------------------------
*/

.dashboard{
    padding:40px;
}

.dashboard-grid{

    display:grid;

    gap:20px;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
}

/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.card{

    background:var(--card);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    border-radius:20px;

    padding:25px;

    box-shadow:var(--shadow);

    transition:.3s ease;
}

.card:hover{
    transform:translateY(-4px);
}

.card h2,
.card h3{
    margin-bottom:15px;
}

.card p{
    color:var(--text-muted);
}

/*
|--------------------------------------------------------------------------
| Stats
|--------------------------------------------------------------------------
*/

.stat-number{
    font-size:38px;
    font-weight:800;
}

.stat-label{
    color:var(--text-muted);
}

/*
|--------------------------------------------------------------------------
| Feature List
|--------------------------------------------------------------------------
*/

.feature-list{
    list-style:none;
}

.feature-list li{

    padding:12px 0;

    border-bottom:1px solid rgba(255,255,255,.05);
}

.feature-list li:last-child{
    border:none;
}

/*
|--------------------------------------------------------------------------
| Tables
|--------------------------------------------------------------------------
*/

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    text-align:left;
    padding:15px;

    background:#0f172a;
}

table td{
    padding:15px;

    border-top:1px solid var(--border);
}

/*
|--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------
*/

input,
select,
textarea{

    width:100%;

    padding:14px 16px;

    border-radius:12px;

    border:1px solid var(--border);

    background:#0f172a;

    color:white;

    margin-top:8px;
}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:var(--primary);
}

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.sidebar{

    width:260px;
    min-height:100vh;

    background:#0f172a;

    border-right:1px solid var(--border);
}

.sidebar a{

    display:block;

    padding:14px 20px;

    color:var(--text-muted);

    text-decoration:none;

    transition:.3s;
}

.sidebar a:hover{

    background:rgba(88,101,242,.15);

    color:white;
}

/*
|--------------------------------------------------------------------------
| User Profile
|--------------------------------------------------------------------------
*/

.user-box{

    display:flex;
    align-items:center;

    gap:15px;
}

.user-box img{

    width:45px;
    height:45px;

    border-radius:50%;
}

.user-box span{
    font-weight:600;
}

/*
|--------------------------------------------------------------------------
| Animationen
|--------------------------------------------------------------------------
*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes pulseGlow{

    0%{
        box-shadow:0 0 0 rgba(88,101,242,0);
    }

    50%{
        box-shadow:0 0 30px rgba(88,101,242,.35);
    }

    100%{
        box-shadow:0 0 0 rgba(88,101,242,0);
    }
}

.glow{
    animation:pulseGlow 3s infinite;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media(max-width:900px){

    .navbar{
        padding:20px;
    }

    .dashboard{
        padding:20px;
    }
}

@media(max-width:768px){

    .login-card{
        padding:35px;
    }

    .login-card h1{
        font-size:30px;
    }

    .nav-links{
        display:none;
    }
}

.discord-login-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;

    background: #5865F2;
    color: #fff;

    border-radius: 10px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.2s ease;
}

.discord-login-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}