/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #020617;
    color: #fff;
    padding-top: 80px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(2,6,23,0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.header-inner {
    max-width: 1300px;
    height: 100%;
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-15px);
    animation: logoIn 0.8s ease forwards;
}

@keyframes logoIn {
    to { opacity: 1; transform: translateY(0); }
}

.logo img { width: 36px; height: 36px; }
.logo span { color: #facc15; }

.logo:hover span { text-shadow: 0 0 15px #facc15; }

/* ===== NAVIGATION ===== */
.nav a {
    margin-left: 20px;
    color: #facc15;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.nav a:hover { color: #fff; }

/* ===== HERO VIDEO ===== */
.hero { position: relative; height: 100vh; overflow: hidden; }
.hero video { width: 100%; height: 100%; object-fit: cover; }
.hero-content {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px;
}
.hero-content h1 { font-size: 60px; margin-bottom: 10px; }
.hero-content p { font-size: 20px; margin-bottom: 20px; }

/* ===== BUTTON ===== */
.btn {
    padding: 15px 40px;
    background: #facc15;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover { box-shadow: 0 0 25px #facc15; transform: scale(1.05); }

/* ===== BLOCKS ===== */
.block { padding: 80px 20px; text-align: center; }
.block.dark { background: #020617; }

#news-list p, #top-list p { font-size: 18px; margin: 10px 0; }

/* ===== INPUT ===== */
.input { padding: 15px; width: 260px; border-radius: 10px; border: none; margin-bottom: 15px; }

/* ===== FOOTER ===== */
footer { text-align: center; padding: 20px; background: #020617; color: #94a3b8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .header-inner { flex-direction: column; height: auto; padding: 10px 20px; }
    .nav { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
    .nav a { margin: 10px 0; }
    .hero-content h1 { font-size: 40px; }
    .hero-content p { font-size: 16px; }
    .btn { padding: 12px 30px; font-size: 16px; }
}
