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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #5dade2, #87CEEB, #a9cce3);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    z-index: 10;
    position: relative;
}

.magic-word {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: magicAppear 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.5s forwards, 
               fadeOutSimple 0.8s ease-out 3.5s forwards;
    position: relative;
    display: inline-block;
}

@keyframes magicAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes fadeOutSimple {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.but-word {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    animation: fadeInUpCenter 0.8s ease-out 4.3s forwards,
               fadeOut 0.8s ease-out 6.5s forwards;
}

@keyframes fadeInUpCenter {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sale-info {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    animation: fadeIn 1s ease-out 7.3s forwards;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.sale-info .website {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    padding: 0 1rem;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
}

.sale-info .contact {
    font-size: 0.65rem;
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0 1rem;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleAnimation 1s ease-out forwards;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff;
}

@keyframes sparkleAnimation {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Floating particles in background */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .magic-word {
        font-size: 6rem;
    }
    .but-word {
        font-size: 6rem;
    }
    .sale-info .website {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    .sale-info .contact {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Medium duck for tablet */
    .duck-logo {
        width: 280px;
    }
}

/* Duck logo positioning - Mobile first */
.duck-logo {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 200px;
    height: auto;
    z-index: 100;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.duck-logo:hover {
    opacity: 1;
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .magic-word {
        font-size: 10rem;
    }
    .but-word {
        font-size: 10rem;
    }
    .sale-info .website {
        font-size: 1.5rem;
        white-space: nowrap;
        padding: 0;
    }
    .sale-info .contact {
        font-size: 1.1rem;
        white-space: nowrap;
        padding: 0;
    }
    
    /* Larger duck for desktop */
    .duck-logo {
        width: 380px;
    }
}

