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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 1.5s ease;
}

/* 404 Hata Sayfası - Basit ve Gerçekçi */
.error-container {
    text-align: center;
    opacity: 1;
    transition: opacity 1.5s ease;
}

body.error-mode {
    background-color: #ffffff;
}

.error-code {
    font-size: 96px;
    font-weight: 300;
    color: #222222;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.error-message {
    font-size: 16px;
    color: #666666;
    font-weight: 400;
}

/* MYTHTRA Ekranı - Kaliteli Tasarım */
.mythtra-container {
    text-align: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

body.mythtra-mode {
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 50%, #0f0515 100%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mythtra-container.visible {
    opacity: 1;
}

.mythtra-content {
    padding: 60px;
    position: relative;
}

.mythtra-title {
    font-size: 96px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 32px;
    font-family: Georgia, 'Times New Roman', serif;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(255, 255, 255, 0.1);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3),
            0 0 90px rgba(255, 255, 255, 0.2);
    }
}

.mythtra-subtitle {
    font-size: 20px;
    color: #e0e0e0;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Sayı Input Ekranı - MYTHTRA stili devam etsin */
.code-container {
    text-align: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

body.code-mode {
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 50%, #0f0515 100%);
    animation: gradientShift 15s ease infinite;
}

.code-container.visible {
    opacity: 1;
}

.code-content {
    padding: 40px;
}

.code-input {
    font-size: 48px;
    font-weight: 300;
    color: #ffffff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    width: 200px;
    padding: 10px;
    letter-spacing: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.code-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 12px;
}

.code-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Login Panel Container */
.login-panel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    z-index: 1000;
}

.login-panel-container.visible {
    opacity: 1;
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-out {
    opacity: 0;
}
