body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 80px;
    line-height: 1.6;
    background-color: #0f0f0f;
    color: #e0e0e0;
}

.page-content {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.about {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.about h2 {
    margin-top: 0;
    color: #f0f0f0;
}

.privacy {
    background-color: #1a2332;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.privacy h2 {
    margin-top: 0;
    color: #f0f0f0;
}

.small-centered {
    text-align: center;
    margin-left: auto;
    margin-top: 0;
    font-size: 50%;
    color: #b0b0b0;
}

/* Reset basics */
h1 {
    text-align: center;
    color: #e0e0e0;
}

.site-header h1 {
    text-align: left;
    color: #87ceeb;
}

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

body {
    padding-top: 80px;
    font-family: system-ui, sans-serif;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: height 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.site-header.shrink {
    height: 56px;
}

/* INNER LAYOUT */
.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* LOGO */
.logo {
    position: absolute;
    left: 24px;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    color: #87ceeb;
    margin: 0;
    white-space: nowrap;
}

.logo:hover {
    background-color: rgba(135, 206, 235, 0.2);
    border-radius: 20px;
}

/* NAVIGATION */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    padding: 20px;
}

.nav-links a:hover {
    color: #87ceeb;
    background-color: rgba(135, 206, 235, 0.15);
    border-radius: 30px;
}

/* HAMBURGER */
.hamburger {
    position: absolute;
    right: 24px;
    width: 28px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 900px) {
    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        display: none;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    }

    .site-header.shrink .nav {
        top: 56px;
    }

    .nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 16px 0;
        gap: 16px;
    }

    .hamburger {
        display: flex;
    }
}

/* ACCESS BOX */
.page-content {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* spacing between text and access box */
.intro-text {
    margin-bottom: 50px;
    font-size: 23px;
    color: #e0e0e0;
}

.access-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25%;
}

.access-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 50px;
    border-radius: 14px;
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.access-input {
    width: 360px;
    max-width: 90vw;
    padding: 16px 18px;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    border: 1px solid #404040;
    border-radius: 10px;
    outline: none;
    background-color: #252525;
    color: #e0e0e0;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.access-input::placeholder {
    color: #808080;
    letter-spacing: 0.12em;
}

.access-input:focus {
    border-color: #87ceeb;
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.25);
}

.access-submit {
    width: 180px;
    padding: 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.1s ease;
}

.access-submit:hover {
    background-color: #87ceeb;
    transform: translateY(-1px);
}

.access-submit:active {
    transform: translateY(0);
}

.fade-right-js {
    display: inline-block;
    --fade-progress: 0;
    -webkit-mask-image: linear-gradient(
            to right,
            black 0%,
            black calc(100% * (1 - var(--fade-progress))),
            transparent 100%
    );
    mask-image: linear-gradient(
            to right,
            black 0%,
            black calc(100% * (1 - var(--fade-progress))),
            transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* LANGUAGE DROPDOWN */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.language-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown menu */
.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #e0e0e0;
    font-size: 14px;
    text-decoration: none;
}

.language-option:hover {
    background: #404040;
}

/* FLAG ICONS */
.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}

/* LANGUAGE CODE TEXT */
.lang-code {
    font-weight: 500;
}
