/* Reset štýlov */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Telo stránky */
body {
    background-color: #1a1a1a;
    color: #d0d0d0;
    min-height: 100vh; /* zmenené z height: 100vh */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* Hero sekcia */
.hero-section {
    flex: 1; /* zaberie dostupný priestor */
    position: relative;
    width: 100%;
    background: linear-gradient(rgb(0 0 0 / 58%), rgb(18 18 21 / 62%)), url(/img/pozadie.jpg) center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 200px;
}

/* Bielosivá dymová clona */
.title-smoke, .button-smoke {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: rgba(200, 200, 200, 0.2); /* Bielosivý odtieň dymu */
    filter: blur(25px); /* Jemné rozmazanie */
    opacity: 0.6;
    z-index: 1;
    animation: smoke-move 8s ease-in-out infinite;
}

.title-smoke {
    top: 45%;
    height: 150px;
}

.button-smoke {
    top: 72%;
    height: 150px;
}

@keyframes smoke-move {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Názov stránky */
h1 {
    font-size: 6.5em;
    color: #8a8a8a; /* Tmavší sivý odtieň */
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    text-shadow: 0px 0px 10px rgba(138, 138, 138, 0.5), 0px 0px 15px rgba(100, 100, 100, 0.4);
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Tlačidlá */
.button-group {
    display: flex;
    justify-content: center;
    gap: 200px;
    margin-top: 80px;
    z-index: 2;
}

.button-group .btn {
    padding: 15px 30px;
    font-size: 1.2em;
    color: #d0d0d0; /* Bielosivý odtieň */
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
    border: 2px solid #d0d0d0; /* Bielosivé orámovanie */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-group .btn:hover {
    color: #f0f0f0; /* Svetlejší biely odtieň pri prechode myšou */
    border-color: #f0f0f0;
}

/* Animácia tlačidiel - pozadie */
.button-group .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(240, 240, 240, 0.1); /* Jemná bielosivá na pozadí pri hover */
    transition: transform 0.4s;
    transform: skewX(-45deg);
    z-index: -1;
}

.button-group .btn:hover::before {
    transform: translateX(100%) skewX(-45deg);
}

/* Textové pole pre autorské práva */
.copyright {
    margin-top: 150px;
    text-align: center;
    font-size: 0.8em;
    color: #c0c0c0e8; /* Svetlý bielosivý odtieň */
    font-family: 'Roboto', sans-serif;
    max-width: 900px;
}

/* Titulky pre prihlásenie a registráciu */
h2 {
    font-size: 3em;
    color: #8a8a8a;
    font-family: 'Cinzel Decorative', serif;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(138, 138, 138, 0.5);
}

/* Pravidlá portálu */
.rules-box {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    color: #d0d0d0;
    font-size: 0.9em;
    margin-bottom: 30px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
}

.rules-box h3 {
    font-family: 'Cinzel Decorative', serif;
    color: #8a8a8a;
    text-align: center;
    margin-bottom: 15px;
}

.rules-box p {
    margin: 10px 0;
    line-height: 1.5;
}

/* Formulár na registráciu */
.auth-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
}

.auth-form label {
    color: #d0d0d0;
    margin-top: 10px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #8a8a8a;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #d0d0d0;
    font-size: 1em;
}

/* Checkboxy a súhlasy */
.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    font-size: 0.9em;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #8a8a8a;
}

.checkbox-group label {
    color: #d0d0d0;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
}

/* Tlačidlo pre formulár */
.auth-form .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    color: #8a8a8a;
    border: 2px solid #8a8a8a;
    background: transparent;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Globálne štýly pre konzistentný vzhľad */
body {
    background-color: #1a1a1a;
    color: #d0d0d0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

/* Špecifické štýly pre stránku registrácie */
/* Hero sekcia špecifická pre registráciu */
.hero-section.register {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(20, 20, 30, 0.8)), url('img/pozadie.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center; /* Horizontálne vycentrovanie */
    align-items: center;     /* Vertikálne vycentrovanie */
    height: 100vh;
    padding: 30px 0;
    overflow: hidden;
}

/* Scrollovateľný kontajner pre registráciu */
.scroll-container {
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: scroll;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Štýly pre text s pravidlami a registráciu */
.rules-box {
    color: #d0d0d0;
    margin-bottom: 20px;
}

.rules-box h3 {
    font-family: 'Cinzel Decorative', serif;
    color: #8a8a8a;
    text-align: center;
    margin-bottom: 15px;
}

.rules-box p {
    margin: 10px 0;
    line-height: 1.5;
}

/* Formulár na registráciu */
.auth-form label {
    color: #d0d0d0;
    font-size: 1em;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #8a8a8a;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #d0d0d0;
}

/* Checkboxy a súhlasy */
.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    font-size: 0.9em;
}

.checkbox-group label {
    display: flex;
    align-items: center; /* Zarovnanie checkboxu s textom */
    color: #d0d0d0;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px; /* Medzera medzi checkboxom a textom */
    accent-color: #8a8a8a;
}

/* Tlačidlo pre registráciu */
.auth-form .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    color: #8a8a8a;
    border: 2px solid #8a8a8a;
    background: transparent;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2em;
    }

    .button-group {
        flex-direction: column;
        gap: 20px;
        margin-top: 150px;
    }

    .button-group .btn {
        width: 100%;
        text-align: center;
    }

    .copyright {
        font-size: 0.75em;
        padding: 0 20px;
        margin-top: 150px;
    }

    .title-smoke, .button-smoke {
        height: 100px;
        filter: blur(18px);
    }
}