* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f5f5, #eaeaea);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* BOX */
.welcome-box {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    max-width: 650px;
    width: 100%;
}

/* LOGO */
.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* SUBTITLE */
.subtitle h3 {
    font-size: 20px;
    color: #444;
    margin-bottom: 35px;
}

/* ICONS */
.icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.platform {
    position: relative;
    width: 80px;
    text-decoration: none;
    color: #777;
}

.icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon img {
    width: 32px;
    height: 32px;
}

.icon:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* COLORS */
.vinted { color: #09b1ba; }
.etsy { color: #f1641e; }
.facebook { color: #1877f2; }
.myshop { color: #7d2b2c; }

/* TOOLTIP */
.info {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 170px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.platform:hover .info {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.info .name {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.info .desc {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* FOOTER */
.footer-text {
    margin-top: 35px;
    font-size: 14px;
    color: #999;
}

/* 📱 RESPONSYWNOŚĆ */
@media (max-width: 600px) {
    .welcome-box {
        padding: 30px 20px;
    }

    .subtitle h3 {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .icons {
        gap: 25px;
    }

    .icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .footer-text {
        font-size: 13px;
    }
}


/* =====================
   ANIMACJE WEJŚCIA
===================== */

/* Główna karta */
.welcome-box {
    animation: boxEnter 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
}

@keyframes boxEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ikony – animacja kaskadowa */
.platform {
    opacity: 0;
    transform: translateY(20px);
    animation: iconEnter 0.6s ease-out forwards;
}

.platform:nth-child(1) { animation-delay: 0.3s; }
.platform:nth-child(2) { animation-delay: 0.45s; }
.platform:nth-child(3) { animation-delay: 0.6s; }
.platform:nth-child(4) { animation-delay: 0.75s; }

@keyframes iconEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer-text {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
