.pig-block {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 24px;
    /* background: linear-gradient(135deg, rgba(11, 9, 19, 0.97), rgba(23, 18, 37, 0.94)); */
    /* border: 1px dashed rgb(46 40 72); */
    /* box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45); */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 260px;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.pig-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
}

.pig-block__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 205, 96, 0.18), transparent 28%), radial-gradient(circle at 80% 20%, rgb(219 149 61), transparent 28%), radial-gradient(circle at 50% 90%, rgba(112, 181, 255, 0.16), transparent 35%), linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    z-index: 0;
}

.pig-block__character {
    position: absolute;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.36));
}

.pig-block__character--left {
    left: 0;
    width: min(30vw, 2115px);
    transform: translateX(-10%);
}

.pig-block__character--right {
    right: 0;
    width: min(30vw, 2115px);
    transform: translateX(10%);
}

.pig-block__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    max-width: 720px;
    text-align: center;
}

.pig-block__eyebrow {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.pig-block h3 {
    margin: 0;
    color: #cf905b;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(23deg, #86502300 0%, #da925657 55%);
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pig-block__season {
        color: #FF5252;
    filter: drop-shadow(0px 4px 5px #FF52525e);

    font-size: 20px;
    font-weight: 800;
}

.pig-block__status {
    color: #d8d7df;
    font-size: 14px;
    line-height: 1.6;
}

.pig-block__timer_wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.pig-block__timer_label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    /* letter-spacing: 1px; */
    text-transform: uppercase;
}

.pig-block__timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pig-block__time {
    min-width: 74px;
}

.pig-block__digit {
    /* position: relative; */
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(205, 151, 18, 0.45);
    border-radius: 16px;
    background: linear-gradient(23deg, #865023 0%, #da9256 55%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 -8px 0 rgba(112, 68, 0, 0.18);
    color: #ffffff;
    font-size: 50px;
    /* font-weight: 900; */
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 240, 188, 0.35);
    font-variant-numeric: tabular-nums;
    font-family: Arial, sans-serif;
}

/*.pig-block__split-line {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 1px);
    height: 2px;
    background: rgba(77, 46, 0, 0.55);
    box-shadow: 0 1px 0 rgba(255, 224, 138, 0.3);
}*/

.pig-block__time span {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    text-align: center;
    padding: 0 8px 8px;
}

.pig-sticker {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.82;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: pigFloat 3s infinite ease-in-out;
    z-index: 1;
    --rotate: -15deg;
}

.pig-block:hover .pig-sticker {
    opacity: 1;
}

.pig-sticker:hover {
    transform: scale(1.1);
    opacity: 1;
}

.pig-sticker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5)) brightness(1.1);
    border-radius: 10px;
    transform: rotate(var(--rotate));
}

@keyframes pigFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.pig-sticker:nth-child(4) {left: 10%;top: 10%;--rotate: -10deg;animation-delay: 0s;}
.pig-sticker:nth-child(5) {right: 10%;top: 10%;--rotate: 10deg;animation-delay: 0.5s;}
.pig-sticker:nth-child(6) { left: 15%; bottom: 10%; --rotate: 15deg; animation-delay: 1s; }
.pig-sticker:nth-child(7) { right: 15%; bottom: 10%; --rotate: -15deg; animation-delay: 1.5s; }
.pig-sticker:nth-child(8) { left: 25%; top: 30%; --rotate: -20deg; animation-delay: 2s; }
.pig-sticker:nth-child(9) { right: 25%; top: 30%; --rotate: 20deg; animation-delay: 2.5s; }

@media (max-width: 860px) {
    .pig-block {
        min-height: 300px;
        padding: 22px 18px;
    }

    .pig-block__character--left {
        width: min(22vw, 170px);
        transform: translateX(-12%);
    }

    .pig-block__character--right {
        width: min(20vw, 156px);
        transform: translateX(12%);
    }

    .pig-block h3 {
        font-size: 28px;
        letter-spacing: 2px;
        padding: 12px 20px;
    }

    .pig-block__season {
        font-size: 18px;
    }

    .pig-block__digit {
        height: 78px;
        font-size: 50px;
    }

    .pig-sticker {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 580px) {
    .pig-block {
        min-height: 320px;
    }

    .pig-block__character {
        display: none;
    }

    .pig-block__content {
        max-width: 100%;
    }

    .pig-block h3 {
        font-size: 23px;
        letter-spacing: 1.5px;
    }

    .pig-block__timer {
        gap: 8px;
    }

    .pig-block__time {
        min-width: 62px;
    }

    .pig-block__digit {
        height: 74px;
        font-size: 44px;
    }

    .pig-block__time span {
        font-size: 9px;
    }

    .pig-sticker:nth-child(8),
    .pig-sticker:nth-child(9) {
        display: none;
    }
}
