:root {
    --bg-0: #0a0000;
    --bg-1: #140202;
    --border: rgba(255, 255, 255, .08);
    --text: #f2f2f2;
    --muted: #bdbdbd;
    --accent: #e63333;
    --accent-2: #ff9900;
    --radius: 16px;
}

* {
    box-sizing: border-box
}

html, body {
    /*height: 100%*/
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg-0), #1a0000);
}

a {
    color: #fff;
    text-decoration: none
}

a:hover {
    opacity: .9
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 64px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(10, 0, 0, .55);
    border-bottom: 1px solid rgba(255, 0, 0, .08);
}

.header .container {
    width: min(1280px, 96vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .4px
}

.brand img {
    height: 28px;
    width: auto;
    display: block
}

.top-nav {
    margin-left: auto;
    display: flex;
    gap: 16px
}

.top-link {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border)
}

/* Glow line */
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 90, 90, 0) 0%, #ff5555 15%, #ffd9d9 50%, #ff5555 85%, rgba(255, 90, 90, 0) 100%);
    box-shadow: 0 2px 10px rgba(255, 60, 60, .85), 0 6px 18px rgba(255, 60, 60, .45);
}

.header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 60, 60, .55) 0%, rgba(255, 60, 60, 0) 100%);
    filter: blur(8px);
}

/* Layout */
.layout {
    display: grid;
    grid-template-columns:280px 1fr;
    gap: 24px;
    width: min(1280px, 96vw);
    margin: 24px auto;
}


/* Sidebar */
.sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: transform 0.3s ease;
}


.side-title {
    font-weight: 800;
    font-size: 14px;
    opacity: .9;
    margin: 4px 0 8px
}

.side-group {
    margin: 12px 0
}

.side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ddd;
    border: 1px solid transparent
}

.side-item:hover {
    background: rgba(255, 255, 255, .04);
    border-color: var(--border)
}

.side-item.active {
    background: rgba(230, 51, 51, .12);
    border-color: rgba(230, 51, 51, .35)
}

.sub-items {
    margin-left: 12px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-item {
    padding: 8px 10px;
    border-radius: 8px;
    color: #bdbdbd;
    font-size: 14px;
}

.sub-item:hover {
    background: rgba(255, 255, 255, .05)
}


/* Content */
.content {
    min-height: 60vh
}

.card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center
}

.cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 640px) {
    .cards {
        grid-template-columns:1fr
    }
}

.welcome {
    margin-bottom: 16px;
    padding-top: 40px;
}

.welcome img {
    width: 280px;
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgba(255, 60, 60, .4));
}

.welcome h1 {
    margin: 0 0 10px;
    font-size: 34px;
}

.welcome p {
    margin: 0;
    color: var(--muted)
}

.benefit {
    padding: 18px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .benefit {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

.benefit .icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 59, 59, .22), rgba(255, 153, 0, .12));
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 10px
}

.benefit h3 {
    margin: 0 0 6px
}

.benefit p {
    margin: 0;
    color: var(--muted)
}

.cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 0
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;
    background: var(--accent);
    border: 1px solid #ff5a5a;
    font-weight: 800;
    font-size: 18px;
}

/* Footer */
footer {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: #9a9a9a;
    text-align: center
}

.container {
    width: min(1280px, 96vw);
    margin: 0 auto
}