:root {
    --bg-dark: #0B0B12;
    --bg-indigo: #1A1A2E;
    --bg-soft: #2A2A40;
    --neon: #A855F7;
    --bg-dark-rgb: 11, 11, 18;
    --bg-indigo-rgb: 26, 26, 46;
    --bg-soft-rgb: 42, 42, 64;
    --neon-rgb: 168, 85, 247;
    --bg-gray-rgba: rgba(255,255,255,0.15);
    --bg-dgray-rgba: rgba(255,255,255,0.06);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
}

.bg-grid {
    background-size: 50px 50px;
    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);
}

.header {
    position: sticky;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 60px;
    background: var(--bg-indigo);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
    border-bottom: 1px solid var(--bg-indigo-rgb);
    z-index: 2000;
}

.header-left {
    display: flex;
    align-items: center;
    justify-self: start;
}

.logo img {
    height: 45px;
    cursor: pointer;
}

.header-center {
    display: flex;
    justify-content: center;
    justify-self: center;
    transform: translateX(20px);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    padding: 6px 0;
    text-decoration: none;
    opacity: 0.8;
    color: whitesmoke;
}

.nav a:hover {
    color: white;
    opacity: 1;
}

.nav a::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav a:hover::before {
    width: 100%;
}

.nav a.active {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 24px;
}

.lang {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    gap: 8px;
    padding: 8px 16px;
    color: white;
    background: var(--bg-dgray-rgba);
    border: 1px solid var(--bg-gray-rgba);
    border-radius: 28px;
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
    cursor: pointer;
}

.lang-btn:hover {
    background: var(--bg-gray-rgba);
}

.arrow {
    display: inline-block;
    font-size: 20px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.lang-btn.active .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    font-family: "Inter", sans-serif;
    top: 120%;
    right: 0;
    width: 260px;
    padding: 10px;
    gap: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--bg-gray-rgba);
    border-radius: 18px;
    opacity: 0;
    backdrop-filter: blur(14px);
    transform: translateY(10px);
    transition: 0.25s ease;
    pointer-events: none;
}

.lang-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

.lang-item:hover {
    background: var(--bg-dgray-rgba);
}

.lang-item.active {
    background: var(--bg-gray-rgba);
}

.b-side {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: white;
    padding: 8px 18px;
    border-radius: 24px;
    background: var(--bg-dgray-rgba);
    transition: 0.25s ease;
}

.b-side:hover {
    background: white;
    color: black;
}

.b-side-btn {
    position: relative;
    display: inline-flex;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    overflow: hidden;
    color: white;
    background: var(--bg-dgray-rgba);
    border: 1px solid var(--bg-gray-rgba);
    backdrop-filter: blur(10px);
    transition:
    background 0.6s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease,
    color 0.45s ease;
}

.b-side-btn .label {
    position: relative;
    top: 3px;
    color: white;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-gray-rgba);
    opacity: 0;
    width: 20px;
    height: 20px;
    transform: scale(0);
    pointer-events: none;
}

.ripple.enter {
    animation: ripple-enter 1400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ripple.leave {
    animation: ripple-leave 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ripple-enter {
    from {
        transform: scale(0);
        opacity: 0.6;
    }
    to {
        transform: scale(4);
        opacity: 1;
}
}

@keyframes ripple-leave {
    from {
        transform: scale(4);
        opacity: 1;
}
    to {
        transform: scale(0);
        opacity: 0;
    }
}

.hamburger {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    z-index: 9999;
    cursor: pointer;
}

.hamburger span {
    display: block;
    transform: none;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 10px;
    transform-origin: center;
    transition: 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, background-color 0.25s ease;
}

.hamburger:hover span {
    background-color: var(--neon);
}

.hamburger.active span {
    background-color: var(--neon);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) translateX(0);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) translateX(0);
}

.mobile-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    font-family: "Inter", sans-serif;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    padding: 120px 40px 40px 40px;
    gap: 32px;
    z-index: 1000;
    background: var(--bg-dgray-rgba);
    backdrop-filter: blur(18px);
    transition: right 0.45s cubic-bezier(.4,0,.2,1);
    box-sizing: border-box;
    pointer-events: none;
}

.mobile-menu.show {
    right: 0;
    pointer-events: auto;
}

.mobile-menu a {
    text-decoration: none;
    font-size: 22px;
    color: white;
    opacity: 0;
    transform: translateX(30px);
}

.b-sidee {
    position: relative;
    display: block;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    padding: 5px 0px;
    margin-left: -20px;
    width: calc(100% + 40px);
    color: white;
    background: transparent;
    background: var(--bg-dgray-rgba);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.b-sidee::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -20px;
    right: -40px;
    height: 1px;
    background: var(--bg-dgray-rgba);
}

.b-sidee:hover {
    background: var(--bg-indigo);
    color: white;
    transform: none;
}

.mobile-menu a:hover {
    color: var(--neon);
}

.mobile-menu.show a {
    animation: slideIn 0.5s forwards;
}

.mobile-menu.show a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.show a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.show a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.show a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.show a:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 800px) {
    .header-right > .b-side-btn {
        display: none;
    }

    .header-center {
        display: none;
        position: fixed;
        flex-direction: column;
        align-items: center;
        top: 90px;
        left: 0;
        width: 100%;
        gap: 26px;
        padding: 40px 0;
        background: var(--bg-dark);
        backdrop-filter: blur(14px);
        transform: translateY(-120%);
        transition: 0.35s ease;
    }

    .header-center.show {
        transform: translateY(0);
    }

    .nav {
        flex-direction: column;
    }

    .hamburger {
        display: flex;
        margin-left: 12px;
    }
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px;
    cursor: default;
}

h1 {
    font-size: 40px;
    margin-bottom: 12px;
    color: white;
    font-family: "Space Grotesk", sans-serif;
}

.updated {
    color: #a1a1a1;
    font-size: 13px;
    margin-bottom: 40px;
    font-family: monospace;
}

h2 {
    font-size: 23px;
    margin-top: 32px;
    margin-bottom: 8px;
    color: white;
    font-family: "Space Grotesk", sans-serif;
}

p {
    margin-bottom: 16px;
    color: gray;
    font-family: "Inter", sans-serif;
    font-size: 15px;
}

.footer {
    color: #a1a1a1;
    padding: 50px 0 0;
    border-top: 1px solid #15151c;

    background: linear-gradient(
        to bottom,
        #0B0B12 0%,
        #151521  55%,
        #23283a  100%
    );
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
    cursor: default;
    font-family: "Space Grotesk", sans-serif;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: #a1a1a1;
    text-decoration: none;
    font-size: 12px;
    transition: 0.2s;
    font-family: "Inter", sans-serif;
}

.footer a:hover {
    color: white;
}

.ft-logo {
    height: 40px;
}

.socials {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.socials a {
    display: inline-flex;
    opacity: 0.7;
    transition: 0.25s;
}

.socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: brightness(1.3);
}

.socials img {
    width: 22px;
    height: 22px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 13px;
    opacity: 0.6;
    cursor: default;
    font-family: monospace;

}