* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Insaniburger';
}

@font-face {
    font-family: 'Insaniburger';
    src: url('Insanibu.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-size: clamp(24px, 5vw, 36px);
    /* Responsive font sizing */
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 25px;
    padding-top: clamp(80px, 15vw, 120px);
    /* Responsive padding */
    color: #553096;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: 'Insaniburger', sans-serif;
    position: relative;

    /* Text outline effect */
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

h1::before {
    content: '';
    display: block;
    width: clamp(80px, 20vw, 120px);
    /* Responsive width */
    height: 4px;
    background: linear-gradient(90deg, transparent, #6638aa, transparent);
    margin: 0 auto 15px;
    border-radius: 2px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    h1 {
        letter-spacing: 1px;
        margin-bottom: 20px;
        /* More pronounced outline for smaller screens */
        text-shadow:
            -0.5px -0.5px 0 #fff,
            0.5px -0.5px 0 #fff,
            -0.5px 0.5px 0 #fff,
            0.5px 0.5px 0 #fff;
    }
}

body {
    color: #4a4a4a;
    font-family: 'Insaniburger';
    font-size: 16px;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    padding-bottom: 25px;
    width: 1400px;
    margin: 20px auto;
    columns: 4;
    column-gap: 20px;
}

.container .box {
    width: 100%;
    margin-bottom: 10px;
    break-inside: avoid;
    transition: transform 0.3s ease;
}

.container .box:hover {
    transform: translateY(-5px);
}

.container .box img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1300px) {
    .container {
        width: calc(100% - 40px);
        columns: 3;
    }

    h1 {
        padding-top: 90px !important;
    }

    .navbar {
        height: 50px !important;
        flex-direction: column;
        align-items: center;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .navbar-logo img {
        max-width: 138px !important;
        height: 70px !important;
    }

    .navbar-logo {
        text-align: center !important;
    }

    .footer {
        padding: 20px;
        bottom: -20px !important;
    }
}

@media (max-width: 768px) {
    .container {
        columns: 2;
        column-gap: 5px;
    }

    h1 {
        padding-top: 90px !important;
    }

    .navbar {
        height: 50px !important;
        flex-direction: column;
        align-items: center;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .navbar-logo img {
        max-width: 138px !important;
        height: 70px !important;
    }

    .navbar-logo {
        text-align: center !important;
    }

    .footer {
        padding: 20px;
        bottom: -20px !important;
    }
}

@media (max-width:480) {
    .container {
        columns: 1;
        column-gap: 5px;
    }

    h1 {
        padding-top: 90px !important;
    }

    .navbar {
        height: 50px !important;
        flex-direction: column;
        align-items: center;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .navbar-logo img {
        max-width: 138px !important;
        height: 70px !important;
    }

    .navbar-logo {
        text-align: center !important;
    }

    .footer {
        padding: 10px;
        bottom: -20px !important;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #5a2d9e, #7a4dce);
    background-clip: border-box;
    background-position-x: center;
    margin: 0;
    padding: 5px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
    flex-direction: column;
    align-items: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    animation: bg-animation 3s infinite;
    box-shadow: 0 4px 20px rgba(90, 45, 158, 0.2);
}

@keyframes bg-animation {
    0% {
        background-position: left;
    }

    50% {
        background-position: right;
    }

    100% {
        background-position: left;
    }
}

.navbar-logo img {
    max-width: auto !important;
    height: 110px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-logo {
    text-align: center !important;
}

.footer {
    color: #5a2d9e;
    text-align: center;
    padding: 40px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-image: url("https://www.playadopt.me/_next/image?url=%2Fassets%2Fimg%2Fdividers%2FDivider-Clouds.webp&amp;w=828&amp;q=75");
    background-size: cover;
    background-clip: border-box;
    background-position-x: center;
    box-sizing: border-box;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.item__text {
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #5a2d9e, #7a4dce);
    padding: 8px 0px;
    color: #ffffff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-align: center;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(90, 45, 158, 0.1);
}

.wholepet {
    cursor: pointer;
    text-align: center;
    background-size: cover;
    background-clip: border-box;
    background-position-x: center;
    padding: 0;
    margin: 0px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.wholepet:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(90, 45, 158, 0.15);
}

.wholepet img,
video {
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.second-page {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 125px;
}

.bottom-block__images {
    display: flex;
    margin-bottom: 30px;
}

.second-page__bottom-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
}

.second-page__bottom-block.up {
    animation: up 1.3s;
}

.second-page__bottom-block.scale {
    animation: scale 0.4s;
}

.group {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.input {
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 2.5rem;
    border: 2px solid transparent;
    border-radius: 9px;
    outline: none;
    background-color: #ffffff;
    border-color: rgba(252, 215, 48, 0.4);
    box-shadow: 0px 0px 40px 10px rgba(91, 45, 158, 0.08);
    color: #0d0c22;
    transition: .3s ease;
    height: 50px;
    width: 300px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
}

.input::placeholder {
    color: #9e9ea7;
    font-style: italic;
}

.input:focus,
input:hover {
    outline: none;
    border-color: rgba(91, 45, 158, 0.4);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgb(91, 45, 158, 0.08);
}

.icon {
    position: absolute;
    left: 1rem;
    fill: #9e9ea7;
    width: 1rem;
    height: 1rem;
}

.hide {
    display: none !important;
}

.bottom-block__btn {
    letter-spacing: .1em;
    background: linear-gradient(45deg, #FCD730, #ffed4a);
    border-radius: 25px;
    color: black;
    font-weight: 800;
    font-size: 18px;
    height: 40px;
    width: 280px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 215, 48, 0.3);
    text-transform: uppercase;
}

.bottom-block__btn:hover {
    background: linear-gradient(45deg, #ffed4a, #FCD730);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 215, 48, 0.4);
}

.bottom-block__btn--disagree {
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    margin-top: 10px;
}

.bottom-block__btn--disagree:hover {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

input::-ms-clear {
    display: none;
}

button {
    color: inherit;
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.goods-img {
    animation: scale 0.4s;
    border: 2px solid #5a2d9e;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(90, 45, 158, 0.1);
    position: relative;
    text-align: center;
    margin: 0px 2px;
    padding: 0 5px;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.goods-img:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 15px rgba(90, 45, 158, 0.15);
}

@keyframes circle-keys {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes dot-keys {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes outline-keys {
    0% {
        transform: scale(0);
        outline: solid 20px var(--color);
        outline-offset: 0;
        opacity: 1;
    }

    100% {
        transform: scale(1);
        outline: solid 0 transparent;
        outline-offset: 20px;
        opacity: 0;
    }
}

@keyframes hug {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scaleY(1.5) scaleX(1.2);
        opacity: 0;
    }
}

@keyframes verify {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.1);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes up_2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    75% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    0% {
        transform: scale(0);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.boot-logo {
    width: 200px;
    height: 200px;
    background-color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.boot-logo.animated {
    animation: spin 2s linear infinite;
}

.box {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    line-height: 1.4;
}

.intro {
    width: 90%;
    max-width: 50rem;
    padding-bottom: 1rem;
    margin: 0 auto 1em;
    padding-top: .5em;
    font-size: calc(1rem + 2vmin);
    text-transform: capitalize;
    border-bottom: 1px dashed rgba(0, 0, 0, .3);
    text-align: center;
}

.intro small {
    display: block;
    opacity: .5;
    font-style: italic;
    text-transform: none;
}

.info {
    margin: 0;
    padding: 1em;
    font-size: .9em;
    font-style: italic;
    font-family: serif;
    text-align: right;
    opacity: .75;
}

.info a {
    color: inherit;
}

.greentext {
    color: #2ecc71;
    text-shadow: 0 1px 2px rgba(46, 204, 113, 0.3);
}

.yellowtext {
    color: #f39c12;
    text-shadow: 0 1px 2px rgba(243, 156, 18, 0.3);
}

.whitetext {
    color: #5a2d9e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.successText {
    color: #2ecc71;
    text-shadow: 0 1px 2px rgba(46, 204, 113, 0.3);
}

.loadlast {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.loadlast.up {
    animation: up 1.3s;
}

.loadlast.scale {
    animation: scale 0.4s;
}

.bottom-block__title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 10px;
    color: #5a2d9e;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(90, 45, 158, 0.1);
    font-weight: 600;
}

.bottom-block__cities-text {
    color: #5a2d9e;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(90, 45, 158, 0.1);
}

.bottom-block__cities-text.up {
    animation: up_2 1s;
}

.bottom-block__cities-img {
    animation: rotate 3s infinite ease-in-out;
    margin: 10px 0px;
    height: 50px;
    width: 50px;
    filter: drop-shadow(0 2px 4px rgba(90, 45, 158, 0.2));
}

.bottom-block__cities-img.up {
    animation: up_2 1s;
}

.bottom-block__cities-img.rotate_fast {
    animation: rotate 1.5s infinite ease-in-out;
}

.block {
    position: relative;
    margin: 30px 0px 28px;
}

#verify-btn {
    animation: verify 2s linear infinite;
    z-index: 1;
}

#verify-btn-span {
    animation: hug 2s linear infinite;
    background: #ffb9d7;
    border-radius: 25px;
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 40px;
    z-index: 0;
}

#loader {
    width: 100%;
    position: fixed;
}

.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.boardz {
    display: flex;
    justify-content: space-between;
    flex: auto;
    break-inside: avoid;
}

.boardz ul {
    list-style-type: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0px 4px 0px;
    flex: 1;
}

.boardz ul li {
    margin: 8px 4px 8px 4px;
    padding: 12px 12px 5px 12px;
    flex: auto;
    box-shadow: 0px 0px 26px -10px rgba(252, 215, 48, 0.3), inset 0px 0px 14px -5px rgba(252, 215, 48, 0.2);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 8px;
}

.boardz ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0px 0px 30px -8px rgba(252, 215, 48, 0.4), inset 0px 0px 14px -5px rgba(252, 215, 48, 0.3);
}

.boardz ul h5 {
    margin: 0 0 10px 0;
    padding-bottom: 4px;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #FCD730, #ffed4a);
    padding: 8px 0px;
    color: #000000;
    border-radius: 7px;
    text-align: center;
    box-shadow: 0px 0px 14px -5px rgba(252, 215, 48, 0.3);
    font-size: 16px;
    text-transform: uppercase;
}

@media screen and (max-width: 800px) {
    .boardz {
        flex-direction: column;
    }

    .boardz ul li:last-child {
        margin-bottom: 0;
    }

    .boardz ul {
        margin: 0;
        padding: 0;
    }
}

.fitted ul {
    display: flex;
}

.fitted ul li {
    margin: 4px 4px 4px 4px !important;
}

.boardz img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.beautiful li {
    border: none !important;
    border-radius: 10px;
    background-color: hsla(0, 0%, 100%, .05) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.beautiful li:hover {
    box-shadow: 0px 0px 40px 10px rgba(91, 45, 158, 0.1);
    transform: translateY(-3px);
}

.loader {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    --color: #FCD730;
    --animation: 2s ease-in-out infinite;
}

.loader .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 20px;
    height: 20px;
    border: solid 2px var(--color);
    border-radius: 50%;
    margin: 0 10px;
    background-color: transparent;
    animation: circle-keys var(--animation);
    box-shadow: 0 2px 4px rgba(252, 215, 48, 0.3);
}

.loader .circle .dot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color);
    animation: dot-keys var(--animation);
}

.loader .circle .outline {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: outline-keys var(--animation);
}

.circle:nth-child(2) {
    animation-delay: 0.3s;
}

.circle:nth-child(3) {
    animation-delay: 0.6s;
}

.circle:nth-child(4) {
    animation-delay: 0.9s;
}

.circle:nth-child(5) {
    animation-delay: 1.2s;
}

.circle:nth-child(2) .dot {
    animation-delay: 0.3s;
}

.circle:nth-child(3) .dot {
    animation-delay: 0.6s;
}

.circle:nth-child(4) .dot {
    animation-delay: 0.9s;
}

.circle:nth-child(5) .dot {
    animation-delay: 1.2s;
}

.circle:nth-child(1) .outline {
    animation-delay: 0.9s;
}

.circle:nth-child(2) .outline {
    animation-delay: 1.2s;
}

.circle:nth-child(3) .outline {
    animation-delay: 1.5s;
}

.circle:nth-child(4) .outline {
    animation-delay: 1.8s;
}

.circle:nth-child(5) .outline {
    animation-delay: 2.1s;
}

.offers-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-item {
    width: 100%;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border: 1px solid rgba(91, 45, 158, 0.1);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 45, 158, 0.05), transparent);
    transition: 0.5s;
}

.offer-item:hover::before {
    left: 100%;
}

.offer-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(91, 45, 158, 0.2);
}

.offer-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(91, 45, 158, 0.1);
    transition: transform 0.3s ease;
}

.offer-item:hover img {
    transform: scale(1.05);
}

.offer-details {
    text-align: left;
    padding-right: 10px;
}

.offer-details h3 {
    color: #5a2d9e;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.5px;
}

.offer-details p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.offer-button {
    background: linear-gradient(45deg, #FCD730, #ffed4a);
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(252, 215, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.offer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.offer-button:hover::before {
    left: 100%;
}

.offer-button:hover {
    background: linear-gradient(45deg, #ffed4a, #FCD730);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 215, 48, 0.4);
}

.offer-button:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .offer-item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
        padding: 12px;
    }

    .offer-item img {
        width: 60px;
        height: 60px;
    }

    .offer-button {
        grid-column: 1 / -1;
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }

    .offer-details h3 {
        font-size: 16px;
    }

    .offer-details p {
        font-size: 13px;
    }
}

.waiting-text {
    text-align: center;
    margin: 15px 0;
    color: #5a2d9e;
    font-size: 20px;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(90, 45, 158, 0.1);
}

.offertitle {
    font-size: 18px;
    color: #5a2d9e;
    letter-spacing: 0.5px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(90, 45, 158, 0.1);
}

.waiting-text .wait-time {
    color: #777;
    font-size: 14px;
    margin-top: 8px;
    font-style: italic;
}

.waiting-text .dots {
    display: inline-block;
    width: 20px;
    animation: dotAnimation 1.5s infinite;
}

@keyframes dotAnimation {
    0% {
        content: '.';
    }

    33% {
        content: '..';
    }

    66% {
        content: '...';
    }

    100% {
        content: '.';
    }
}

@media (max-width: 768px) {
    .offertitle {
        font-size: 16px;
    }

    .waiting-text {
        font-size: 16px;
    }

    .waiting-text .wait-time {
        font-size: 13px;
    }

    h1 {
        font-size: 20px;
    }
}