* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #1b0508, #050506 45%);
    color: #f3f3f3;
    min-height: 100vh;
}

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

.card, .key-card {
    background: rgba(15, 15, 18, 0.94);
    border: 1px solid rgba(220, 30, 45, 0.35);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero {
    max-width: 560px;
    text-align: center;
}

h1, h2, h3 {
    margin-top: 0;
}

h1 {
    color: #e0212f;
    font-size: 42px;
}

p {
    color: #b9b9c0;
}

label {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    color: #ddd;
}

input {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #282832;
    background: #111116;
    color: white;
    outline: none;
}

input:focus {
    border-color: #e0212f;
}

.btn {
    display: inline-block;
    background: #e0212f;
    color: white;
    text-decoration: none;
    border: 0;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #ff3040;
}

.btn.secondary {
    background: #202027;
}

.btn.full {
    width: 100%;
    margin-top: 22px;
}

.buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.small-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #aaa;
    text-decoration: none;
}

.dashboard {
    padding: 28px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

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

.key-card h3 {
    color: #e0212f;
    word-break: break-all;
}

.badge {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.badge.active {
    background: rgba(50, 220, 110, 0.15);
    color: #54e68d;
}

.badge.pending {
    background: rgba(255, 190, 70, 0.15);
    color: #ffc04d;
}

.auth-card {
    width: 430px;
    background: linear-gradient(145deg, #242426, #151517);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.auth-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.auth-head h1 {
    font-size: 34px;
    color: white;
    margin-bottom: 6px;
}

.logo {
    color: #1687ff;
    font-weight: 900;
    font-size: 24px;
}

.auth-card input {
    margin-top: 18px;
    background: #3a3a3d;
    border: none;
    border-radius: 8px;
    padding: 15px;
}

.check {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
}

.check input {
    width: auto;
    margin: 0;
}

.blue-btn {
    width: 100%;
    border: none;
    background: #147cff;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.discord-btn {
    display: block;
    margin: 22px auto 0;
    width: fit-content;
    background: #147cff;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.landing {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(255,0,50,.18), transparent 35%),
        #050506;
}

.nav {
    width: 100%;
    padding: 26px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: #ccc;
    text-decoration: none;
}

.hero-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.hero-card {
    width: 760px;
    background: linear-gradient(145deg, #19191c, #0d0d0f);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 40px 120px rgba(0,0,0,.55);
}

.status {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255,40,60,.12);
    color: #ff3b4f;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-card h1 {
    margin-top: 18px;
    font-size: 72px;
    color: white;
}

.hero-card p {
    margin-top: 12px;
    color: #999;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 35px;
}

.main-btn,
.secondary-btn {
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.main-btn {
    background: #5865F2;
    color: white;
}

.secondary-btn {
    background: #202027;
    color: white;
}

.stats {
    margin-top: 40px;
    display: flex;
    gap: 50px;
}

.stats h2 {
    color: white;
    margin-bottom: 4px;
}

.stats span {
    color: #777;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    background: radial-gradient(circle at top left, rgba(224,33,47,.18), transparent 30%), #050506;
}

.sidebar {
    width: 260px;
    padding: 28px;
    background: rgba(10,10,12,.92);
    border-right: 1px solid rgba(255,255,255,.06);
}

.brand {
    font-size: 26px;
    font-weight: 900;
    color: white;
    margin-bottom: 40px;
}

.brand span,
.red-logo {
    color: #e0212f;
}

.side-link {
    display: block;
    color: #aaa;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 700;
}

.side-link:hover,
.side-link.active {
    background: rgba(224,33,47,.14);
    color: white;
}

.main-panel {
    flex: 1;
    padding: 34px;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.dash-top h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 8px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card,
.panel-card,
.license-card {
    background: linear-gradient(145deg, rgba(20,20,24,.98), rgba(10,10,13,.98));
    border: 1px solid rgba(224,33,47,.22);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,.32);
}

.stat-card span {
    color: #888;
    font-weight: 700;
}

.stat-card h2 {
    color: #e0212f;
    font-size: 34px;
    margin: 8px 0 0;
}

.panel-card {
    margin-bottom: 20px;
}

.panel-card h2 {
    color: white;
}

.redeem-form {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 14px;
    margin-top: 18px;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.license-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.license-card h3 {
    color: #e0212f;
    word-break: break-all;
}

.auth-card {
    border: 1px solid rgba(224,33,47,.35);
}

.blue-btn,
.discord-btn {
    background: #e0212f;
}

.blue-btn:hover,
.discord-btn:hover {
    background: #ff3040;
}