:root {
    --primary: #00a8ff; /* Modrá */
    --accent: #ff9f1a;  /* Oranžová */
    --bg-dark: #1e1e1e;
    --text: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

/* --- NAVIGÁCIA --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo { 
    font-size: 24px; 
    font-weight: bold; 
    color: white; 
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: #ddd; font-weight: 600; transition: 0.3s; font-size: 16px; }
.nav-links a:hover { color: var(--primary); }

/* Tlačidlo Fórum (Oranžové) */
.btn-store {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(255, 159, 26, 0.3);
}
.btn-store:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* HAMBURGER MENU (Skryté na PC) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: white;
}

/* --- HERO SEKCIA --- */
header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content { max-width: 800px; padding: 20px; animation: fadeIn 1s ease-out; }

.version-tag {
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent);
}

h1 { font-size: 3.5rem; margin: 20px 0 10px; line-height: 1.1; text-transform: uppercase; }
p { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }

/* IP Box */
.ip-container {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary);
    padding: 15px 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 25px;
    display: inline-block;
}
.ip-container:hover { transform: scale(1.05); background: rgba(0, 168, 255, 0.2); }
.ip-address { font-size: 28px; font-weight: bold; font-family: 'VT323', monospace; letter-spacing: 3px; color: white; }
.copy-hint { font-size: 14px; color: #aaa; margin-top: 5px; }

.btn-discord {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-discord:hover { background: #4752c4; }

/* --- SEKCIE --- */
.container { padding: 80px 10%; text-align: center; }
.section-title h2 { font-size: 2.5rem; color: var(--accent); margin-bottom: 10px; }
.section-title p { color: #888; margin-bottom: 50px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #252525;
    padding: 40px 30px;
    border-radius: 15px;
    border-bottom: 4px solid var(--primary);
    transition: 0.3s;
    text-align: left;
}
.card:hover { transform: translateY(-10px); background: #2a2a2a; }
.icon-box { font-size: 40px; margin-bottom: 20px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: white; }
.card p { font-size: 0.95rem; color: #bbb; line-height: 1.6; }

.feature-list { list-style: none; margin-top: 15px; }
.feature-list li { margin-bottom: 8px; font-size: 0.9rem; color: #aaa; }
.feature-list strong { color: var(--primary); }

/* Economy Box */
.economy-box {
    background: linear-gradient(45deg, #1a1a1a, #252525);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #333;
}
.economy-box ul { list-style: none; margin-top: 20px; text-align: left; display: inline-block; }
.economy-box li { margin-bottom: 10px; font-size: 1.1rem; }

footer { padding: 30px; text-align: center; background: #111; color: #555; font-size: 14px; border-top: 1px solid #222; }

/* Animácia */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TLAČIDLO ADMIN ZONE --- */
.btn-admin {
    background: #ff4757 !important; /* Červená farba */
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3); /* Červená žiara */
    margin-left: 5px; /* Odstup od fóra */
}

.btn-admin:hover {
    background: #e84118 !important; /* Tmavšia po nabehnutí */
    transform: translateY(-2px);
}

/* --- NÁBOR --- */
.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}
.status-open { background: #2ecc71; color: white; }
.status-closed { background: #ff4757; color: white; }

.nabor-form {
    background: #252525;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}
.nabor-form label { display: block; margin-bottom: 8px; color: #ccc; font-weight: bold; }
.nabor-form input, .nabor-form textarea {
    width: 100%; padding: 12px; margin-bottom: 20px;
    background: #333; border: 1px solid #444; color: white;
    border-radius: 5px; font-family: 'Fredoka', sans-serif;
}
.nabor-form button {
    background: var(--primary); color: white; border: none;
    padding: 12px 20px; border-radius: 5px; cursor: pointer;
    font-weight: bold; width: 100%; font-size: 16px;
}
.nabor-form button:hover { background: #0097e6; }

/* Admin karty prihlášok */
.app-card { background: #333; padding: 15px; border-radius: 8px; margin-bottom: 15px; text-align: left; border-left: 4px solid var(--accent); }
.app-card h4 { margin-bottom: 10px; color: var(--accent); }
.app-card p { margin-bottom: 5px; font-size: 14px; }

/* --- MOBILNÉ ZOBRAZENIE --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px; 
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        padding: 30px 0;
        text-align: center;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .btn-store {
        display: inline-block;
        font-size: 18px;
        padding: 12px 40px;
        width: 80%;
    }
    .btn-admin {
        margin-left: 0;
        margin-top: 10px;
    }
    h1 { font-size: 2.2rem; }
    .hero-content { padding-top: 10px; }
    .ip-address { font-size: 20px; letter-spacing: 1px; }
    .container { padding: 60px 5%; }
}