:root {
    --background-color: #000000;
    --text-color: #e0e0e0;
    --accent-color: #00aaff;
    --glass-background: rgba(10, 10, 10, 0.3);
    --font-main: 'Poppins', sans-serif;
    --font-display: 'Raleway', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    user-select: none;
    -webkit-user-select: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#video-background, #image-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(5px) brightness(0.7);
}

#image-background {
    background-size: cover;
    background-position: center center;
}

.desktop-only { display: block; }
.mobile-only { display: none; }
body.is-mobile .desktop-only { display: none; }
body.is-mobile .mobile-only { display: block; }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    z-index: -1;
}

.content-wrapper {
    display: grid;
    place-items: center;
}

.welcome-screen,
.main-content {
    grid-area: 1 / 1;
    width: 100%;
}

.welcome-screen {
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.welcome-screen h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    background: transparent;
    transition: box-shadow 0.3s ease;
    width: 250px;
    margin: 20px auto 10px;
}

.password-container:focus-within {
    box-shadow: 0 0 20px var(--accent-color);
}

#password-input {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 10px 20px;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

#login-button {
    background: var(--accent-color);
    border: none;
    color: var(--background-color);
    cursor: pointer;
    font-size: 1rem;
    padding: 12px 15px;
    border-radius: 0 50px 50px 0;
    transition: background-color 0.3s ease;
}

#login-button:hover {
    background: #0088cc;
}

.error {
    color: #ff5555;
    height: 1em;
}

.main-content {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.5s ease-in 0.5s, transform 0.5s ease-in 0.5s;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    text-align: center;
    background: var(--glass-background);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-content.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.main-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.main-content .subtitle {
    font-size: 1.2rem;
    min-height: 1.5em;
    color: var(--text-color);
}

.shop-link-container {
    margin: 25px 0; 
}

.social-links a {
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in 0.5s;
}

.audio-player.visible {
    opacity: 1;
}

.audio-player i {
    font-size: 1.5rem;
    margin-right: 10px;
}

#volume-control {
    width: 120px;
    cursor: pointer;
}

.shop-icon {
    font-size: 2.2rem;
    color: var(--text-color);
    background: none;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: pulse 2s infinite;
}

.shop-icon:hover {
    transform: scale(1.15);
    color: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-color);
    animation-play-state: paused;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 170, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0);
    }
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 300px;
    position: relative;
    text-align: center;
    color: var(--text-color);
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-container.visible .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.close-button:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}