/* ==========================================================================
   DESKTOP-ONLY STYLES
   Desktop version CSS - Mobile has separate mobile-style.css
   ========================================================================== */

/* Basic CSS Reset (místo importu reset.css) */
* {
    margin: 0;
    padding: 0;
}

html, body, div, span, h1, h2, h3, p, a, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

ul {
    list-style: none;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Rokkitt', serif;
    font-weight: 500;
    color: #333;
    font-size: 17px;
    margin: 0;
    padding: 20px;
    text-align: center;
    background: #000;
    width: 100%;
    min-height: 100vh;
}

a {
    color: #409f89;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: #d1be15;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

.clear {
    clear: both;
    height: 1px;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

#loger {
    text-align: center;
    margin-bottom: 20px;
}

#loger img {
    max-width: 200px;
}

/* ==========================================================================
   MAIN LAYOUT - Desktop
   ========================================================================== */

#content {
    max-width: 1600px;
    margin: 0 auto;
}

/* Top banner wrapper */
.top-banner-wrapper {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Main flexbox row - pilots on sides, content in center */
.main-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    margin-top: -20px;
}

/* Pilots - on sides */
.pilot-left,
.pilot-right {
    flex: 0 0 473px;     /* +35% celkem (bylo 350px) */
    width: 473px;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;           /* Zaoblené rohy */
    box-shadow: 0 4px 12px rgba(255, 223, 27, 0.2);  /* Jemná záře (původní mobile) */
    /* Border odstraněn */
}

.pilot-left img,
.pilot-right img {
    width: 110%;         /* Zvětšeno o 15% (bylo 95%) */
    height: 100%;
    object-fit: contain; /* Změna z cover na contain - zobrazí celý obrázek */
    margin: 0 auto;      /* Vycentrování */
}

.pilot-left img {
    object-position: center center;  /* Vycentrováno */
}

.pilot-right img {
    object-position: center center;  /* Vycentrováno */
}

/* Center section */
.center-section {
    flex: 0 1 600px;
    max-width: 600px;
}

/* Hide mobile pilots on desktop (they're in linky.php) */
.mobile-pilots-row {
    display: none !important;
}

/* ==========================================================================
   NOTICE BANNER
   ========================================================================== */

#notice {
    display: block;
    font-size: 18px;
    color: #ffdf1b;
    margin: 0 auto 20px;
}

.textpad {
    display: block;
}

.textpad img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   EVENT INFO BOX
   ========================================================================== */

.soccer_center {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.soccer_center h1 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    color: #ffdf1b;
    line-height: 1.3;
    margin-bottom: 10px;
}

.soccer_center h1 a {
    color: #ffdf1b;
}

.soccer_center a:hover h1 {
    text-decoration: underline;
    color: #d1be15;
}

/* ==========================================================================
   MIDDLE BANNER
   ========================================================================== */

.banner_center {
    margin: 20px auto;
    text-align: center;
}

.banner_center img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   FLAGS SECTION
   ========================================================================== */

.flagshomepage {
    text-align: center;
    margin: 30px 0;
}

.flagshomepage ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.flagshomepage ul li {
    display: inline-block;
}

.flagshomepage a li {
    background: url('/img/flags/vlajky-sprite.png') no-repeat;
    width: 20px;
    height: 15px;
}

/* Flag sprites */
#ba { background-position: 0 0; }
#bg { background-position: -66px 0; }
#cz { background-position: -132px 0; }
#de { background-position: -198px 0; }
#dk { background-position: -264px 0; }
#es { background-position: -330px 0; }
#fi { background-position: -396px 0; }
#gb { background-position: -462px 0; }
#gr { background-position: -528px 0; }
#hr { background-position: -594px 0; }
#hu { background-position: -660px 0; }
#it { background-position: -726px 0; }
#no { background-position: -792px 0; }
#pl { background-position: -858px 0; }
#pt { background-position: -924px 0; }
#ro { background-position: -990px 0; }
#rs { background-position: -1056px 0; }
#se { background-position: -1122px 0; }
#vn { background-position: -1188px 0; }

/* ==========================================================================
   BOTTOM TEXT / 18+ SECTION
   ========================================================================== */

.available {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    color: #ffdf1b;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px auto;
    text-align: center;
}

.available a {
    color: #409f89;
}

.available a:hover {
    color: #d1be15;
}

.available img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    height: 20px;
    width: auto;
}

.spacer {
    height: 30px;
}

/* ==========================================================================
   AD DETECTION
   ========================================================================== */

#advertisement {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE - TABLET & SMALLER DESKTOP (NOT MOBILE)
   Mobile devices use mobile-style.css via router
   ========================================================================== */

/* Tablet landscape / smaller desktop (≤1200px) */
@media screen and (max-width: 1200px) {
    .main-row {
        gap: 20px;
    }
    
    .pilot-left,
    .pilot-right {
        width: 378px;        /* +35% celkem (bylo 280px) */
    }
    
    .pilot-left img,
    .pilot-right img {
        width: 110%;         /* Zvětšeno o 15% (bylo 95%) */
        object-fit: contain;
    }
}

/* Small desktop / large tablet (≤900px) */
@media screen and (max-width: 900px) {
    .pilot-left,
    .pilot-right {
        width: 297px;        /* +35% celkem (bylo 220px) */
        height: 380px;
    }
    
    .pilot-left img,
    .pilot-right img {
        width: 110%;         /* Zvětšeno o 15% (bylo 95%) */
        object-fit: contain;
    }
    
    .center-section {
        max-width: 500px;
    }
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

span.reverse {
    unicode-bidi: bidi-override;
    direction: rtl;
}