@font-face {
    font-family: 'BlenderPro';
    src: url('blender-pro-bold.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 25%, #00ff9d 25%, #00ff9d 50%, #1a1a1a 50%, #1a1a1a 75%, #00ff9d 75%);
    background-size: 100px 100px;
    animation: slide 4s linear infinite;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.loading-screen h1 {
    font-family: 'BlenderPro', sans-serif;
    color: #00ff9d;
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(0,255,157,0.5);
    margin-bottom: 2rem;
    
}

.progress-text {
    font-family: 'BlenderPro', sans-serif;
    color: #00ff9d;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0,255,157,0.5);
    text-align: center;
    line-height: 1.3;
}

.progress-text .file-size {
    font-size: 1.2rem;
    color: rgba(0,255,157,0.8);
    display: block;
    margin-top: 0.5rem;
}

.login-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 600px;
    background: url('login_frame.png') no-repeat center center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
    z-index: 100;
}

.login-container h1 {
    font-family: 'BlenderPro', sans-serif;
    color: #00ff9d;
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(0,255,157,0.5);
    margin-bottom: 2rem;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 260px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: 'BlenderPro', sans-serif;
    color: #00ff9d;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0,255,157,0.5);
}

.input-group input {
    padding: 0.8rem;
    background: transparent;
    border: 1px solid #00ff9d;
    color: #00ff9d;
    font-family: 'BlenderPro', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0,255,157,0.5);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.remember-me label {
    font-family: 'BlenderPro', sans-serif;
    color: #00ff9d;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0,255,157,0.5);
    cursor: pointer;
}

.login-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #00ff9d;
    color: #00ff9d;
    font-family: 'BlenderPro', sans-serif;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(0,255,157,0.1);
    box-shadow: 0 0 15px rgba(0,255,157,0.5);
}

.start-btn {
    position: relative;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid #00ff9d;
    color: #00ff9d;
    font-family: 'BlenderPro', sans-serif;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: none;
    z-index: 200;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(0,255,157,0.1);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s;
}

.start-btn:hover {
    background: rgba(0,255,157,0.1);
    box-shadow: 0 0 30px rgba(0,255,157,0.3);
}

.start-btn:hover .hover-effect {
    width: 300px;
    height: 300px;
}

.media-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    transition: opacity 2s ease;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.error-message {
    position: relative;
    width: 100%;
    height: 20px;
    font-size: 14px;
    color: red;
    text-shadow: 0 0 5px red;
    animation: blink 0.5s 2;
    text-align: center;
    margin-top: 1rem;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}