@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-BoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
}

.slc-landing {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
    line-height: 0;
    height: 100vh;
    background: #000;
}

.slc-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    max-width: unset !important;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slc-bg-image.slc-img-loaded {
    opacity: 1;
}

/* ── Ink loader overlay ── */
.slc-ink-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #9a1b5b;
    transition: opacity 0.6s ease;
}

.slc-ink-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(60, 10, 40, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 70% 60%, rgba(80, 15, 50, 0.7) 0%, transparent 65%),
        radial-gradient(ellipse 90% 50% at 50% 50%, rgba(40, 5, 30, 0.6) 0%, transparent 75%);
    animation: slc-ink-pulse 2s ease-in-out infinite;
}

.slc-ink-loaded {
    opacity: 0;
    pointer-events: none;
}

@keyframes slc-ink-pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
    33% {
        transform: scale(1.05) translate(2%, -1%);
        opacity: 1;
    }
    66% {
        transform: scale(0.97) translate(-1%, 2%);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
}

.slc-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.slc-social-links {
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.5vw;
    line-height: normal;
}

.slc-social-link {
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.slc-social-link:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.slc-social-links .slc-social-link img,
.slc-social-links .slc-social-link img.slc-social-icon {
    display: block !important;
    width: 5vw !important;
    height: 5vw !important;
    max-width: 70px !important;
    max-height: 70px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

.slc-counter {
    position: absolute;
    right: 11.5%;
    bottom: 6.5%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: normal;
}

.slc-counter-digits {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-wrap: nowrap;
}

.slc-digit {
    min-width: 3.75vw;
    height: 5.8vw;
    padding: 0 0.6vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2b21b;
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 3.5vw;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.slc-counter-label {
    margin-top: 0.6vw;
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.7vw;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    text-align: center;
}

.entry-content .slc-landing,
.site-main .slc-landing,
.content-area .slc-landing,
.wp-block-group .slc-landing {
    max-width: none !important;
}

.entry-content > .slc-landing:first-child,
.site-main > .slc-landing:first-child {
    margin-top: 0;
    margin-bottom: 0;
}

/* ── Mobile responsive styles ── */
@media (max-width: 768px) {
    .slc-bg-image {
        object-fit: cover;
    }

    .slc-counter {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 5%;
    }

    .slc-counter-digits {
        gap: 1vw;
    }

    .slc-digit {
        min-width: 8vw;
        height: 12vw;
        padding: 0 1.2vw;
        font-size: 7.5vw;
    }

    .slc-counter-label {
        font-size: 3.5vw;
        margin-top: 1.2vw;
    }

    .slc-social-links {
        top: auto;
        right: auto;
        bottom: 18%;
        left: 50%;
        transform: translateX(-50%);
        gap: 4vw;
    }

    .slc-social-links .slc-social-link img,
    .slc-social-links .slc-social-link img.slc-social-icon {
        width: 10vw !important;
        height: 10vw !important;
        max-width: 50px !important;
        max-height: 50px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
}
