/* Login Sayfası Stilleri - Cyberpunk Theme */

:root {
    --bg-primary: #050510;
    --bg-secondary: rgba(10, 10, 20, 0.95);
    --bg-tertiary: rgba(0, 245, 255, 0.05);
    --accent-neon: #00f5ff;
    --accent-purple: #bc13fe;
    --accent-pink: #ec4899;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-neon: #00f5ff;
    --shadow-neon: 0 0 15px rgba(0, 245, 255, 0.3);
    --success-green: #00ff9d;
}

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

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(5, 5, 16, 0.9), rgba(5, 5, 16, 0.9)),
        url('../img/locations/corporate-core.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* CRT Scanline Effect */
body::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.login-box {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-neon);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: var(--shadow-neon);
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Corner Decorations */
.login-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-neon);
    border-left: 2px solid var(--accent-neon);
}

.login-box::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent-neon);
    border-right: 2px solid var(--accent-neon);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 0px var(--accent-purple);
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
}

.game-title span {
    color: var(--accent-neon);
}

.game-subtitle {
    color: var(--accent-neon);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Tab Butonları */
.tab-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.tab-btn.active {
    background: var(--accent-neon);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 10px var(--accent-neon);
}

/* Tab İçerikleri */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Stilleri */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-group label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    color: #fff;
    font-family: 'Consolas', monospace;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-neon);
    background: rgba(0, 245, 255, 0.05);
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem;
    background: transparent;
    color: var(--accent-neon);
    border: 1px solid var(--accent-neon);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-submit:hover {
    background: var(--accent-neon);
    color: #000;
    box-shadow: 0 0 20px var(--accent-neon);
}

.error-message {
    color: var(--accent-pink);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
    display: none;
}

/* System Status Widget */
.system-status {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--success-green);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--success-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    z-index: 20;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* News Ticker */
.news-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    border-top: 1px solid var(--accent-purple);
    padding: 0.5rem;
    overflow: hidden;
    z-index: 20;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ticker-content span {
    color: var(--accent-purple);
    margin-right: 2rem;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Info Grid */
.info-section {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 4px;
}

.info-card h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.2rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card li::before {
    content: '>';
    color: var(--accent-neon);
}

@media (max-width: 768px) {
    .system-status {
        top: 1rem;
        right: 1rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}