:root {
    --bg: #0a0f14;
    --bg-2: #0f1620;
    --bg-3: #131d29;
    --surface: #121b26;
    --surface-2: #172230;
    --surface-3: #1d2a3a;
    --line: rgba(123, 177, 255, 0.14);
    --line-strong: rgba(123, 177, 255, 0.28);
    --text: #edf4ff;
    --text-soft: #9eb1c8;
    --text-dim: #71839a;
    --accent: #4cc2ff;
    --accent-2: #6c8cff;
    --accent-soft: rgba(76, 194, 255, 0.16);
    --accent-strong: rgba(76, 194, 255, 0.28);
    --danger: #ff6b6b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(76, 194, 255, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(108, 140, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #091018 0%, #0a0f14 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 12, 18, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.brand-link:hover {
    text-decoration: none;
}

.brand-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        linear-gradient(135deg, rgba(76, 194, 255, 0.14), rgba(108, 140, 255, 0.12));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 12px 32px rgba(0, 0, 0, 0.32);
    padding: 8px;
}

.site-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-text strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.brand-text span {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.35;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #dfe9f7;
    background: linear-gradient(180deg, rgba(23, 34, 48, 0.95), rgba(17, 26, 37, 0.95));
    border: 1px solid rgba(93, 130, 180, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    font-weight: 600;
}

.main-nav a:hover {
    transform: translateY(-1px);
    border-color: rgba(76, 194, 255, 0.38);
    background: linear-gradient(180deg, rgba(26, 40, 56, 1), rgba(19, 31, 45, 1));
    box-shadow:
        0 0 0 1px rgba(76, 194, 255, 0.1) inset,
        0 10px 30px rgba(0, 0, 0, 0.24);
    color: #ffffff;
}

.discord-link {
    color: #ffffff !important;
    border-color: rgba(76, 194, 255, 0.38) !important;
    background:
        linear-gradient(180deg, rgba(22, 50, 72, 0.96), rgba(16, 34, 50, 0.96)) !important;
    box-shadow:
        0 0 0 1px rgba(76, 194, 255, 0.08) inset,
        0 12px 30px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(76, 194, 255, 0.08);
}

.nav-icon,
.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 12px;
    line-height: 1;
}

.site-main {
    flex: 1;
    padding: 48px 0 64px;
}

.page-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18, 27, 38, 0.96), rgba(13, 20, 29, 0.98));
    border: 1px solid rgba(98, 139, 194, 0.18);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.page-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0.95;
}

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

.page-header h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.page-content {
    color: #dbe6f3;
    font-size: 16px;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #ffffff;
    margin-top: 0;
}

.page-content p:last-child {
    margin-bottom: 0;
}

.page-content ul,
.page-content ol {
    padding-left: 22px;
}

.page-content code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(76, 194, 255, 0.08);
    border: 1px solid rgba(76, 194, 255, 0.14);
    color: #dff4ff;
}

.page-content pre {
    overflow: auto;
    padding: 16px;
    border-radius: 14px;
    background: #0c1219;
    border: 1px solid rgba(98, 139, 194, 0.14);
}

.site-footer {
    margin-top: auto;
    background:
        linear-gradient(180deg, rgba(11, 16, 23, 0.98), rgba(8, 12, 17, 1));
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
}

.footer-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.footer-copy {
    color: var(--text-soft);
    font-size: 14px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(76, 194, 255, 0.34);
    background: rgba(76, 194, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
}

.footer-discord:hover {
    background: rgba(76, 194, 255, 0.14);
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        width: 100%;
    }

    .site-main {
        padding: 30px 0 40px;
    }

    .page-card {
        padding: 24px;
        border-radius: 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}:root {
    --bg: #0a0f14;
    --bg-2: #0f1620;
    --bg-3: #131d29;
    --surface: #121b26;
    --surface-2: #172230;
    --surface-3: #1d2a3a;
    --line: rgba(123, 177, 255, 0.14);
    --line-strong: rgba(123, 177, 255, 0.28);
    --text: #edf4ff;
    --text-soft: #9eb1c8;
    --text-dim: #71839a;
    --accent: #4cc2ff;
    --accent-2: #6c8cff;
    --accent-soft: rgba(76, 194, 255, 0.16);
    --accent-strong: rgba(76, 194, 255, 0.28);
    --danger: #ff6b6b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(76, 194, 255, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(108, 140, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #091018 0%, #0a0f14 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 12, 18, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.brand-link:hover {
    text-decoration: none;
}

.brand-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        linear-gradient(135deg, rgba(76, 194, 255, 0.14), rgba(108, 140, 255, 0.12));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 12px 32px rgba(0, 0, 0, 0.32);
    padding: 8px;
}

.site-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-text strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.brand-text span {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.35;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #dfe9f7;
    background: linear-gradient(180deg, rgba(23, 34, 48, 0.95), rgba(17, 26, 37, 0.95));
    border: 1px solid rgba(93, 130, 180, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    font-weight: 600;
}

.main-nav a:hover {
    transform: translateY(-1px);
    border-color: rgba(76, 194, 255, 0.38);
    background: linear-gradient(180deg, rgba(26, 40, 56, 1), rgba(19, 31, 45, 1));
    box-shadow:
        0 0 0 1px rgba(76, 194, 255, 0.1) inset,
        0 10px 30px rgba(0, 0, 0, 0.24);
    color: #ffffff;
}

.discord-link {
    color: #ffffff !important;
    border-color: rgba(76, 194, 255, 0.38) !important;
    background:
        linear-gradient(180deg, rgba(22, 50, 72, 0.96), rgba(16, 34, 50, 0.96)) !important;
    box-shadow:
        0 0 0 1px rgba(76, 194, 255, 0.08) inset,
        0 12px 30px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(76, 194, 255, 0.08);
}

.nav-icon,
.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 12px;
    line-height: 1;
}

.site-main {
    flex: 1;
    padding: 48px 0 64px;
}

.page-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18, 27, 38, 0.96), rgba(13, 20, 29, 0.98));
    border: 1px solid rgba(98, 139, 194, 0.18);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.page-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0.95;
}

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

.page-header h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.page-content {
    color: #dbe6f3;
    font-size: 16px;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #ffffff;
    margin-top: 0;
}

.page-content p:last-child {
    margin-bottom: 0;
}

.page-content ul,
.page-content ol {
    padding-left: 22px;
}

.page-content code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(76, 194, 255, 0.08);
    border: 1px solid rgba(76, 194, 255, 0.14);
    color: #dff4ff;
}

.page-content pre {
    overflow: auto;
    padding: 16px;
    border-radius: 14px;
    background: #0c1219;
    border: 1px solid rgba(98, 139, 194, 0.14);
}

.site-footer {
    margin-top: auto;
    background:
        linear-gradient(180deg, rgba(11, 16, 23, 0.98), rgba(8, 12, 17, 1));
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
}

.footer-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.footer-copy {
    color: var(--text-soft);
    font-size: 14px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(76, 194, 255, 0.34);
    background: rgba(76, 194, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
}

.footer-discord:hover {
    background: rgba(76, 194, 255, 0.14);
}

@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        width: 100%;
    }

    .site-main {
        padding: 30px 0 40px;
    }

    .page-card {
        padding: 24px;
        border-radius: 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

.hero-section {
    margin-bottom: 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 440px);
    gap: 24px;
    align-items: stretch;
}

.hero-content {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 42px;
    border-radius: 24px;
    border: 1px solid rgba(98, 139, 194, 0.18);
    background:
        radial-gradient(circle at top left, rgba(76, 194, 255, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(108, 140, 255, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(18, 27, 38, 0.98), rgba(12, 18, 27, 0.98));
    box-shadow: var(--shadow);
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(76, 194, 255, 0.10);
    border: 1px solid rgba(76, 194, 255, 0.24);
    color: #dff5ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 14px 0;
    font-size: 54px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 760px;
}

.hero-subtitle {
    margin: 0 0 16px 0;
    font-size: 20px;
    line-height: 1.4;
    color: var(--accent);
    font-weight: 600;
}

.hero-text {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
    color: #d8e5f3;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hero-button:hover {
    transform: translateY(-1px);
}

.hero-button-primary {
    color: #ffffff;
    background: linear-gradient(180deg, #32acef, #2585d8);
    box-shadow: 0 12px 28px rgba(37, 133, 216, 0.24);
}

.hero-button-primary:hover {
    color: #ffffff;
}

.hero-button-secondary {
    color: #eaf3ff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(98, 139, 194, 0.20);
}

.hero-button-secondary:hover {
    color: #ffffff;
    border-color: rgba(76, 194, 255, 0.30);
    background: rgba(76, 194, 255, 0.08);
}

.hero-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.hero-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 92px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(98, 139, 194, 0.16);
    background:
        linear-gradient(180deg, rgba(19, 29, 41, 0.98), rgba(14, 21, 31, 0.98));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-card-accent {
    border-color: rgba(76, 194, 255, 0.30);
    background:
        radial-gradient(circle at top left, rgba(76, 194, 255, 0.10), transparent 40%),
        linear-gradient(180deg, rgba(20, 33, 47, 0.98), rgba(14, 22, 32, 0.98));
}

.hero-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(76, 194, 255, 0.10);
    border: 1px solid rgba(76, 194, 255, 0.22);
    color: var(--accent);
}

.hero-card-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-card-text strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.1;
}

.hero-card-text span {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.page-card-home {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: auto;
    }

    .hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hero-content {
        padding: 26px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .hero-card {
        grid-template-columns: 52px 1fr;
        padding: 18px;
        border-radius: 18px;
    }

    .hero-card-icon {
        width: 52px;
        height: 52px;
    }
}