* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #555;
    background: #fff url('../mediafiles/bg_1.jpg') left bottom fixed no-repeat;
    background-size: 1000px;
    line-height: 1.6;
}

h1,h2,h3{
    line-height: 1.2;
}

.kwWrapper {
    max-width: 1400px;
    width: 99%;
    margin: 20px auto;
    background: #f4efe6;
}


.steps-img{
    border-radius: 12px;
    margin: 0 0 20px 0;
    max-width: 100%;
    width: auto;
    display: inline-block;
}

.kwHeader {
    background: rgba(168, 38, 38, 0.86);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.kwLogo a {
    line-height: 0;
}

.kwLogo img {
    height: 50px;
}

.kwNav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.kwNav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.kwBtn {
    background: rgba(168, 38, 38, 0.86);
    color: white;
    border: none;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s;
}

.kwBtn:hover {
    opacity: 0.9;
}

.kwBtnSecondary {
    background: #534741;
}

.kwBanner {
    background: url('../mediafiles/main_bg.jpg') center/cover no-repeat;
    padding: 100px 40px;
    color: white;
    position: relative;
}

.kwBannerContent {
    max-width: 600px;
}

.kwSubtitle {
    font-size: 18px;
    margin-bottom: 15px;
}

.kwTitle {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.kwBannerText {
    margin-bottom: 30px;
}

.kwPrizePlate {
    background: rgb(179 67 66);
    display: inline-block;
    padding: 10px 30px;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

.kwDeadline {
    font-size: 20px;
    margin-bottom: 20px;
}

.kwCountdown {
    display: flex;
    gap: 20px;
}

.kwCountdownItem {
    text-align: center;
}

.kwCountdownNumber {
    font-size: 40px;
    font-weight: bold;
    display: block;
}

.kwSection {
    padding: 60px 40px;
}

.kwSection.cust{
    padding-top: 0px;
    padding-bottom: 0;
}

.kwSectionTitle {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    color: #534741;
}

.kwTicketsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.kwTicketCard {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.kwTicketPrice {
    font-size: 32px;
    font-weight: bold;
    color: rgba(168, 38, 38, 0.86);
    margin-bottom: 10px;
}

.kwTicketCount {
    font-size: 20px;
    margin-bottom: 30px;
}

.kwContentBlock {
    display: flex;
    align-items: center;
    max-width: 1200px;
    flex-direction: column;
    margin: 0 auto 80px;
}

.kwContentImage {
    flex: 1;
}

.kwContentImage img {
    max-width: 700px;
    width: 100%;
}

.kwContentText {
    text-align: center;
}

.kwContentText p{
    margin-bottom: 15px;
}

.kwContentText a{
    color: #000;
    font-weight: bold;
}

.kwSliderContainer {
    margin-bottom: 80px;
}

.kwSlider {
    max-width: 1200px;
    margin: 0 auto 30px;
}

.kwSliderItem img {
    width: 100%;
    padding: 0 15px;
}

.kwSliderText {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.kwWinnersTable {
    max-width: 1200px;
    margin: 0 auto 80px;
    overflow-x: auto;
}

.kwTable {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.kwTable th {
    background: #534741;
    color: white;
    padding: 20px;
    text-align: left;
}

.kwTable td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.kwCalendarSection {
    text-align: center;
    margin-bottom: 80px;
}

.kwCalendarImage {
    max-width: 800px;
    margin: 0 auto 40px;
}

.kwCalendarImage img {
    width: 100%;
}

.kwPartnersSlider {
    max-width: 1400px;
    margin: 40px auto;
}

.kwPartnerSlide {
    padding: 15px 15px 15px;
    background: #fff;
    text-align: center;
}

.kwPartnerSlide img {
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.kwWinnersGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.kwWinnerCard {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.kwFooter {
    background: #1e1d1d;
    color: white;
    padding: 60px 40px 20px;
}

.kwFooterTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.kwFooterTop .kwBtn{
    font-size: 12px;
}

.kwFooterLicense {
    font-size: 14px;
    margin-bottom: 15px;
}

.kwFooterSocial {
    display: flex;
    gap: 20px;
    align-items: center;
}

.kwSocialIcons {
    display: flex;
    gap: 15px;
}

.kwSocialIcons a {
    color: white;
    font-size: 24px;
}

.kwPaymentMethods {
    display: flex;
    gap: 15px;
}

.kwPaymentMethods img {
    height: 40px;
}

.kwHelps{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.kwHelps a{
    line-height: 0;
}

.kwHelps img{
    height: 36px;
    max-width: 190px;
    filter: brightness(0) invert(1);
}

.kwFooterMiddle {
    text-align: center;
    margin: 40px 0 30px 0;
    padding: 20px 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    font-size: 13px;
}

.kwFooterMiddle p{
    margin: 8px 0;
}

.kwFooterBottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}

.kwMobileToggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.kwPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.kwPopupContent {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.kwPopupClose {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.kwForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kwForm input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.kwFormError {
    color: #d32f2f;
    display: none;
    margin-top: 10px;
}

.kwThankYou {
    display: none;
    text-align: center;
    padding: 20px;
    color: #2e7d32;
    font-size: 18px;
}

@media (max-width: 1200px) {

    .kwTicketsGrid,
    .kwWinnersGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kwNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(168, 38, 38, 0.95);
        flex-direction: column;
        padding: 20px;
        z-index: 100;
    }

    .kwNav.kwMobileActive {
        display: flex;
    }

    .kwMobileToggle {
        display: block;
    }

    .kwBanner {
        padding: 60px 20px;
    }

    .kwTitle {
        font-size: 36px;
    }

    .kwTicketsGrid,
    .kwWinnersGrid {
        grid-template-columns: 1fr;
    }

    .kwContentBlock {
        flex-direction: column;
    }

    .kwSection {
        padding: 60px 20px;
    }
}

@media(max-width: 460px){
    .kwLogo img{
        height: 35px;
    }
    .kwHeader{
        padding: 17px 20px 14px 20px;
    }
    .kwWrapper{
        margin: 0;
    }
    .kwFooterTop{
        align-items: center;
        justify-content: center;
    }
    .kwSection {
        padding: 40px 20px;
    }
    .kwSectionTitle{
        font-size: 30px;
    }
}