/* 977 Events — Poster landing page */

:root {
    --poster-bg: #ccff00;
    --poster-black: #1a1a1a;
    --poster-orange: #ff6a1a;
    --poster-white: #ffffff;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--poster-bg);
    color: var(--poster-black);
    -webkit-font-smoothing: antialiased;
}

.poster-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 22px 16px 14px;
    text-align: center;
}

/* Logo */
.poster-logo {
    display: block;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    background: #ff3333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.poster-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Brush stroke banner */
.poster-banner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    max-width: 96vw;
    padding: 18px clamp(40px, 10vw, 90px);
    margin: 0 auto 20px;
    font-size: clamp(17px, 4.6vw, 30px);
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--poster-white);
    line-height: 1.12;
    background: var(--poster-black);
    mask-image: url("../images/poster/banner.svg");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("../images/poster/banner.svg");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
}

/* Social icons */
.poster-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.poster-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.poster-social:hover,
.poster-social:focus {
    transform: translateY(-3px) scale(1.08);
    color: #fff;
    text-decoration: none;
}

.poster-social.facebook { background: #1877f2; }
.poster-social.twitter { background: #1da1f2; }
.poster-social.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.poster-social.youtube { background: #ff0000; }
.poster-social.whatsapp { background: #25d366; }
.poster-social.tiktok { background: #000000; }
.poster-social.email { background: #10b981; }

.poster-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
}

/* Poster frame */
.poster-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 18px;
    background: var(--poster-orange);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    mask-image: url("../images/poster/frame-outer.svg");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("../images/poster/frame-outer.svg");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
}

.poster-frame-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #000000;
    overflow: hidden;
    mask-image: url("../images/poster/frame-inner.svg");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("../images/poster/frame-inner.svg");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
}

/* Poster slider */
.poster-slider {
    position: relative;
}

.poster-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.poster-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.poster-slide-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.poster-slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-slide-overlay {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    padding: 18px 16px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: #fff;
    text-align: center;
}

.poster-slide-title {
    font-size: clamp(22px, 5.5vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.poster-slide-subtitle {
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 500;
    margin: 0 0 12px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Countdown inside poster overlay */
.poster-slide-overlay .events-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    padding: 12px 14px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}

.poster-slide-overlay .events-countdown-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: var(--poster-bg);
}

.poster-slide-overlay .events-countdown-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(48px, 1fr));
    gap: 8px;
}

.poster-slide-overlay .events-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 8px 6px;
    border-radius: 8px;
    background: #fff;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.poster-slide-overlay .events-countdown-unit strong {
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.poster-slide-overlay .events-countdown-unit small {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: #444;
}

.poster-slide-overlay .events-countdown--live {
    background: rgba(204, 255, 0, 0.18);
    border-color: var(--poster-bg);
}

.poster-slide-overlay .events-countdown--live .events-countdown-label {
    color: #fff;
}

/* Slider dots */
.poster-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.poster-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #fff;
    padding: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.poster-slider-dot.active {
    background: #fff;
    transform: scale(1.15);
}

/* Buy Tickets button */
.poster-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    max-width: 92vw;
    padding: 20px 64px;
    margin: 0 auto 16px;
    font-size: clamp(24px, 6.4vw, 38px);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--poster-white);
    text-decoration: none;
    background: var(--poster-black);
    border: none;
    cursor: pointer;
    mask-image: url("../images/poster/button.svg");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("../images/poster/button.svg");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.poster-cta:hover,
.poster-cta:focus {
    color: var(--poster-white);
    text-decoration: none;
    transform: scale(1.03);
    filter: brightness(1.15);
}

/* Footer */
.poster-footer {
    margin-top: auto;
    padding-top: 8px;
}

.poster-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 10px;
    font-size: clamp(14px, 3.6vw, 18px);
    font-weight: 600;
}

.poster-footer-links a {
    color: var(--poster-black);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.poster-footer-links a:hover,
.poster-footer-links a:focus {
    text-decoration: underline;
    opacity: 0.8;
}

.poster-copyright {
    font-size: clamp(13px, 3.2vw, 16px);
    font-weight: 600;
    margin: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .poster-social,
    .poster-cta,
    .poster-slide {
        transition: none;
    }
}

/* Small screens */
@media (max-width: 360px) {
    .poster-logo {
        width: 105px;
        height: 105px;
    }

    .poster-social {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .poster-banner {
        padding: 14px 30px;
    }
}
