* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #020202;
    color: #fff;
}

.g {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    filter: contrast(1.1) brightness(0.85);
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .g {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .g {
        grid-template-columns: 1fr;
    }
}

.g * {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transform: translateZ(0);
    will-change: opacity;
    animation: s 0.4s ease-out forwards;
    content-visibility: auto;
    contain-intrinsic-size: 100% 35vh;
}

@keyframes s {
    to {
        opacity: 1;
    }
}

.o {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75));
    backdrop-filter: saturate(1.2) brightness(0.9);
    pointer-events: none;
}

.n {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 92%;
    max-width: 1100px;
    height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 99px;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nl,
.nr,
.st {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nr {
    gap: 20px;
}

.st {
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.l {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.lk {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.lk:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.sh {
    color: #ff3366;
    font-size: 0.95rem;
    display: inline-block;
    animation: p 1.4s infinite ease-in-out;
}

@keyframes p {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 99px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.b:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.bp {
    background: #fff;
    color: #000;
}

.bp:hover {
    background: #f0f0f0;
}

.m {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 4;
}

.m div {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .m {
        display: flex;
    }

    .nr {
        position: absolute;
        top: 76px;
        right: 8px;
        background: rgba(10, 10, 10, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(32px) saturate(1.8);
        -webkit-backdrop-filter: blur(32px) saturate(1.8);
        padding: 24px;
        border-radius: 24px;
        flex-direction: column;
        width: 250px;
        gap: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 51, 102, 0.05);
        transform: translateY(-10px) scale(0.95);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0.2s;
        display: flex;
    }

    .nr.show {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .nr .b {
        width: 100%;
        height: 48px;
        font-size: 0.95rem;
    }

    .nl .lk,
    .st {
        display: none;
    }

    .m.open div:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 5px);
    }

    .m.open div:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .m.open div:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -5px);
    }
}

.gt {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: #020202;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    cursor: pointer;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
    overflow: hidden;
}

.gt-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

.gt-bg * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.6);
}

.gt.h {
    opacity: 0;
    visibility: hidden;
}

.a {
    font-family: monospace;
    white-space: pre;
    font-size: 8px;
    line-height: 1.05;
    color: #ff3366;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 25px rgba(255, 51, 102, 0.8);
    animation: j 2.2s infinite ease-in-out;
    will-change: transform;
    max-width: 95vw;
    overflow: hidden;
}

@media (max-width: 600px) {
    .a {
        font-size: 4.8px;
        line-height: 1;
    }
}

@media (max-width: 400px) {
    .a {
        font-size: 3.8px;
        line-height: 1;
    }
}

@keyframes j {

    0%,
    100% {
        transform: scale(1) skewX(0deg);
    }

    25% {
        transform: scale(1.02, 0.98) skewX(-1deg);
    }

    50% {
        transform: scale(0.98, 1.02) skewX(1deg);
    }

    75% {
        transform: scale(1.01, 0.99) skewX(-0.5deg);
    }
}

.gui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    background: rgba(2, 2, 2, 0.6);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gtx {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.gst {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #ff3366;
    animation: bk 1.5s infinite;
}

@keyframes bk {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Custom layout columns style rules */
.g.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.g.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.g.cols-1 {
    grid-template-columns: 1fr;
}