@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@400..900&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: Cinzel;
    background-color: #3481da;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(index_bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Navbar --- */
.navbar {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Logo a název firmy (Methesda) */
.nav-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 30px;
    width: auto;
}

/* Navbar odkazy */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #49B6B6;
}

/* --- Hlavička/Landing page --- */
header {
    background-image: url(img/bg01.jpg);
    background-size: cover;
    color: white;
    padding-left: 10%;
}

/* Podtitulek, který je ale nad hlavním titulkem (název hry) */
header p {
    padding-top: 22%;
    margin-bottom: 0;
    font-size: 1.75rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

/* Titulek (název DLC) */
header h1 {
    padding-bottom: 18%;
    margin-top: 0;
    font-size: 7.5rem;
    text-shadow: 
        2px 2px 4px black, 
        0px 10px 20px rgba(0,0,0,0.8),
        0px 20px 40px rgba(0,0,0,0.8),
        0px 0px 30px rgba(5, 15, 15, 0.4); 
    font-weight: 500;
}

/* --- Informační pruh, rozbíjí jednolitost webu --- */
.info-strip {
    background-color: rgb(30, 102, 210);
    text-align: center;
    padding: 12px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.info-strip p {
    color: whitesmoke;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Sekce "content", dva obrázky a dva odstavce textu --- */
.content-section {
    color: white;
    width: 92%;
    max-width: 1450px;
    margin: 3rem auto;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
}

/* Text nalevo a obrázek napravo. (reverse = obráceně) */
.content-section.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-top: 0;
    letter-spacing: 2px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Styl obrázků a jejich velikost */
.content-image {
    width: 63%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* --- Logo nového DLC a odpočet do vydání --- */
.countdown-section {
    background: rgba(0, 0, 0, 0.253);
    color: white;
    width: 92%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Styl loga a jeho velikost */
.countdown-image {
    max-height: 400px;
    border-radius: 8px;
    object-fit: cover;
    margin-left: 4%;
}

.timer-content {
    flex: 1;
    text-align: center;
}

.timer-content h2 {
    font-size: 2.5rem;
    margin-top: 0;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.time-box span {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    display: block;
    color: white;
    line-height: 1;
}

.time-box p {
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.75rem;
}

/* --- Platformy --- */
.platforms-section {
    color: white;
    width: 92%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    backdrop-filter: blur(5px);
    text-align: center;
}

.platforms-section h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.platform-text {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-text span {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.platform-text span:hover {
    color: #49B6B6;
    border-color: #49B6B6;
    background: rgba(73, 182, 182, 0.1);
    transform: translateY(-3px);
}

/* --- Steam Wishlist odkaz (snažil jsem se to udělat do barev Steamu) --- */
.wishlist-section {
    color: white;
    width: 92%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    text-align: center;
}

.wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #1b2838, #2a475e);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid #66c0f4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.wishlist-btn i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.wishlist-btn:hover {
    background: linear-gradient(to right, #2a475e, #66c0f4);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 192, 244, 0.4);
}

/* --- Patička, kontakty a sociílní sítě --- */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    box-sizing: border-box; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-links a {
    color: white;
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-links a:hover {
    color: rgb(210, 168, 30);
    transform: scale(1.2);
}

/* --- Responzivita ---*/
@media (max-width: 900px) {
    .content-section, 
    .content-section.reverse, 
    .countdown-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1.5rem;
    }

    .content-image {
        width: 100%;
    }

    .countdown-image {
        width: 100%;
        max-height: 300px;
        margin-left: 0;
    }

    header h1 {
        font-size: 4rem;
        padding-bottom: 15%;
    }

    header p {
        font-size: 1.3rem;
        padding-top: 35%;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-box {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }

    .time-box span {
        font-size: 2rem;
    }

    .platforms-section h2, 
    .countdown-section h2, 
    .content-section h2 {
        font-size: 2rem;
    }
    
    .wishlist-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    header h1 {
        font-size: 3rem;
        padding-left: 0;
        text-align: center;
    }
    
    header p {
        padding-left: 0;
        text-align: center;
    }
}