/*
Theme Name: Lev Theme
Theme URI: https://lekvzfantasy.top
Author: OpenAI
Description: Custom WordPress theme based on the static LEV landing page.
Version: 1.0.0
Text Domain: lev-theme
*/

:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #08111f;
    color: #eef1f6;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.site-shell {
    min-height: 100vh;
}

.site-shell__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d1728;
}

.site-shell__inner {
    margin: 0 auto;
    max-width: 1040px;
    padding: 24px 16px;
}

.site-shell__brand {
    color: #eef1f6;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.site-shell__main {
    margin: 0 auto;
    max-width: 1040px;
    padding: 32px 16px 56px;
}

.site-shell__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ba7ca;
    font-size: 14px;
}

.post-card-list {
    display: grid;
    gap: 16px;
}

.post-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #101c31;
    padding: 20px;
}

.post-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.post-card__meta {
    color: #9ba7ca;
    font-size: 14px;
    margin-bottom: 12px;
}

.post-card__excerpt,
.entry-content {
    color: #d7def0;
    line-height: 1.7;
}

.entry-header {
    margin-bottom: 24px;
}

.entry-title {
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.entry-meta {
    color: #9ba7ca;
    font-size: 14px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin: 0 0 16px;
}

.entry-content a {
    color: #4fb1ff;
}

.lev-register {
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(180deg, rgba(12, 16, 29, 0.38), rgba(12, 16, 29, 0.7)),
        url("assets/lev2-images/20.webp") center top / cover no-repeat fixed;
}

.lev-register::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 28, 0.6);
}

.lev-register__wrap {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 1360px;
    min-height: 100vh;
    padding: 72px 16px 108px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lev-register__backdrop {
    width: 100%;
    max-width: 520px;
}

.lev-register__modal {
    background: #132648;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.lev-register__headline {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
}

.lev-register__title-block {
    min-width: 0;
}

.lev-register__eyebrow {
    color: #ffc633;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.lev-register__title {
    color: #eef1f6;
    font-size: 28px;
    line-height: 1.15;
    margin: 0;
}

.lev-register__close {
    align-items: center;
    background: #22375d;
    border-radius: 50%;
    color: #9ba7ca;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    text-decoration: none;
    width: 40px;
}

.lev-register__close:hover {
    background: #364f7d;
    color: #eef1f6;
}

.lev-register__banner {
    background: linear-gradient(180deg, #112852, #132648);
    padding: 0 18px;
}

.lev-register__banner img {
    display: block;
    width: 100%;
}

.lev-register__body {
    padding: 20px;
}

.lev-register__path {
    color: #9ba7ca;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.lev-register__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.lev-register__tab {
    align-items: center;
    background: #22375d;
    border-radius: 999px;
    color: #9ba7ca;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    min-width: 120px;
    padding: 0 18px;
}

.lev-register__tab--active {
    background: #364f7d;
    color: #eef1f6;
}

.lev-register__text {
    color: #9ba7ca;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.lev-form {
    display: grid;
    gap: 12px;
}

.lev-form__field {
    display: grid;
    gap: 8px;
}

.lev-form__label {
    color: #eef1f6;
    font-size: 13px;
    font-weight: 700;
}

.lev-form__input {
    appearance: none;
    border: 1px solid #364f7d;
    border-radius: 10px;
    background: #11192d;
    color: #eef1f6;
    font: inherit;
    min-height: 52px;
    padding: 0 16px;
    width: 100%;
}

.lev-form__input:focus {
    border-color: #7986b9;
    outline: none;
}

.lev-form__note {
    color: #9ba7ca;
    font-size: 13px;
    line-height: 1.6;
    margin: 2px 0 0;
}

.lev-form__error {
    color: #ff8f8f;
    display: none;
    font-size: 13px;
    margin: 0;
}

.lev-form__error.is-visible {
    display: block;
}

.lev-form__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #eef1f6;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 2px;
}

.lev-form__checkbox {
    margin: 3px 0 0;
    accent-color: #0093ff;
}

.lev-form__actions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.lev-form__cta {
    align-items: center;
    border-radius: 20px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.lev-form__cta--primary {
    background: linear-gradient(180deg, #33c600, #206400);
    color: #eef1f6;
}

.lev-form__links {
    display: grid;
    gap: 10px;
}

.lev-form__cta--secondary {
    background: #22375d;
    color: #eef1f6;
}

.lev-register__footer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 8px;
    background: #22375d;
}

.lev-register__footer-panel {
    margin: 0 auto;
    max-width: 460px;
    border-radius: 20px;
    background: #11192d;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}

.lev-register__footer-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.lev-register__footer-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.lev-register__footer-headline {
    color: #ffc633;
    font-size: 12px;
    line-height: 1.3;
}

.lev-register__footer-condition {
    color: #9ba7ca;
    font-size: 10px;
    line-height: 1.3;
}

.lev-register__footer-button {
    align-items: center;
    background: linear-gradient(180deg, #33c600, #206400);
    border-radius: 20px;
    color: #eef1f6;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    min-width: 120px;
    padding: 0 16px;
    text-decoration: none;
}

@media (max-width: 567px) {
    .lev-register__wrap {
        padding-top: 32px;
    }

    .lev-register__headline,
    .lev-register__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lev-register__title {
        font-size: 24px;
    }

    .lev-register__tabs {
        flex-direction: column;
    }

    .lev-register__tab {
        width: 100%;
    }

    .lev-register__footer-panel {
        max-width: none;
    }
}

.lev-admin-table {
    border-collapse: collapse;
    width: 100%;
}

.lev-admin-table th,
.lev-admin-table td {
    border: 1px solid #d0d4dc;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.lev-admin-table td code {
    white-space: normal;
    word-break: break-word;
}
