:root {
    --background: #0b0c10;
    --background-light: #101218;
    --surface: #12151b;
    --surface-hover: #171b23;

    --text: #f5f6f8;
    --muted: #8b919c;
    --muted-light: #a9afb9;

    --border: rgba(255, 255, 255, 0.075);

    --blue: #4d9cff;
    --blue-soft: rgba(77, 156, 255, 0.12);

    --discord: #5865f2;

    --green: #45d483;
    --red: #ff5757;
    --yellow: #c8e65c;

    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    border-bottom: 1px solid transparent;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.header.scrolled {
    background: rgba(9, 10, 14, 0.9);
    backdrop-filter: blur(18px);
    border-color: var(--border);
}

.nav {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo strong {
    color: var(--blue);
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(77, 156, 255, 0.35);
    background: rgba(77, 156, 255, 0.08);

    border-radius: 8px;

    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: #969ca6;
    font-size: 13px;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: white;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 40px;
    padding: 0 15px;

    background: var(--discord);
    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.discord-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.menu-button {
    display: none;

    border: 0;
    background: transparent;

    color: white;
    font-size: 20px;

    cursor: pointer;
}

.mobile-nav {
    display: none;
}

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        url("assets/hero.jpg")
        center center / cover no-repeat;

    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 8, 12, 0.96) 0%,
            rgba(7, 8, 12, 0.82) 45%,
            rgba(7, 8, 12, 0.72) 100%
        );
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(77, 156, 255, 0.09),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;

    color: #aeb4bd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-tag-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: var(--green);

    box-shadow: 0 0 12px rgba(69, 212, 131, 0.6);
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(50px, 7vw, 88px);
    line-height: 0.98;

    font-weight: 700;
    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero p {
    max-width: 570px;

    margin-top: 25px;

    color: #aeb3bc;

    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 10px;

    margin-top: 32px;
}

.button {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 18px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.button.primary {
    background: var(--blue);
    color: #07111f;
}

.button.primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(77, 156, 255, 0.2);
}

.button.secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);

    color: white;
}

.button.secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
}

.hero-server {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 30px;

    color: #777d87;
    font-size: 12px;
}

.online-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
    box-shadow: 0 0 10px rgba(69, 212, 131, 0.6);
}

.hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 3;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-bottom-inner {
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #60656f;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.section {
    padding: 115px 0;
}

.dark-section {
    background: #0e1015;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.section-label {
    color: var(--blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.about h2,
.section-heading h2,
.join-box h2 {
    margin-top: 12px;

    font-size: clamp(35px, 4vw, 53px);
    line-height: 1.04;

    letter-spacing: -0.05em;
}

.about h2 span,
.section-heading h2 span,
.join-box h2 span {
    color: var(--blue);
}

.about-text > p {
    max-width: 535px;

    margin-top: 19px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.about-list {
    display: grid;
    gap: 11px;

    margin-top: 28px;
}

.about-list div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #b9bec7;

    font-size: 13px;
}

.about-list i {
    color: var(--green);
    font-size: 12px;
}

.about-media {
    position: relative;
}

.about-media img {
    aspect-ratio: 16 / 10;

    object-fit: cover;

    border-radius: 10px;
    border: 1px solid var(--border);
}

.about-caption {
    position: absolute;
    left: 18px;
    bottom: 18px;

    padding: 12px 15px;

    background: rgba(8, 9, 12, 0.9);
    backdrop-filter: blur(12px);

    border: 1px solid var(--border);
    border-radius: 7px;
}

.about-caption span {
    display: block;

    font-size: 11px;
    font-weight: 700;
}

.about-caption small {
    display: block;

    margin-top: 2px;

    color: #777d87;
    font-size: 10px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-heading p {
    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 13px;
}

.service-card {
    position: relative;

    min-height: 295px;

    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 10px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    background: var(--surface-hover);

    border-color: rgba(255, 255, 255, 0.13);
}

.service-number {
    position: absolute;
    top: 21px;
    right: 22px;

    color: #454a53;

    font-size: 10px;
    font-weight: 700;
}

.service-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 42px;

    border-radius: 9px;

    font-size: 18px;
}

.police .service-icon {
    background: rgba(77, 156, 255, 0.1);
    color: var(--blue);
}

.ambulance .service-icon {
    background: rgba(200, 230, 92, 0.1);
    color: var(--yellow);
}

.fire .service-icon {
    background: rgba(255, 87, 87, 0.1);
    color: var(--red);
}

.dsi .service-icon {
    background: rgba(255, 87, 87, 0.09);
    color: #ff6262;
}

.service-card h3 {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.service-card p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.75;
}

.service-line {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.3s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.showcase-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);
}

.showcase-card img {
    height: 390px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.showcase-card:hover img {
    transform: scale(1.035);
}

.showcase-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent 35%,
            rgba(5, 6, 9, 0.94)
        );
}

.showcase-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 27px;
}

.showcase-content > span {
    color: var(--blue);

    font-size: 10px;
    font-weight: 700;
}

.showcase-content h3 {
    margin-top: 5px;

    font-size: 23px;
    letter-spacing: -0.03em;
}

.showcase-content p {
    max-width: 460px;

    margin-top: 3px;

    color: #a7acb5;

    font-size: 12px;
}

.status-section {
    background: #090a0e;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.status-card {
    padding: 23px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 10px;
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 21px;

    border-bottom: 1px solid var(--border);
}

.status-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    font-size: 17px;
}

.status-icon.server {
    color: var(--blue);
    background: var(--blue-soft);
}

.status-icon.discord {
    color: #7882ff;
    background: rgba(88, 101, 242, 0.1);
}

.status-heading span {
    display: block;

    color: #666c76;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.status-heading strong {
    display: block;

    margin-top: 2px;

    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--green);

    font-size: 9px;
    font-weight: 700;
}

.status-badge span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}

.status-info {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-top: 21px;
}

.stat + .stat {
    padding-left: 22px;

    border-left: 1px solid var(--border);
}

.stat > span {
    display: block;

    color: var(--muted);

    font-size: 11px;
}

.stat strong {
    display: block;

    margin-top: 4px;

    color: white;

    font-size: 27px;
    line-height: 1.2;

    letter-spacing: -0.04em;
}

.status-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    margin-top: 13px;

    color: #565b64;

    font-size: 10px;
}

.status-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-footer strong {
    color: #777d87;

    font-weight: 500;
}

.join-section {
    padding: 70px 0;
}

.join-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 43px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(77, 156, 255, 0.07),
            transparent 35%
        ),
        var(--surface);
}

.join-box p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;
}

footer {
    background: #08090c;

    border-top: 1px solid var(--border);
}

.footer-main {
    min-height: 165px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.footer-brand p {
    margin-top: 9px;

    color: #626771;

    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: #6e737d;

    font-size: 11px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social a {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 7px;

    color: #7d828c;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.footer-social a:hover {
    color: white;
    border-color: rgba(88, 101, 242, 0.5);
}

.footer-bottom {
    min-height: 53px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #494e57;

    font-size: 9px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 950px) {
    .desktop-nav,
    .discord-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-nav {
        display: none;

        padding: 12px 20px 20px;

        background: rgba(9, 10, 14, 0.97);

        border-top: 1px solid var(--border);
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav a {
        padding: 12px 0;

        color: #a4a9b2;

        font-size: 13px;
    }

    .mobile-nav a:last-child {
        color: #8790ff;
    }

    .about {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .section {
        padding: 85px 0;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-bottom-inner {
        font-size: 8px;
    }

    .services-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card img {
        height: 300px;
    }

    .status-info {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .stat + .stat {
        padding-left: 0;
        padding-top: 18px;

        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .status-footer {
        justify-content: flex-start;
    }

    .join-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 0;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 13px 20px;
    }

    .footer-bottom {
        padding: 15px 0;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 4px;
    }
}