* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.72)),
        url("/assets/image/banner.jpg") center / cover no-repeat fixed;
}
main {
    width: min(100%, 560px);
    padding: 42px 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 7vw, 3rem);
    letter-spacing: 1px;
}
p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding: 9px 14px;
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(22, 101, 52, 0.22);
    font-size: 0.85rem;
}
.status::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    content: "";
    box-shadow: 0 0 10px #4ade80;
}
footer {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}
:root {
    color-scheme: dark;
    --background: #090d1a;
    --surface: rgba(19, 27, 48, 0.75);
    --primary: #8b5cf6;
    --secondary: #6366f1;
    --text: #f8fafc;
    --muted: #94a3b8;
    --success: #34d399;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(9, 13, 26, 0.78), rgba(9, 13, 26, 0.88)),
        url("/assets/image/banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.background-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(124, 58, 237, 0.16),
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(37, 99, 235, 0.15),
            transparent 40%
        );
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.18;
}
.glow-one {
    background: #7c3aed;
    top: -200px;
    left: -120px;
}
.glow-two {
    background: #2563eb;
    right: -150px;
    bottom: -200px;
}
.container {
    width: min(100% - 40px, 1000px);
    min-height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
}
.navbar {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
    font-size: 19px;
}
.brand-muted {
    color: var(--muted);
    font-weight: 500;
}
.environment {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.environment-dot,
.status-dot,
.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 0;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 30px;
    background: rgba(52, 211, 153, 0.06);
    color: var(--success);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.pulse {
    box-shadow: 0 0 12px var(--success);
    animation: pulse 1.8s infinite;
}
.hero-icon {
    width: 90px;
    height: 90px;
    margin: 35px 0 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 26px;
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.18),
        rgba(79, 70, 229, 0.08)
    );
    box-shadow: 0 15px 60px rgba(124, 58, 237, 0.13);
    color: #a78bfa;
}
.hero-icon svg {
    width: 42px;
    height: 42px;
}
h1 {
    font-size: clamp(38px, 7vw, 64px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.15;
}
h1 span {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.description {
    max-width: 550px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}
.status-card {
    width: min(100%, 530px);
    margin-top: 42px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: var(--surface);
    backdrop-filter: blur(20px);
}
.status-indicator {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.1);
}
.status-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 12px var(--success);
}
.status-information {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.status-information strong {
    font-size: 13px;
}
.status-information span {
    color: var(--muted);
    font-size: 11px;
}
.status-label {
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}
.server-details {
    width: min(100%, 530px);
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 11px;
    text-align: left;
}
.detail-icon {
    color: #a78bfa;
    font-size: 20px;
}
.detail-item div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.detail-label {
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
}
.detail-item strong {
    font-size: 11px;
}
.detail-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}
footer {
    padding: 25px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
footer p {
    color: #64748b;
    font-size: 11px;
}
footer strong {
    color: #cbd5e1;
}
.footer-caption {
    color: #64748b;
    font-size: 9px;
    letter-spacing: 1px;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}
@media (max-width: 600px) {
    .container {
        width: calc(100% - 36px);
    }
    .navbar {
        height: 75px;
    }
    .hero {
        padding: 75px 0;
    }
    h1 {
        letter-spacing: -2px;
    }
    .description {
        font-size: 13px;
    }
    .status-card {
        padding: 15px;
    }
    .server-details {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .detail-divider {
        display: none;
    }
    footer {
        flex-direction: column;
        text-align: center;
    }
}
/* Navigation Toolbar */
.toolbar {
    position: sticky;
    top: 12px;
    z-index: 10;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
}
.toolbar-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border-radius: 9px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}
.toolbar-link:hover,
.toolbar-link.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.18);
}
.toolbar-link span {
    font-size: 15px;
}
/* Section Layout */
.services-section,
.checker-section,
.about-section {
    padding: 55px 0;
    scroll-margin-top: 90px;
}
.section-heading {
    margin-bottom: 25px;
    text-align: center;
}
.section-label {
    color: #a78bfa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}
.section-heading h2 {
    margin-top: 12px;
    font-size: clamp(25px, 5vw, 34px);
    font-weight: 800;
    letter-spacing: -1px;
}
.section-heading p {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}
/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    min-height: 185px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(19, 27, 48, 0.7);
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(30, 41, 70, 0.85);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.service-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.13);
    color: #a78bfa;
    font-size: 22px;
}
.service-content h3 {
    font-size: 13px;
    margin-bottom: 8px;
}
.service-content p {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.7;
}
.service-arrow {
    position: absolute;
    right: 20px;
    top: 23px;
    color: #64748b;
}
/* Mobile Legends Checker */
.checker-card {
    width: min(100%, 550px);
    margin: auto;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(19, 27, 48, 0.78);
    backdrop-filter: blur(20px);
}
#ml-checker-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.input-group label {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
}
.input-group input {
    width: 100%;
    height: 47px;
    padding: 0 14px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(9, 13, 26, 0.65);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    transition: 0.2s ease;
}
.input-group input::placeholder {
    color: #64748b;
}
.input-group input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
#ml-check-button {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(100deg, #7c3aed, #4f46e5);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}
#ml-check-button:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}
#ml-check-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* Checker Results */
.ml-result {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: result-appear 0.3s ease;
}
.ml-result[hidden] {
    display: none;
}
.result-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.result-heading h3 {
    font-size: 14px;
}
.result-heading span {
    color: #34d399;
    font-size: 10px;
}
.result-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.result-item {
    padding: 13px;
    border-radius: 10px;
    background: rgba(9, 13, 26, 0.6);
    overflow-wrap: anywhere;
}
.result-item.full {
    grid-column: 1 / -1;
}
.result-item small {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
}
.result-item strong {
    color: #e2e8f0;
    font-size: 12px;
    line-height: 1.6;
}
.result-products {
    margin-top: 18px;
}
.result-products h4 {
    margin-bottom: 12px;
    font-size: 12px;
}
.product-item {
    padding: 12px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(9, 13, 26, 0.5);
    color: #cbd5e1;
    font-size: 11px;
    line-height: 1.7;
}
.result-error {
    padding: 14px;
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.07);
    color: #fca5a5;
    font-size: 12px;
    line-height: 1.7;
}
@keyframes result-appear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive */
@media (max-width: 700px) {
    .toolbar {
        width: 100%;
        justify-content: space-around;
        gap: 0;
        padding: 6px 3px;
        overflow-x: auto;
    }
    .toolbar-link {
        flex-direction: column;
        gap: 4px;
        padding: 9px 10px;
        font-size: 9px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: 145px;
    }
    .services-section,
    .checker-section,
    .about-section {
        padding: 40px 0;
    }
    .checker-card {
        padding: 18px;
    }
}
@media (max-width: 380px) {
    .toolbar-link {
        padding: 8px 7px;
        font-size: 8px;
    }
    .result-info {
        grid-template-columns: 1fr;
    }
    .result-item.full {
        grid-column: auto;
    }
}
