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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    height: 100vh;
    color: white;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(139, 69, 19, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

#lang-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    justify-self: end;
    margin-right: 20px;
}

#lang-icon {
    width: 24px;
    height: auto;
}

.main-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 20px 20px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    padding: 52px 55px;
}

.logo {
    height: 36px;
    grid-column: 2;
    justify-self: center;
}

.content {
    text-align: center;
    width: 100%;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 5px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #ffffff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendar {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.calendar-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.calendar-row:last-child {
    margin-bottom: 0;
}

@media (width: 1280px) and (height: 1200px) {
    .pumpkin {
        width: 150px !important;
        height: 150px !important;
    }

    .main-title {
        font-size: 35px !important;
    }

    .subtitle {
        font-size: 23px !important;
    }

    .terms p {
        font-size: 16px !important;
    }

    .cta-button {
        font-size: 17px !important;
    }

    .logo {
        height: 40px !important;
    }

    #lang-icon {
        width: 30px !important;
    }

    .calendar {
        margin-bottom: 60px !important;
    }
}

.pumpkin-container {
    position: relative;
    cursor: pointer;
}

.pumpkin-container:has(.pumpkin.inactive),
.pumpkin-container:has(.pumpkin.locked) {
    cursor: not-allowed;
}

.pumpkin {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.pumpkin[data-day="1"] { background-image: url('assets/images/day1.webp'); }
.pumpkin[data-day="2"] { background-image: url('assets/images/day2.webp'); }
.pumpkin[data-day="3"] { background-image: url('assets/images/day3.webp'); }
.pumpkin[data-day="4"] { background-image: url('assets/images/day4.webp'); }
.pumpkin[data-day="5"] { background-image: url('assets/images/day5.webp'); }
.pumpkin[data-day="6-7"] { background-image: url('assets/images/day6-7.webp'); }
.pumpkin[data-day="8"] { background-image: url('assets/images/day8.webp'); }
.pumpkin[data-day="9-10-11"] { background-image: url('assets/images/day9-10-11.webp'); }
.pumpkin[data-day="12-13"] { background-image: url('assets/images/day12-13.webp'); }
.pumpkin[data-day="14"] { background-image: url('assets/images/day14.webp'); }
.pumpkin[data-day="15"] { background-image: url('assets/images/day15.webp'); }
.pumpkin[data-day="16"] { background-image: url('assets/images/day16.webp'); }
.pumpkin[data-day="17"] { background-image: url('assets/images/day17.webp'); }
.pumpkin[data-day="18"] { background-image: url('assets/images/day18.webp'); }
.pumpkin[data-day="19"] { background-image: url('assets/images/day19.webp'); }
.pumpkin[data-day="20"] { background-image: url('assets/images/day20.webp'); }
.pumpkin[data-day="21"] { background-image: url('assets/images/day21.webp'); }
.pumpkin[data-day="22"] { background-image: url('assets/images/day22.webp'); }
.pumpkin[data-day="23"] { background-image: url('assets/images/day23.webp'); }
.pumpkin[data-day="24"] { background-image: url('assets/images/day24.webp'); }
.pumpkin[data-day="25"] { background-image: url('assets/images/day25.webp'); }
.pumpkin[data-day="26"] { background-image: url('assets/images/day26.webp'); }

.pumpkin.locked {
    opacity: 1;
    filter: none;
    cursor: not-allowed;
    pointer-events: none;
}

.pumpkin.inactive {
    opacity: 0.8;
    filter: grayscale(100%);
    cursor: not-allowed;
    pointer-events: none;
}


.pumpkin.active {
    animation: none;
    cursor: pointer;
}

.pumpkin.active[data-day="1"] { background-image: url('assets/images/day1open.webp'); }
.pumpkin.active[data-day="2"] { background-image: url('assets/images/day2open.webp'); }
.pumpkin.active[data-day="3"] { background-image: url('assets/images/day3open.webp'); }
.pumpkin.active[data-day="4"] { background-image: url('assets/images/day4open.webp'); }
.pumpkin.active[data-day="5"] { background-image: url('assets/images/day5open.webp'); }
.pumpkin.active[data-day="6-7"] { background-image: url('assets/images/day6-7open.webp'); }
.pumpkin.active[data-day="8"] { background-image: url('assets/images/day8open.webp'); }
.pumpkin.active[data-day="9-10-11"] { background-image: url('assets/images/day9-10-11open.webp'); }
.pumpkin.active[data-day="12-13"] { background-image: url('assets/images/day12-13open.webp'); }
.pumpkin.active[data-day="14"] { background-image: url('assets/images/day14open.webp'); }
.pumpkin.active[data-day="15"] { background-image: url('assets/images/day15open.webp'); }
.pumpkin.active[data-day="16"] { background-image: url('assets/images/day16open.webp'); }
.pumpkin.active[data-day="17"] { background-image: url('assets/images/day17open.webp'); }
.pumpkin.active[data-day="18"] { background-image: url('assets/images/day18open.webp'); }
.pumpkin.active[data-day="19"] { background-image: url('assets/images/day19open.webp'); }
.pumpkin.active[data-day="20"] { background-image: url('assets/images/day20open.webp'); }
.pumpkin.active[data-day="21"] { background-image: url('assets/images/day21open.webp'); }
.pumpkin.active[data-day="22"] { background-image: url('assets/images/day22open.webp'); }
.pumpkin.active[data-day="23"] { background-image: url('assets/images/day23open.webp'); }
.pumpkin.active[data-day="24"] { background-image: url('assets/images/day24open.webp'); }
.pumpkin.active[data-day="25"] { background-image: url('assets/images/day25open.webp'); }
.pumpkin.active[data-day="26"] { background-image: url('assets/images/day26open.webp'); }

.pumpkin.inactive[data-day="27"] {
    background-image: url('assets/images/day27open.webp');
}
.pumpkin.inactive[data-day="28"] {
    background-image: url('assets/images/day28open.webp');
}
.pumpkin.inactive[data-day="29"] {
    background-image: url('assets/images/day29open.webp');
}
.pumpkin.inactive[data-day="30"] {
    background-image: url('assets/images/day30open.webp');
}
.pumpkin.inactive[data-day="31"] {
    background-image: url('assets/images/day31open.webp');
}

.pumpkin.active:hover {
    transform: none;
    filter: none;
}

@keyframes pulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(255, 140, 0, 0.8));
        transform: scale(1.05);
    }
}

.cta-button {
    display: inline-block;
    background: #FFC600;
    color: #000000;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: none;
    box-shadow: none;
    margin-bottom: 44px;
    border: 1px solid #FFC600;
}

.cta-button:hover,
.cta-button:active {
    background: #FFC600;
    box-shadow: none;
    transform: none;
}

.terms {
    max-width: 800px;
    margin: 0 auto;
}

.terms p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    white-space: pre-line;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000004D;
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 250ms ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-overlay.active.closing {
    opacity: 0;
}

.popup-content {
    background: transparent;
    border-radius: 20px;
    max-width: none;
    width: 90%;
    position: relative;
    border: none;
    overflow: hidden;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
}

@media (min-width: 1024px) {
    .popup-content {
        width: 351px;
        height: 371px;
    }

    #popup-2 .popup-content {
        width: 708px;
        height: 371px;
    }
    
    .calendar-row:nth-child(1),
    .calendar-row:nth-child(2) {
        width: 100%;
    }
}

.popup-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.popup-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-overlay.active.closing .popup-content {
    transform: scale(0.96);
    opacity: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 12px;
    height: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    z-index: 3;
}



.close-btn img {
    width: 16px;
    height: 16px;
}

.close-btn img[src*="close-black.svg"] {
    width: 12px;
    height: 12px;
}

.popup-inner {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
    height: 100%;
}

.offer-card {
    flex: 1;
    padding: 34px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
    height: 100%;
}


.offer-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.15;
}

.promo-code {
    display: block;
}

.promo-code span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 2px;
    font-size: 13px;
}

.promo-code strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: #ffc500;
    letter-spacing: 0.5px;
}

.mobile-only { display: none; }

#popup-2 .offer-card .offer-content h3 {
    color: #111111;
}

#popup-5 .offer-content h3,
#popup-6-7 .offer-content h3,
#popup-8 .offer-content h3,
#popup-9-10-11 .offer-content h3,
#popup-12-13 .offer-content h3,
#popup-14 .offer-content h3,
#popup-16 .offer-content h3,
#popup-20 .offer-content h3,
#popup-21 .offer-content h3,
#popup-25 .offer-content h3 {
    color: #111111;
}

#popup-24 .offer-content h3 {
    font-size: 21px;
}

#popup-1 .promo-code span { color: #a53947; }
#popup-2 .promo-code span { color: #111111; }
#popup-3 .promo-code span,
#popup-4 .promo-code span,
#popup-15 .promo-code span,
#popup-17 .promo-code span,
#popup-18 .promo-code span,
#popup-19 .promo-code span,
#popup-22 .promo-code span,
#popup-23 .promo-code span,
#popup-24 .promo-code span,
#popup-26 .promo-code span {
    color: rgba(255, 255, 255, 0.85);
}

#popup-1 .promo-code strong {
    color: #d42127;
}

#popup-2 .promo-code strong {
    color: #d42127;
}

#popup-5 .promo-code strong,
#popup-6-7 .promo-code strong,
#popup-8 .promo-code strong,
#popup-9-10-11 .promo-code strong,
#popup-12-13 .promo-code strong,
#popup-14 .promo-code strong,
#popup-16 .promo-code strong,
#popup-20 .promo-code strong,
#popup-21 .promo-code strong,
#popup-23 .promo-code strong,
#popup-25 .promo-code strong {
    color: #d42127;
}

@media (max-width: 767px) {
    .mobile-only { display: block; }
}

#popup-27 .popup-inner .offer-card:nth-child(2) .offer-content h3 { color: #111111; font-size: 23px; line-height: 27px;}
#popup-28 .popup-inner .offer-card:nth-child(2) .offer-content h3 { color: #111111; font-size: 24px; line-height: 27px;}
#popup-29 .popup-inner .offer-card:nth-child(2) .offer-content h3 { color: #111111; font-size: 24px; line-height: 27px;}
#popup-30 .popup-inner .offer-card:nth-child(2) .offer-content h3 { color: #111111; font-size: 20px; line-height: 27px;}
#popup-31 .popup-inner .offer-card:nth-child(2) .offer-content h3 { color: #111111; font-size: 24px; line-height: 27px;}
.popup-inner .offer-card:nth-child(2) .promo-code span { color: rgba(0,0,0,0.6); }

.popup-inner .offer-card:nth-child(2) .promo-code {
    display: block;
}
.popup-inner .offer-card:nth-child(2) .promo-code span {
    display: block;
}
.popup-inner .offer-card:nth-child(2) .promo-code strong {
    display: block;
}

.activate-btn {
    background: #FFC600;
    color: #000000;
    border: 1px solid #FFC600;
    padding: 14px 36px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: none;
    box-shadow: none;
    margin-top: auto;
}

.activate-btn:hover,
.activate-btn:active {
    background: #FFC600;
    box-shadow: none;
    transform: none;
}

@media (min-width: 1024px) {
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

html[lang="ru"] .main-title {
    font-size: 32px;
    text-transform: uppercase;
}

html[lang="ru"] .subtitle {
    font-size: 18px;
    max-width: 700px;
}

html[lang="ru"] .cta-button span {
    text-transform: uppercase;
}

html[lang="ru"] #popup-30 .offer-card:first-child .offer-content h3 {
    font-size: 19px;
}

html[lang="ru"] #popup-30 .offer-card:nth-child(2) .offer-content h3 {
    font-size: 17px;
}

html[lang="ru"] #popup-31 .offer-card:nth-child(2) .offer-content h3 {
    font-size: 23px;
}

html[lang="ru"] #popup-2 .offer-card:nth-child(2) .offer-content h3 {
    font-size: 20px;
}

html[lang="ru"] #popup-3 .offer-content h3 {
    font-size: 22px;
}

html[lang="ru"] #popup-6-7 .offer-content h3 {
    font-size: 22px;
}

html[lang="ru"] #popup-18 .offer-content h3 {
    font-size: 19px;
}

html[lang="ru"] #popup-19 .offer-content h3 {
    font-size: 21px;
}

html[lang="ru"] #popup-22 .offer-content h3 {
    font-size: 22px;
}

@media (max-width: 767px) {
    html[lang="lv"] #popup-28 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        color: #111111;
        font-size: 22px;
        line-height: 27px;
    }
    
    html[lang="lv"] #popup-29 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 21px;
    }
    
    html[lang="lv"] #popup-31 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 21px;
    }
}

@media (max-width: 767px) {
    html[lang="ru"] .main-title {
        font-size: 20px;
        text-transform: uppercase;
    }
    
    html[lang="ru"] .subtitle {
        font-size: 10px;
        max-width: 700px;
    }
    
    html[lang="ru"] .popup-inner {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    html[lang="ru"] .promo-code {
        display: block !important;
    }
    
    html[lang="ru"] .promo-code span {
        display: block !important;
        margin-bottom: 4px;
    }
    
    html[lang="ru"] .promo-code strong {
        display: block !important;
    }
    
    html[lang="ru"] .offer-content h3 {
        font-size: 20px;
    }
    
    html[lang="ru"] .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 20px;
    }
    
    html[lang="ru"] #popup-28 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        color: rgb(17, 17, 17);
        font-size: 20px;
        line-height: 27px;
    }

    html[lang="ru"] #popup-29 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 20px;
    }
    
    html[lang="ru"] #popup-30 .offer-card:first-child .offer-content h3 {
        font-size: 16px;
    }
    
    html[lang="ru"] #popup-30 .offer-card:nth-child(2) .offer-content h3 {
        font-size: 16px;
    }
    
    html[lang="ru"] #popup-31 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .popup-inner {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
    }
    
    .promo-code {
        display: block !important;
    }
    .promo-code span {
        display: block !important;
        margin-bottom: 4px;
    }
    .promo-code strong {
        display: block !important;
    }
    
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
    }

    .popup-content {
        padding: 10px;
        margin: 0;
        width: 285px;
        height: 296px;
    }

    #popup-2 .popup-content {
        width: 285px;
        height: 592px;
    }

    html[lang="ru"] #popup-2 .offer-card:nth-child(2) .offer-content h3 {
        font-size: 18px;
    }

    html[lang="ru"] #popup-3 .offer-content h3 {
        font-size: 18px;
    }

    html[lang="ru"] #popup-6-7 .offer-content h3 {
        font-size: 18px;
    }

    html[lang="ru"] #popup-18 .offer-content h3 {
        font-size: 16px;
    }

    html[lang="ru"] #popup-19 .offer-content h3 {
        font-size: 18px;
    }

    html[lang="ru"] #popup-22 .offer-content h3 {
        font-size: 18px;
    }
}

.desktop-only { display: flex; }
.mobile-only { display: none; }
.mobile-row2 { display: none; }

@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        touch-action: pan-y;
    }
    .desktop-only { display: none; }
    .mobile-only { display: flex; justify-content: center; }
    .mobile-row2 { display: flex; }
    
    .main-container {
        padding-top: max(100px, env(safe-area-inset-top, 100px));
        padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
        padding-left: max(20px, env(safe-area-inset-left, 20px));
        padding-right: max(20px, env(safe-area-inset-right, 20px));
    }

    #lang-toggle {
        margin-right: 0;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
        padding: 13px;
    }
    
    .promo-code {
        display: block !important;
    }
    .promo-code span {
        display: block !important;
        margin-bottom: 4px;
    }
    .promo-code strong {
        display: block !important;
    }
    
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
    }

    .calendar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .calendar-row {
        display: contents;
        margin: 0;
    }

    .pumpkin-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 350px) {
    .main-container { 
        padding-top: max(100px, env(safe-area-inset-top, 100px));
        padding-bottom: max(15px, env(safe-area-inset-bottom, 15px));
        padding-left: max(15px, env(safe-area-inset-left, 15px));
        padding-right: max(15px, env(safe-area-inset-right, 15px));
    }
    .logo {
        height: 29px;
    }

    #lang-icon {
        width: 16px;
    }

    .calendar {
        max-height: 246px;
        overflow-y: auto;
    }

    .header {
        padding: 0px 13px;
    }

    .main-title {
        font-size: 20px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 10px;
        margin-bottom: 30px;
    }

    .terms p {
        font-size: 9px;
    }

    .cta-button {
        margin-bottom: 40px;
    }
    .calendar-row { gap: 8px; }
    .pumpkin {         width: 115px;
        height: 115px;}
    .offer-content h3 { font-size: 18px; }
    .promo-code strong { font-size: 16px; }

    .offer-card {
        padding: 14px;
    }

    #popup-2 .popup-content {
        width: 285px;
        height: 550px;
    }
    
    .promo-code {
        display: block !important;
    }
    .promo-code span {
        display: block !important;
        margin-bottom: 4px;
    }
    .promo-code strong {
        display: block !important;
    }
    
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
    }

}

@media (min-width: 375px) and (max-width: 413px) {
    .main-container { 
        padding-top: max(85px, env(safe-area-inset-top, 100px));
        padding-bottom: max(15px, env(safe-area-inset-bottom, 15px));
        padding-left: max(15px, env(safe-area-inset-left, 15px));
        padding-right: max(15px, env(safe-area-inset-right, 15px));
    }
    .logo {
        height: 29px;
    }

    #lang-icon {
        width: 16px;
    }

    .calendar {
        margin-bottom: 30px;
        max-height: 447px;
    }

    .header {
        padding: 0px 13px;
    }

    .main-title {
        font-size: 25px;
        width: 93%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    html[lang="ru"] .main-title {
        width: 85%;
    }

    .subtitle {
        font-size: 11px;
        margin-bottom: 40px;
    }

    .terms p {
        font-size: 9px;
    }

    .cta-button {
        margin-bottom: 15px;
    }
    .calendar-row { gap: 8px; }
    .pumpkin {
        width: 140px;
        height: 140px;
    }
    .popup-content {         padding: 25px;
        margin: 0px; }
    .offer-content h3 { font-size: 18px; }
    .promo-code strong { font-size: 20px; }

    .close-btn img {
        width: 12px;
        height: 12px;
    }
    
    .promo-code {
        display: block !important;
    }
    .promo-code span {
        display: block !important;
        margin-bottom: 4px;
    }
    .promo-code strong {
        display: block !important;
    }

    .offer-card {
        padding: 0;
        margin: 0;
    }
    
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
    }
}

@media (min-width: 414px) and (max-width: 767px) {
    .main-container {
        padding-top: max(100px, env(safe-area-inset-top, 100px));
        padding-bottom: max(15px, env(safe-area-inset-bottom, 15px));
        padding-left: max(15px, env(safe-area-inset-left, 15px));
        padding-right: max(15px, env(safe-area-inset-right, 15px));
    }
    .logo {
        height: 29px;
    }

    #lang-icon {
        width: 16px;
    }
    
    #popup-27 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        color: #111111;
        font-size: 19px;
        line-height: 27px;
    }
    
    .header {
        padding: 0px 13px;
    }

    .main-title {
        font-size: 23px;
        width: 81%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 11px;
        margin-bottom: 40px;
    }

    .terms p {
        font-size: 9px;
    }

    .cta-button {
        margin-bottom: 40px;
    }
    .calendar-row { gap: 8px; }
    .pumpkin {         width: 145px;
        height: 145px;}
    .popup-content {  padding: 13px; }
    .offer-content h3 { font-size: 20px; }
    .promo-code strong { font-size: 20px; }

    .close-btn img {
        width: 12px;
        height: 12px;
    }

    .offer-card {
        padding: 10px;
    }

    .popup-inner {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .popup-content {
        width: 285px;
        height: 296px;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
    }

    #popup-30 .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        color: #111111;
        font-size: 16px;
        line-height: 24px;
    }

    .calendar {
        max-height: 458px;
    }
}

@media (min-width: 767px) and (max-width: 1023px) {
    .main-container {
        padding: 100px 20px 20px 20px;
    }

    html[lang="ru"] .main-title {
        font-size: 29px;
    }

    .logo {
        height: 33px;
    }

    .pumpkin{
        width: 110px;
        height: 110px;
    }

    .cta-button {
        font-size: 15px;
    }

    #lang-toggle {
        margin-right: 0;
    }

    .calendar-row {
        gap: 5px;
        margin-bottom: 5px;
    }

    .calendar {
        margin-bottom: 55px;
    }

    .terms p {
        font-size: 11px;
    }

    .popup-content {
        width: 351px;
        height: 371px;
    }

    #popup-2 .popup-content {
        width: 708px;
        height: 371px;
    }

    .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 19px;
    }

    .popup-inner .offer-card:nth-child(2) .offer-content h3 {
        font-size: 20px;
    }
    .popup-inner { flex-direction: row; gap: 24px; }
    .activate-btn {
        width: 147px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .logo {
        height: 20px;
    }

    #lang-icon {
        width: 16px;
    }

    .header {
        padding: 25px 25px;
    }

    .main-title {
        font-size: 23px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .pumpkin {
        width: 80px;
        height: 80px;
    }

    html[lang="ru"] .subtitle {
        font-size: 14px;
    }

    html[lang="ru"] .main-title {
        font-size: 23px;
    }

    .cta-button {
        padding: 12px 26px;
        font-size: 10px;
        margin-bottom: 15px;
    }

    .terms p {
        font-size: 7px;
    }

    .calendar {
        margin-bottom: 30px;
    }

    .main-container {
        padding: 85px 20px 20px 20px;
    }
}


@media (min-width: 1280px) and (max-width: 1919px) {
    .logo {
        height: 28px;
    }

    #lang-icon {
        width: 20px;
    }

    .pumpkin {
        width: 110px;
        height: 110px;
    }

    .calendar-row {
        gap: 5px;
        margin-bottom: 5px;
    }

    html[lang="ru"] .subtitle {
        font-size: 14px;
    }

    .calendar-row {
        gap: 5px;
        margin-bottom: 5px;
    }


    html[lang="ru"] .main-title {
        font-size: 22px;
    }

    .main-title {
        font-size: 25px;
    }

    .subtitle {
        font-size: 15px;
    }

    .header {
        padding: 34px 55px;
    }
}

@media (min-width: 2000px) {
    .logo {
        height: 56px;
    }

    #lang-icon {
        width: 40px;
    }

    .pumpkin {
        width: 200px;
        height: 200px;
    }

    .main-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 26px;
        max-width: 720px;
        margin-bottom: 70px;
    }

    .cta-button {
        padding: 20px 40px;
        font-size: 25px;
    }

    .terms p {
        font-size: 18px;
    }

    .calendar {
        margin-bottom: 70px;
    }

    .main-container {
        padding: 130px 20px 20px 20px;
        max-width: 1700px;
    }
}