/* ========================================= */
/* RESET */
/* ========================================= */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:#000;
    color:#8d8d8d;

    font-family:Arial,Helvetica,sans-serif;

}

/* ========================================= */
/* HEADER */
/* ========================================= */

header{

    position:fixed;

    top:0;
    left:0;
    width:100%;

    height:90px;

    background:#000;

    border-bottom:1px solid #222;

    z-index:1000;

}

.header-inner{

    max-width:1400px;

    margin:auto;

    height:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 30px;

}

.logo{

    height:60px;
    width:auto;
    display:block;

}

/* ========================================= */
/* MENU */
/* ========================================= */

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav a{

    color:#cc0000;

    text-decoration:none;

    font-size:16px;

    font-weight:bold;

    transition:.25s;

}

nav a:hover{

    color:#ffffff;

}

nav a.active{

    color:#ffffff;

}

/* ========================================= */
/* LAYOUT */
/* ========================================= */

.page{

    max-width:1400px;

    margin:auto;

    display:flex;

    gap:40px;

    padding-top:120px;

}

/* ========================================= */
/* CONTENT */
/* ========================================= */

main{

    width:calc(100% - 330px);

    padding:30px;

    line-height:1.8;

}

main h1{

    color:#ffffff;

    margin-bottom:30px;

}

main h2{

    color:#cc0000;

    margin-top:40px;

    margin-bottom:15px;

}

main p{

    margin-bottom:25px;

}

/* ========================================= */
/* SIDEBAR */
/* ========================================= */

aside{

    position:fixed;

    right:max(20px, calc((100vw - 1400px)/2));

    top:120px;

    width:260px;

}

aside h3{

    color:#ffffff;

    margin-bottom:20px;

}

aside ul{

    list-style:none;

}

aside li{

    margin-bottom:12px;

}

aside a{

    color:#cc0000;

    text-decoration:none;

    transition:.25s;

}

aside a:hover{

    color:#ffffff;

}

.banner{

    width:100%;

    display:block;

    margin-bottom:20px;

    border:0px solid #222;

}

/* ========================================= */
/* IMAGES */
/* ========================================= */

img{

    max-width:100%;

}

/* ========================================= */
/* LINKS */
/* ========================================= */

a{

    transition:.25s;

}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width:1100px){

    .page{

        display:block;

    }

    main{

        width:100%;

        padding:25px;

    }

    aside{

        position:relative;

        top:auto;

        right:auto;

        width:auto;

        padding:25px;

    }

}

@media (max-width:768px){

    header{

        height:auto;

    }

    .header-inner{

        flex-direction:column;

        padding:20px;

    }

    .logo{

        width:220px;

        margin-bottom:20px;

    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .page{

        padding-top:170px;

    }

    main{

        padding:20px;

    }

    aside{

        padding:20px;

    }

}

/* ========================================= */
/* SCROLLBAR */
/* ========================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#444;

}

::-webkit-scrollbar-thumb:hover{

    background:#666;

}

/* ===========================================
   AGE VERIFICATION
=========================================== */

#age-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:5000;

}

#age-box{

    width:90%;

    max-width:520px;

    background:#111;

    border:2px solid #cc0000;

    padding:35px;

    text-align:center;

    color:#ddd;

}

#age-box h1{

    color:#fff;

    margin-bottom:25px;

}

#age-box p{

    margin-bottom:18px;

}

#age-box ul{

    text-align:left;

    margin:25px auto;

    width:85%;

}

#age-box li{

    margin-bottom:10px;

}

#age-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:30px;

}

#age-buttons button{

    background:#cc0000;

    color:white;

    border:none;

    padding:12px 30px;

    font-size:15px;

    cursor:pointer;

    transition:.25s;

}

#age-buttons button:hover{

    background:#ff0000;

}




/* ===========================================
   TRAILERS
=========================================== */

#trailer-list{

    display:block;

}


/*

#trailer-list{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(420px,1fr));

    gap:30px;

    margin-top:40px;
	
*/
/*
	
	#trailer-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

    margin-top:30px;

	}
	
	@media (max-width:900px){

    #trailer-list{

        grid-template-columns:1fr;

    }

	}
*/


.trailer{

    background:#111;

    border:1px solid #222;

    padding:15px;

    transition:.25s;

}

.trailer:hover{

    border-color:#cc0000;

}

.trailer img{

    width:100%;

    display:block;

}

.trailer h2{

    color:#ddd;

    font-size:18px;

    text-align:center;

    margin-top:15px;

}

/* Odkazy v trailerech */

.trailer a:not(.buy-button) {

    color: #dd0000;

    text-decoration: none;

    transition: color .2s;

}

.trailer a:not(.buy-button):hover {

    color: #ffffff;

    text-decoration: underline;

}


/* ===========================================
   BUY BUTTON
=========================================== */

.buy-button{

    display:inline-block;

    margin:15px 0 25px;

    padding:12px 28px;

    background:#dd0000;

    color:#ddd;

    font-weight:bold;

    text-decoration:none;

    border-radius:4px;

    transition:.25s;

    text-transform:uppercase;

    letter-spacing:.5px;

	box-shadow:0 0 8px rgba(221,0,0,.35);

}

.buy-button:hover{

    background:#ffffff;

    color:#000;
	
	box-shadow:0 0 14px rgba(255,255,255,.35);

}


/* ===========================================
   GALLERY
=========================================== */

#gallery{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:6px;

    margin-top:30px;

}

.gallery-item{

    position:relative;

    aspect-ratio:1 / 1;

    overflow:hidden;

    background:#111;

    border-radius:6px;

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .25s ease;

    display:block;

}

.gallery-item:hover img{

    transform:scale(1.05);

}

@media (max-width:900px){

    #gallery{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:600px){

    #gallery{

        grid-template-columns:1fr;

    }

}


/* ===========================================
   LIGHTBOX
=========================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.96);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

#lightbox img{

    max-width:min(90vw,1024px);
    max-height:min(90vh,1024px);

    width:auto;
    height:auto;

    object-fit:contain;

    display:block;

    box-shadow:0 0 35px rgba(0,0,0,.7);

}

#lightbox-close{

    position:absolute;

    top:20px;

    right:35px;

    color:white;

    font-size:42px;

    cursor:pointer;

}

#lightbox-prev,
#lightbox-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    color:white;

    font-size:60px;

    cursor:pointer;

    user-select:none;

    padding:20px;

}

#lightbox-prev{

    left:20px;

}

#lightbox-next{

    right:20px;

}


/* ===========================================
   PAGINATION
=========================================== */

#pagination{

    display:flex;

    justify-content:space-between;

    margin:50px 0;

}

#pagination a{

    background:#111;

    border:1px solid #333;

    color:#cc0000;

    padding:12px 24px;

    text-decoration:none;

    transition:.25s;

}

#pagination a:hover{

    background:#cc0000;

    color:#000;

}
/* ===========================================
   REDGIFS
=========================================== */

.video-wrapper{

    position:relative;

    width:100%;

    padding-bottom:56.25%;

    margin:25px 0;

    overflow:hidden;

    background:#000;

}

.video-wrapper iframe{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    border:none;

}