/* Halloween Disco Poster - Mobile First Design */

/* Font Faces */
@font-face {
    font-family: 'TAY Birdie';
    src: url('../../../fonts/TAYBirdie.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mamoth';
    src: url('../../../fonts/Mamoth.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'TAY Birdie', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #00C3FF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-x: hidden;
}

.poster-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Static Figure */
.static-figure {
    position: absolute;
    width: 600px;
    height: 900px;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.static-figure img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.figure-body {
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.figure-eye-left {
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    opacity: 1;
    width: 7.5%;
    height: 7.5%;
    left: 35%;
    top: 25%;
    transform: translate(-50%, -50%);
    animation: eyes-pulse 2s ease-in-out infinite alternate;
}

.figure-eye-right {
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    opacity: 1;
    width: 7.5%;
    height: 7.5%;
    left: 65%;
    top: 25%;
    transform: translate(-50%, -50%);
    animation: eyes-pulse 2s ease-in-out infinite alternate;
}

.figure-mouth {
    z-index: 3;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
    opacity: 1;
    width: 20%;
    height: 15%;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    animation: mouth-pulse 2.5s ease-in-out infinite alternate;
}

@keyframes dance {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-3deg) scale(1.02);
    }
    50% {
        transform: translateY(0) rotate(0deg) scale(0.98);
    }
    75% {
        transform: translateY(-10px) rotate(3deg) scale(1.02);
    }
}



/* Event Info */
.info-date,
.info-time,
.info-location,
.info-dj {
    position: absolute;
    font-family: 'TAY Birdie', Arial, sans-serif;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.19px;
    color: white;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

.info-date {
    left: calc(50% - 101px);
    top: calc(50% - 384px);
    transform: translateX(-50%);
    text-align: center;
}

.info-time {
    left: calc(50% - 174px);
    top: calc(50% - 362px);
}

.info-location {
    left: calc(50% + 86px);
    top: calc(50% - 384px);
    transform: translateX(-50%);
    text-align: center;
}

.info-dj {
    left: calc(50% + 76px);
    top: calc(50% - 362px);
    transform: translateX(-50%);
    text-align: center;
}

/* Main Title */
.title-halloween {
    position: absolute;
    top: 590px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Mamoth', Georgia, serif;
    font-size: 72px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8),
                 0px 0px 40px rgba(255, 255, 255, 0.6),
                 0px 0px 60px rgba(255, 255, 255, 0.4),
                 0px 19px 94px rgba(0, 0, 0, 0.1);
    z-index: 6;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.title-disco {
    position: absolute;
    top: 650px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Mamoth', Georgia, serif;
    font-size: 124px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.9),
                 0px 0px 60px rgba(255, 255, 255, 0.7),
                 0px 0px 90px rgba(255, 255, 255, 0.5),
                 0px 32px 162px rgba(0, 0, 0, 0.1);
    z-index: 6;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

/* RSVP Link */
.rsvp-link {
    position: absolute;
    top: 560px;
    left: calc(50% + 145.645px);
    transform: translateX(-50%);
    font-family: 'TAY Birdie', Arial, sans-serif;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.19px;
    color: white;
    text-align: center;
    white-space: nowrap;
    z-index: 7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.rsvp-link:hover {
    opacity: 0.8;
}

/* Footer */
.footer-text {
    position: absolute;
    top: 560px;
    left: calc(50% - 79.743px);
    transform: translateX(-50%);
    font-family: 'TAY Birdie', Arial, sans-serif;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.19px;
    color: white;
    text-align: left;
    white-space: nowrap;
    z-index: 7;
}

/* Tablet & Larger Mobile (min-width: 480px) */
@media (min-width: 480px) {
    .dancing-figure {
        width: 160px;
        height: 240px;
    }

    .figure-left {
        left: -50px;
    }

    .figure-right {
        right: -50px;
    }

    .event-info {
        font-size: 16px;
        line-height: 32px;
    }

    .title-halloween {
        font-size: 70px;
    }

    .title-disco {
        font-size: 125px;
    }

    .footer-text {
        font-size: 18px;
    }
}

/* Desktop (min-width: 768px) */
@media (min-width: 768px) {
    .dancing-figure {
        width: 200px;
        height: 300px;
    }

    .figure-left {
        left: -60px;
    }

    .figure-right {
        right: -60px;
    }

    .event-info {
        font-size: 18px;
        line-height: 36px;
    }

    .title-halloween {
        font-size: 80px;
    }

    .title-disco {
        font-size: 145px;
    }

    .footer-text {
        font-size: 20px;
    }
}

/* Large Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
    .dancing-figure {
        width: 240px;
        height: 350px;
    }

    .figure-left {
        left: -80px;
    }

    .figure-right {
        right: -80px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .poster-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .dancing-figure {
        animation: none;
    }
}

/* Pulse Animation for Eyes and Mouth */
/* Eyes Animation - Blink and glow */
@keyframes eyes-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    }
    100% {
        transform: translate(-50%, -50%) scale(0.4);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
    }
}

/* Mouth Animation - Different timing and scale */
@keyframes mouth-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.95));
    }
}
