﻿:root {
    --primary-crimson: #8a0a18;
    --accent-gold: #d4af37;
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(212, 175, 55, 0.3);
    --font-roman: 'Cinzel', serif;
    --font-modern: 'Roboto', sans-serif;
    --text-light: #d3d3cd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #050505;
    color: #f5f5f5;
    font-family: var(--font-modern);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.video-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, #000000 100%);
    z-index: -1;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute; 
    width: 100%;
    z-index: 100;
}

.lang-selector {
    position: relative;
    cursor: pointer;
    font-family: var(--font-roman);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: rgba(0,0,0,0.6);
    padding: 8px 15px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    width: 134px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 88%;
    right: 0;
    background: #111;
    border: 1px solid var(--accent-gold);
    min-width: 132px;
    margin-top: 5px;
}

.lang-selector:hover .lang-dropdown { display: block; }

.lang-dropdown div {
    padding: 10px;
    color: #fff;
    transition: 0.2s;
}
.lang-dropdown div:hover { background: var(--primary-crimson); }


.main-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 400px; 
    gap: 50px;
    padding: 0 80px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-video {
    height: 120px;
    width: auto;
    align-self: flex-start;
    margin-bottom: 20px;
    margin-left: -10px;
}

.game-desc {
    background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent);
    border-left: 4px solid var(--primary-crimson);
    padding: 20px;
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

.game-desc h1 {
    font-family: var(--font-roman);
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.game-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 20px;
}

.highlight { color: var(--accent-gold); font-weight: bold; }

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 25px;
    position: relative;
}

.glass-box::after {
    content: ''; position: absolute; top: -1px; left: -1px; width: 15px; height: 15px;
    border-top: 2px solid var(--accent-gold); border-left: 2px solid var(--accent-gold);
}
.glass-box::before {
    content: ''; position: absolute; bottom: -1px; right: -1px; width: 15px; height: 15px;
    border-bottom: 2px solid var(--accent-gold); border-right: 2px solid var(--accent-gold);
}

.login-title {
    font-family: var(--font-roman);
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.logged-t {
    color: var(--accent-gold);
}

.logout {
    float: inline-end;
    background-color: var(--primary-crimson);
    padding: 2px;
    border: 1px solid var(--accent-gold);
    border-radius: 25px;
    height: 25px;
    width: 25px;
    margin-top: -4px;
    align-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.logout:hover {
    
    background-color: transparent;
}

.input-field {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    padding: 12px;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-modern);
}

.input-field:focus { border-color: var(--accent-gold); outline: none; }

.btn-main {
    width: 100%;
    padding: 12px;
    background: var(--primary-crimson);
    color: #fff;
    border: 1px solid var(--primary-crimson);
    font-family: var(--font-roman);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}
a.btn-main {display: block; text-align: center}
.btn-main:hover { background: transparent; border-color: var(--accent-gold); color: var(--accent-gold); }


.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-roman);
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.news-item {
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 10px;
}
.news-item:last-child { border: none; }
.news-date { color: #888; font-size: 0.75rem; min-width: 60px; }
.news-text { color: #ccc; }
.news-text:hover { color: #fff; text-decoration: underline; cursor: pointer; }
.footer-stats {
    background: rgba(0,0,0,0.9);
    padding: 10px 50px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #222; font-size: 0.8rem; color: #666;
}

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 100px 20px;
        text-align: center;
    }
    .left-panel { align-items: center; }
    .logo-video { height: 100px; margin: 0 auto 20px auto; }
    .game-desc { border-left: none; border-top: 4px solid var(--primary-crimson); }
    .right-panel { max-width: 400px; margin: 0 auto; width: 100%; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
