@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(120deg, #1a1333 0%, #3a1c71 50%, #9f53ff 100%);
    background-size: 200% 200%;
    animation: gradientMove 8s ease-in-out infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.container {
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    max-width: 370px;
    border-radius: 18px;
    background: rgba(20, 15, 40, 0.60);
    box-shadow: 0 6px 32px 0 #9f53ff22, 0 1.5px 8px 0 #9f53ff33;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo {
    max-width: 70px;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    box-shadow: 0 0 16px #9f53ff33;
}
.language-switcher {
    margin-bottom: 1.1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.main-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.7rem;
}
.countdown-section {
    margin: 0.2rem 0 0.5rem 0;
    gap: 0.08rem;
}
.countdown-label {
    font-size: 0.92rem;
    margin-bottom: 0.05rem;
    color: #bdaaff;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.countdown-timer {
    font-size: 1.05rem;
    min-width: 90px;
    padding: 0.13em 0.5em;
    gap: 0.3rem;
    border-radius: 7px;
    margin-bottom: 0.05rem;
    margin-top: 0.05rem;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 0 16px #fff6, 0 0 8px #9f53ff33;
    border: 1.5px solid #e0d7ff;
    color: #3a1c71;
}
.countdown-timer span {
    min-width: 1.2ch;
    font-size: 1em;
    border-radius: 3px;
    padding: 0.02em 0.08em;
    background: linear-gradient(90deg, #f3eaff 0%, #e0d7ff 100%);
    color: #3a1c71;
    box-shadow: 0 0 6px #fff4;
}
h1 {
    font-size: 1.13rem;
    margin-bottom: 0.35rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px #9f53ff22;
}
.divider {
    width: 80%;
    border: none;
    border-top: 1px solid #9f53ff22;
    margin: 0.7rem 0 0.7rem 0;
}
.desc-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
p {
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
    color: #d1c4e9;
    text-align: center;
    text-shadow: 0 1px 6px #9f53ff11;
}
@media (max-width: 600px) {
    .container {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
        max-width: 98vw;
    }
    .logo {
        max-width: 44px;
    }
    h1 {
        font-size: 0.92rem;
    }
    .countdown-timer {
        font-size: 0.7rem;
        min-width: 40px;
        padding: 0.03em 0.1em;
    }
    p {
        font-size: 0.7rem;
    }
}

.lang-btn {
    background: #1a1333;
    border: 2px solid transparent;
    background: linear-gradient(#1a1333, #1a1333) padding-box,
                linear-gradient(90deg, #9f53ff, #3a1c71, #9f53ff) border-box;
    color: #9f53ff;
    padding: 0.5rem 1.2rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 7px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0px #9f53ff;
}
.lang-btn.active, .lang-btn:hover {
    background: linear-gradient(#9f53ff, #9f53ff) padding-box,
                linear-gradient(90deg, #9f53ff, #fff, #9f53ff) border-box;
    color: #fff;
    box-shadow: 0 0 18px #9f53ffcc, 0 0 2px #fff;
    border: 2px solid transparent;
}
.lang-btn:active {
    transform: scale(0.96);
    box-shadow: 0 0 18px #9f53ffcc;
}

.lang-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    top: 110%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 0.2em 0.7em;
    border-radius: 5px;
    font-size: 0.9em;
    white-space: nowrap;
    opacity: 0.95;
    pointer-events: none;
    z-index: 10;
}

.coming-soon, .description {
    display: none;
}

.coming-soon[data-lang="pl"].show, .description[data-lang="pl"].show,
.coming-soon[data-lang="en"].show, .description[data-lang="en"].show,
.coming-soon[data-lang="de"].show, .description[data-lang="de"].show {
    display: block;
    animation: fadeInText 0.7s;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade {
    opacity: 0;
    transition: opacity 0.4s;
}
.fade.show {
    opacity: 1;
} 