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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    cursor: grab;
}

body.dragging {
    cursor: grabbing;
}

#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#enter-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;

    padding: 18px 40px;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    cursor: pointer;

    transition: all 0.3s ease;

    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;

    opacity: 1;
    pointer-events: auto;
}

#enter-button span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);

    display: block;
}

#enter-button::before {
    content: "";

    position: absolute;
    inset: -1px;

    border-radius: 16px;
    padding: 1px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;

    transition: opacity 0.3s ease;
}

#enter-button:hover {
    transform: translate(-50%, -50%) scale(1.05);

    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.25);

    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#enter-button:hover::before {
    opacity: 1;
}

#enter-button:active {
    transform: translate(-50%, -50%) scale(0.98);
}

#loading {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: white;

    font-size: 18px;

    z-index: 999;

    opacity: 1;

    transition: opacity 0.5s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.no-images-warning {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: white;

    text-align: center;

    font-size: 18px;

    max-width: 500px;

    padding: 40px;

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(10px);

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    z-index: 1001;
}

.no-images-warning h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.no-images-warning a {
    display: inline-block;

    margin-top: 20px;

    padding: 15px 30px;

    background: rgba(255, 255, 255, 0.2);

    color: white;

    text-decoration: none;

    border-radius: 10px;

    transition: all 0.3s ease;
}

.no-images-warning a:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    #enter-button {
        padding: 14px 32px;
        border-radius: 12px;
    }

    #enter-button span {
        font-size: 14px;
        letter-spacing: 1px;
    }
}