:root {
    --bg-main: #0b0f19;
    --card-bg: #121826;
    --border-color: #1e293b;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: linear-gradient(to right, rgba(30, 41, 59, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(30, 41, 59, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

header {
    background: var(--card-bg);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #ef4444;
    color: white;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
}

.card h1 {
    margin-top: 0;
    font-size: 26px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: all 0.2s ease;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

footer {
    background: var(--card-bg);
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}