:root {
    --accent: #00d146;

    --background: #0b0d10;
    --background-hover: #15181c;
    --background-active: #00d146;

    --text: #e8eaed;
    --text-muted: #9ba3ad;
    --text-secondary: #7f8791;
    --text-dim: #555d66;

    --border: #252a31;
    --border-light: #59616b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
}

header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a.active {
    color: var(--text);
}

nav a.active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 90px);
    letter-spacing: 10px;
    font-weight: 600;
}

.hero p {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 18px;
    letter-spacing: 2px;
}

.divider {
    width: 70px;
    height: 1px;
    background: var(--border-light);
    margin: 30px auto;
}

.hint {
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;

    border: 1px solid var(--border-light);
    border-radius: 6px;

    color: var(--text);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
    color: var(--accent);
    background: var(--background-active);
    border-color: var(--text-muted);
}


/* Media section */

.media-layout {
    min-height: calc(100vh - 70px);
    display: flex;
}

.media-sidebar {
    width: 220px;
    padding: 40px 25px;

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

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-title {
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}

.media-sidebar a {
    color: var(--text-muted);
    text-decoration: none;

    padding: 12px 14px;
    border-radius: 5px;

    transition: background 0.2s, color 0.2s;
}

.media-sidebar a:hover {
    color: var(--text);
    background: var(--accent);
}

.media-sidebar a.active {
    color: var(--text);
    background: var(--accent);
}

.media-content {
    flex: 1;
    min-height: calc(100vh - 70px);

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

    text-align: center;
    padding: 40px;
}

@media (max-width: 650px) {
    header {
        padding: 0 20px;
    }

    nav {
        gap: 14px;
        font-size: 13px;
    }

    .logo {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .hero h1 {
        letter-spacing: 5px;
    }

    .media-layout {
        flex-direction: column;
    }

    .media-sidebar {
        width: 100%;
        padding: 15px 20px;

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

        flex-direction: row;
        overflow-x: auto;
    }

    .sidebar-title {
        display: none;
    }

    .media-sidebar a {
        white-space: nowrap;
    }
}