@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@800&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:wght@300&display=swap');

body {
    background-image: url("image1.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'nunito', sans-serif;
    position: relative;
    overflow-x: hidden; /* Důležité pro zabránění horizontálního scrollu */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("image1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(80%) blur(3px);
    z-index: -5;
    pointer-events: none;
}

/* --- NAVIGACE (HEADER) STYLY --- */
nav {
    background-color: rgba(0, 0, 0, 0.960);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
    height: 120px;
    display: flex;
    align-items: center;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

nav li {
    height: 100%;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 34px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
    color: #0096c8dc;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.3);
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: right 0.3s ease;
    z-index: 999;
}

.sidebar-visible {
    right: 0;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
    padding: 20px 30px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #0096c8dc;
}

.menu-button {
    display: none;
    height: 100%;
    align-items: center;
    margin-left: 20px;
    z-index: 1000;
    position: relative;
}

.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #DDDDDD;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
    background-color: #FFFFFF;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
    background-color: #FFFFFF;
}

/* --- GLOBALNÍ SKRYTÍ/ZOBRAZENÍ TŘÍD --- */
/* Tyto třídy se používají pro přepínání celých sekcí */
.hide-on-mobile {
    display: block; /* Zobrazit blokově na desktopu (default) */
}

.hide-on-desktop {
    display: none; /* Skrýt na desktopu (default) */
}

/* --- RESPONSIVNÍ STYLY (pod 800px) --- */
@media (max-width: 800px) {
    /* Přepínání viditelnosti sekcí sociálních sítí */
    .hide-on-mobile {
        display: none !important; /* Skrýt desktopovou verzi na mobilu */
    }

    .hide-on-desktop {
        display: flex !important; /* Zobrazit mobilní verzi na mobilu jako flexbox kontejner */
        flex-direction: column;
        align-items: center;
    }

    html {
        background-image: none;
        background-color: #000;
    }

    body {
        background-image: none;
        background-color: transparent;
    }

    #background-overlay {
        display: block;
        background-image: url("image1.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        pointer-events: none;
        z-index: -1;
    }

    .hideOnMobile { /* Toto je třída pro navigační prvky, neplést s hide-on-mobile výše */
        display: none;
    }

    .menu-button {
        display: flex;
        margin-left: auto;
        margin-right: 20px;
        height: 60px;
    }

    nav {
        height: 60px;
    }

    .hamburger {
        width: 26px;
        height: 18px;
    }

    .hamburger span {
        height: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav li {
        height: 60px;
    }

    nav a {
        font-size: 17px;
    }

    .introtext {
        font-size: 30px;
    }

    .introonas h1 {
        font-size: 1.4em;
    }

    /* Úpravy pro mobilní verzi .logo1 */
    .logo1 {
        width: 90% !important;
        font-size: 1.2em;
        padding: 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .logo1 p {
        font-size: 1em;
        text-align: center;
    }

    /* Úpravy pro mobilní verzi .jaksenapojit */
    .jaksenapojit {
        width: 95% !important;
        margin: 0 auto;
        padding: 25px 15px !important;
        box-sizing: border-box;
        display: block; /* Změnit na blok, aby se správně zarovnávaly p tagy */
    }

    .jaksenapojit h1 {
        font-size: 1.1em !important;
        text-align: center;
        margin-top: 0 !important;
        padding: 0;
    }
    .jaksenapojit h1::after {
        content: "";
        display: block;
        height: 5px;
        clear: both;
    }

    .jaksenapojit p {
        font-size: 0.85em !important;
        text-align: center; /* Centrovat text uvnitř p tagu */
        float: none; /* Důležité: odstranit float pro mobil */
        display: block; /* Zajistit, že p je blokový prvek */
        margin: 3px 0 !important;
        padding: 0;
    }

    .jaksenapojit p:first-of-type::after {
        content: "";
        display: block;
        height: 12px;
        clear: both;
    }

    #alter {
        font-size: 0.8em !important;
        margin: 8px 0 !important;
    }

    .jaksenapojit a {
        font-size: 0.85em !important;
        display: inline;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: baseline;
    }

    .dsc, .ig {
        float: none; /* Důležité: odstranit float pro mobil */
        display: inline-block;
        margin: 0 4px !important;
        padding: 4px 8px !important;
        box-sizing: border-box;
        vertical-align: middle;
        border-radius: 8px;
        line-height: 1;
    }

    .dsc p, .ig p {
        font-size: 0.9em !important;
        margin: 0;
        padding: 0;
    }

    /* Přidání responsivity pro .recenze .container a .card */
    .recenze .container {
        width: 95% !important; /* Flexibilní šířka */
        margin: 20px auto 0 auto !important; /* Centrování, odstranění záporného marginu */
        align-items: center !important;
    }
    .card {
        width: 95% !important; /* Flexibilní šířka */
        max-width: 500px !important; /* Omezit max šířku pro čitelnost */
        flex-direction: column !important; /* Ikona nad textem na mobilu */
        text-align: center !important;
        padding: 10px !important;
        margin-bottom: 20px !important;
    }
    .card img {
        margin-right: 0 !important; /* Odstranit horizontální margin */
        margin-bottom: 10px !important; /* Přidat vertikální margin */
    }
    .card h1 {
        font-size: 1.5em !important;
    }
    .card p {
        font-size: 1em !important;
    }
}

@media(max-width: 767px) {
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
        flex-grow: 0;
        min-width: unset;
    }

    .footer .row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-col:last-child {
        margin-bottom: 0;
    }

    .footer-col .social-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .youtube-block,
    .instagram-block,
    .tiktok-block {
        flex-direction: row;
        justify-content: center;
        margin: 0;
        flex-grow: 0;
        gap: 5px;
    }

    .views-display {
        text-align: center;
        margin-left: 0;
        white-space: nowrap;
        justify-content: center;
    }

    .views-display img.arrow-icon {
        margin-right: 5px;
        margin-bottom: 0;
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%;
    }
    /* Další úpravy pro .jaksenapojit pro ještě menší telefony */
    .jaksenapojit h1 {
        font-size: 1em !important; /* Dále zmenšen */
    }
    .jaksenapojit h1::after { /* NOVÉ: Úprava mezery pod h1 pro menší obrazovky */
        height: 12px;
    }
    .jaksenapojit p {
        font-size: 0.75em !important; /* Dále zmenšen */
    }
    .jaksenapojit p:first-of-type::after { /* NOVÉ: Úprava mezery pod Discord odkazem pro menší obrazovky */
        height: 9px;
    }
    #alter {
        font-size: 0.7em !important;
        margin: 5px 0 !important;
    }
    .dsc, .ig {
        padding: 3px 6px !important; /* Ještě menší padding pro menší displeje */
        margin: 0 3px !important; /* Menší horizontální mezery */
    }
    .dsc p, .ig p {
        font-size: 0.8em !important; /* Dále zmenšen */
    }

    /* Ještě menší úpravy pro .card na menších mobilních zařízeních */
    .card {
        max-width: 300px !important;
    }
    .card img {
        max-width: 80px !important;
    }
    .card h1 {
        font-size: 1.2em !important;
    }
    .card p {
        font-size: 0.9em !important;
    }
}

@media (max-width: 480px) {
    .introtext {
        font-size: 24px;
    }

    /* Další úpravy pro .logo1 pro ještě menší telefony */
    .logo1 {
        font-size: 1em !important;
        padding: 10px !important;
    }
    .logo1 p {
        font-size: 0.9em !important;
    }
    /* Ještě menší fonty pro jaksenapojit na nejmenších obrazovkách */
    .jaksenapojit h1 {
        font-size: 0.9em !important;
    }
    .jaksenapojit h1::after { /* NOVÉ: Úprava mezery pod h1 pro nejmenší obrazovky */
        height: 8px;
    }
    .jaksenapojit p {
        font-size: 0.7em !important;
    }
    .jaksenapojit p:first-of-type::after { /* NOVÉ: Úprava mezery pod Discord odkazem pro nejmenší obrazovky */
        height: 6px;
    }
    #alter {
        font-size: 0.65em !important;
        margin: 3px 0 !important;
    }
    .dsc, .ig {
        padding: 2px 5px !important; /* Minimalizovaný padding */
        margin: 0 2px !important; /* Minimalizovaná mezera */
    }
    .dsc p, .ig p {
        font-size: 0.75em !important;
    }
}

@media (min-resolution: 300dpi) {
    .introonas h1 {
        font-size: 1.0em;
    }
}

h1, h2, h3, h4, h5, a {
      font-family: 'Outfit', sans-serif;
}

a {
    color: black;
}

input[type="submit"] {
    border-radius: 5px;
    margin-top: 1px;
    margin: 10px 0px 0px 0px;
}

button[name="Email"] {
    color: rgb(0, 0, 0);
    margin: 0px 0px 50px 0px;
    border-radius: 10px;
}

input {
    margin-top: 5px;
}

input[type="email"], input[type="password"] {
    border-radius: 5px;
}

.element {
    width: 50%;
}

.discord1 {
    font-size: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    color: red;
    display: inline;
    width: 50%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo1 {
    font-size: 28px;
    font-family: 'Nunito', sans-serif;
    background-color: rgba(255, 255, 255, 0.955);
    color: black;
    border-radius: 15px;
    width: 669px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.pripojeni {
    background-color: #000000de;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pripojeni h1 {
    font-size: 40px;
}

.jaksenapojit {
    font-size: 28px;
    font-family: 'Nunito', sans-serif;
    background-color: rgba(240, 240, 240, 0.897);
    color: black;
    border: 2px solid rgb(163, 163, 163);
    border-radius: 15px;
    width: 800px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.jaksenapojit:hover {
    transform: scale(1.005);
}

.jaksenapojit h1 {
    font-size: 30px;
}

#alter {
    font-size: 22px;
    margin: 33px 0px 0px 0px;
}

.jaksenapojit a {
    color: rgb(129, 0, 144);
    text-decoration: underline;
    font-size: 23px;
}

.jaksenapojit p {
    font-size: 23px;
    color: black;
    text-align: left;
    display: flex;
    justify-content: left;
    align-items: left;
}

.form {
    color: red;
}

.dsc {
    float: left;
}

.ig {
    float: let;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    font-size: 21px;
}

/* --- SOCIÁLNÍ SÍTĚ - PŮVODNÍ CSS PRO PC (NEMĚNIT A NECHYSTAT NA NĚJ ŽÁDNÝ JINÝ SELEKTOR!!!) --- */
.socials {
    background-color: #ffffffed;
    z-index: 2;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}

.socials h1 {
    font-size: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.socials .youtube { /* Specifikováno .socials .youtube, aby neovlivnilo jiné elementy */
    position: relative;
    left: -750px;
    font-size: 25px;
    bottom: 5px;
}

.socials .youtube:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    bottom: 38px;
    left: 83px;
    transform: translateX(-50%);
    width: 9px;
    height: 42px;
    background-color: rgb(0, 0, 0);
    pointer-events: pointer;
}

.socials img[src="ytblogo.png"] { /* Specifikováno .socials img[src="..."], aby neovlivnilo mobilní ikony */
    width: 95px;
    height: auto;
    position: relative;
    top: -47px;
    left: 5px;
    padding: 30px;
}

.socials .ytbtext {
    float: left;
    margin: -20px 0px 0px -1493px;
    font-size: 25px;
    font-weight: bold;
}

.socials .instagram {
    position: relative;
    left: -750px;
    font-size: 25px;
    bottom: 5px;
}

.socials .instagram:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    bottom: 205px;
    left: 449px;
    transform: translateX(-50%);
    width: 9px;
    height: 42px;
    background-color: rgb(0, 0, 0);
    pointer-events: pointer;
}

.socials img[src="iglogo (1).png"] {
    width: 91px;
    height: auto;
    position: relative;
    top: -207px;
    left: 375px;
    padding: 30px;
}

.socials .igtext {
    float: left;
    margin: -190px 0px 0px -755px;
    font-size: 25px;
    font-weight: bold;
}

.socials .discord {
    position: relative;
    left: -750px;
    font-size: 25px;
    bottom: 5px;
}

.socials .discord:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    bottom: 199px;
    left: 826px;
    transform: translateX(-50%);
    width: 9px;
    height: 42px;
    background-color: rgb(0, 0, 0);
    pointer-events: pointer;
}

.socials img[src="dsc.png"] {
    width: 91px;
    height: auto;
    position: relative;
    top: -210px;
    left: 750px;
    padding: 30px;
}

.socials .dsctext {
    float: left;
    margin: -192px 0px 0px -6px;
    font-size: 30px;
    font-weight: bold;
}

.socials .Tiktok {
    position: relative;
    left: -750px;
    font-size: 25px;
    bottom: 5px;
}

.socials .Tiktok:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    bottom: 205px;
    left: 1205px;
    transform: translateX(-50%);
    width: 9px;
    height: 42px;
    background-color: rgb(0, 0, 0);
    pointer-events: pointer;
}

.socials img[src="tt-removebg-preview.png"] {
    width: 91px;
    height: auto;
    position: relative;
    top: -215px;
    left: 1130px;
    padding: 30px;
}

.socials .tttext {
    float: left;
    margin: -197px 0px 0px 739px;
    font-size: 25px;
    font-weight: bold;
}

.socials .Form {
    position: relative;
    left: -750px;
    font-size: 25px;
    bottom: 10px;
}

.socials .Form:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    bottom: 213px;
    left: 1573px;
    transform: translateX(-50%);
    width: 9px;
    height: 42px;
    background-color: rgb(0, 0, 0);
    pointer-events: pointer;
}

.socials img[src="otaznik-removebg-preview.png"] {
    width: 91px;
    height: auto;
    position: relative;
    top: -217px;
    left: 1497px;
    padding: 30px;
}

.socials .formtext {
    float: left;
    margin: -194px 0px 0px 1485px;
    font-size: 25px;
    font-weight: bold;
    white-space: nowrap;
}


/* --- SOCIÁLNÍ SÍTĚ - NOVÉ STYLY PRO MOBIL --- */
/* Tyto styly se aplikují na .socials-mobile, který je standardně skrytý */
.socials-mobile {
    background-color: #ffffffed;
    z-index: 2;
    color: rgb(0, 0, 0);
    display: none; /* Standardně skryté, zobrazí se jen na mobilu (přes media query) */
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    gap: 15px; /* Mezera mezi jednotlivými social-item */
}

.socials-mobile h1 {
    font-size: 45px;
    width: 100%;
    text-align: center;
    margin-bottom: 30px; /* Mezera pod nadpisem */
}

.social-item {
    display: flex; /* Pro ikonu a text vedle sebe */
    align-items: center;
    justify-content: flex-start; /* Zarovnat doleva v rámci položky */
    width: 90%; /* Půjde o celou šířku kontejneru */
    max-width: 300px; /* Omezit max šířku pro lepší vzhled */
    padding: 8px 12px; /* Snížen padding pro menší výšku */
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Vycentruje blok */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.social-item:hover {
    transform: translateY(-3px); /* Jemný efekt najetí */
}

.social-item img { /* Styly pro ikony UVNITŘ .social-item - JSOU ODLIŠNÉ OD PC VERZE */
    width: 35px; /* Zmenšena velikost ikon */
    height: 35px; /* Zmenšena velikost ikon */
    margin-right: 15px; /* Mezera mezi ikonou a textem */
    object-fit: contain; /* Zajistí, že se obrázek vejde do určených rozměrů */
    position: static; /* Důležité: zajistit, že ikony nemají absolutní/relativní pozicování */
    top: auto;
    left: auto;
    padding: 0; /* Žádný padding na samotné ikoně */
}

.social-item .social-text {
    font-size: 17px; /* Zmenšen font textu */
    font-weight: bold;
    color: #333;
    text-align: left;
    flex-grow: 1; /* Text zabere zbytek místa */
    margin: 0; /* Důležité: vynulovat marginy, aby se text neposouval */
    float: none; /* Důležité: odstranit float, aby fungoval flexbox */
}

.social-item .social-text a {
    color: inherit;
    text-decoration: none;
    display: block; /* Aby odkaz vyplnil celou oblast textu */
}

.social-item .social-text a:hover {
    color: #0096c8dc;
}

/* Styly pro menší telefony (pouze pro mobilní verzi sociálních sítí) */
@media (max-width: 480px) {
    .socials-mobile h1 {
        font-size: 35px;
        margin-bottom: 25px;
    }
    .social-item {
        max-width: 260px; /* Ještě menší max-width pro velmi malé obrazovky */
        padding: 6px 10px; /* Ještě menší padding */
    }
    .social-item img {
        width: 30px; /* Ještě menší ikony */
        height: 30px;
        margin-right: 10px;
    }
    .social-item .social-text {
        font-size: 15px; /* Ještě menší font textu */
    }
}


.recenze {
    background-color: #ffffffed;
    /* margin-bottom: -20px; - Vráceno na původní, pokud je potřeba */
    padding-bottom: 50px; /* Zajistí prostor pod recenzemi */
}

/* Původní styly pro .recenze .container a .card zůstávají pro desktop */
.recenze .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    margin: 20px 0px 0px -300px; /* Původní margin pro desktop */
}

.card {
    display: flex;
    align-items: center;
    width: 750px;
    max-width: 750px;
    border: 1px solid #ccc;
    border-radius: 13px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.009);
}

.card img {
    max-width: 100px;
    height: auto;
    border-radius: 20px;
    margin-right: 15px;
}

.card-content {
    flex: 1;
}

.card h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 40px;
}

.card p {
    font-size: 1.7em;
    font-weight: bold;
    color: #777;
    margin: 0;
}