/* test9final/style.css – FajnAkce.fun úvodka před spuštěním
   Volnější verze: méně namačkané, menší logo, víc viditelné pozadí.
*/

:root {
    --pink: #ff2f98;
    --pink-strong: #ff1493;
    --purple: #6f008f;
    --purple-soft: #9d49ff;

    --text: #4f1452;
    --text-soft: #754777;

    --glass: rgba(255,255,255,0.46);
    --glass-strong: rgba(255,255,255,0.64);
    --line: rgba(255,255,255,0.54);

    --shadow-soft: 0 16px 46px rgba(88, 20, 92, 0.12);
    --shadow-pink: 0 16px 36px rgba(255,47,152,0.22);

    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff1f8;
    overflow: hidden;
}

/* ===== PAGE ===== */

.launch {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    padding: 38px 28px 126px;
    overflow: hidden;
}

/* ===== BACKGROUND ===== */

.background {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url("pozadib.png") center center / cover no-repeat;
    transform: scale(1.015);
}

/* Méně agresivní překrytí, aby šlo víc vidět tvoje pozadí */
.soft-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 52% 30%, rgba(255,255,255,0.18), transparent 30%),
        linear-gradient(90deg, rgba(255,245,250,0.28), rgba(255,245,250,0.08), rgba(255,245,250,0.30)),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,217,235,0.24));
    backdrop-filter: blur(0.15px);
}

.pink-mist {
    position: fixed;
    inset: auto 0 0 0;
    height: 36vh;
    z-index: 2;
    background:
        radial-gradient(circle at 50% 68%, rgba(255,47,152,0.14), transparent 46%),
        linear-gradient(180deg, transparent, rgba(255,178,216,0.22));
    pointer-events: none;
}

/* ===== CONTENT ===== */

.content {
    position: relative;
    z-index: 5;
    width: min(980px, 100%);
    text-align: center;
    padding: 0 18px;
    transform: translateY(-22px);
    animation: contentIn 0.7s ease both;
}

/* Menší logo + méně zabrané výšky */
.logo {
    width: min(430px, 70vw);
    max-height: 250px;
    object-fit: contain;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(79, 20, 82, 0.10));
}

h1 {
    margin: 0 0 10px;
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2.1rem, 3.45vw, 3.55rem);
    line-height: 1.02;
    color: var(--text);
    text-shadow: 0 10px 24px rgba(255,255,255,0.34);
}

.subtitle {
    max-width: 720px;
    margin: 0 auto 30px;
    color: var(--text);
    font-size: clamp(0.98rem, 1.12vw, 1.12rem);
    line-height: 1.6;
    font-weight: 800;
    text-shadow: 0 8px 22px rgba(255,255,255,0.45);
}

/* ===== COUNTDOWN ===== */

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1.2vw, 16px);
    margin: 0 auto 20px;
}

.time-box {
    width: clamp(96px, 9vw, 126px);
    min-height: clamp(92px, 8.6vw, 118px);
    display: grid;
    place-items: center;
    padding: 13px 10px;
    border-radius: 22px;
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.66);
    box-shadow: 0 14px 36px rgba(79,20,82,0.09);
    backdrop-filter: blur(13px);
    transition: var(--transition);
}

.time-box:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.68);
}

.time-box strong {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2.05rem, 3.25vw, 3.35rem);
    line-height: 0.85;
    background: linear-gradient(90deg, var(--pink), var(--purple-soft), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-box span {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.separator {
    color: var(--pink);
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.65rem, 2.5vw, 2.7rem);
    font-weight: 900;
    line-height: 1;
    transform: translateY(-2px);
}

.note {
    margin: 0 auto 20px;
    color: var(--text-soft);
    font-weight: 800;
    font-size: 0.92rem;
    text-shadow: 0 8px 20px rgba(255,255,255,0.5);
}

/* ===== MAIN BUTTON ===== */

.main-btn {
    min-height: 56px;
    min-width: min(290px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--purple-soft));
    color: #fff;
    text-decoration: none;
    font-size: 1.04rem;
    font-weight: 900;
    box-shadow: var(--shadow-pink);
    transition: var(--transition);
}

.main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(255,47,152,0.28);
}

/* ===== BOTTOM BAR ===== */

.bottom-bar {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 7;
    width: min(1220px, calc(100% - 70px));
    min-height: 66px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.52);
    box-shadow: 0 16px 46px rgba(79,20,82,0.10);
    backdrop-filter: blur(15px);
}

.socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-facebook {
    min-height: 42px;
    padding: 9px 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.50);
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.main-facebook span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple-soft));
    color: #fff;
    font-family: 'Baloo 2', cursive;
    font-size: 0.95rem;
    line-height: 1;
}

.main-facebook:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--pink), var(--purple-soft));
    color: #fff;
}

.bottom-center {
    text-align: center;
    color: var(--text);
    font-weight: 900;
}

.region-link {
    justify-self: end;
}

.region-link a {
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.50);
    transition: var(--transition);
}

.region-link a::before {
    content: "f";
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple-soft));
    color: #fff;
    font-family: 'Baloo 2', cursive;
    font-size: 0.95rem;
    line-height: 1;
}

.region-link a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple-soft));
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(-2px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(-22px) scale(1);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
    .content {
        transform: translateY(-8px);
    }

    @keyframes contentIn {
        from {
            opacity: 0;
            transform: translateY(10px) scale(0.985);
        }

        to {
            opacity: 1;
            transform: translateY(-8px) scale(1);
        }
    }
}

@media (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .launch {
        min-height: 100svh;
        padding: 24px 14px 150px;
        place-items: start center;
    }

    .content {
        padding-top: 8px;
        transform: none;
    }

    @keyframes contentIn {
        from {
            opacity: 0;
            transform: translateY(14px) scale(0.985);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .logo {
        width: min(410px, 88vw);
        max-height: 230px;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: min(420px, 100%);
        gap: 12px;
    }

    .separator {
        display: none;
    }

    .time-box {
        width: 100%;
    }

    .bottom-bar {
        grid-template-columns: 1fr;
        border-radius: 28px;
        text-align: center;
        bottom: 18px;
        width: min(560px, calc(100% - 28px));
        min-height: auto;
        padding: 16px;
    }

    .socials {
        justify-content: center;
    }

    .region-link {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .launch {
        padding-bottom: 190px;
    }

    .logo {
        width: min(360px, 96vw);
        margin-bottom: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .time-box {
        min-height: 94px;
        border-radius: 19px;
    }

    .time-box strong {
        font-size: 2.2rem;
    }

    .main-facebook,
    .region-link a {
        width: 100%;
        justify-content: center;
    }
}
