.main-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

header {
    background-color: #007bff; 
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lmo-logo {
    height: 40px; 
    margin-top: 5px;
}

.l-promo {
    background-color: #007bff; 
    color: white;
    padding: 20px 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px; 
    border-bottom-left-radius: 20px; 
    border-bottom-right-radius: 20px;
    margin-top: -16px;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vs-10 {
    height: 80px; 
}


.brlmo-character {
    height: 100px; 
    position: absolute;
    right: 20px;
    bottom: -10px; 
}


@keyframes rainbow-shadow {
    0% { box-shadow: 0px 0px 5px rgb(255, 0, 0); }
    16.666% { box-shadow: 0px 0px 15px rgb(255, 166, 0); }
    33.333% { box-shadow: 0px 0px 5px rgb(255, 255, 0); }
    50% { box-shadow: 0px 0px 15px rgb(0, 128, 0); }
    66.666% { box-shadow: 0px 0px 5px rgb(0, 0, 255); }
    83.333% { box-shadow: 0px 0px 15px rgb(76, 0, 130); }
    100% { box-shadow: 0px 0px 5px rgb(238, 130, 238); }
}

.prize-section {
    background: linear-gradient(rgba(255, 255, 255, 0.925), rgba(255, 255, 255, 0.918)), url('../images/from-begron.jpg') no-repeat center center/cover;
    border-radius: 15px;
    margin: -30px 15px 15px 15px; 
    box-shadow: -5px -3px 25px rgba(0, 0, 0, 0.37);
    position: relative;
    z-index: 1;
    padding: 0px;
    animation: rainbow-shadow 10s infinite alternate;
}

.prize-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}

.prize-icons {
    display: flex;
    justify-content: space-around;
}

.prize-icon {
    height: auto; 
    width: 90%;
    object-fit: contain;
    animation: grow-shrink 2s ease-in-out infinite;
}

.form-section {
    background-color: transparent; 
    padding: 0 20px 20px;
}

.form-container {
    background-color: transparent;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
}

.input-group input {
    width: calc(100% - 22px);
    padding: 12px 10px;
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.603);
}

.input-group input:focus {
    border-color: #007bff; 
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.466); 
    outline: none;
}

.print-button {
    background-color: #c4c4c4;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 8px; 
    width: calc(90% - 30px);
    font-size: 18px;
    cursor: not-allowed;
    margin: 20px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    font-weight: bold;
    text-align: center;
    display: block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

.print-button.enabled {
    background-color: #007bff;
    cursor: pointer;
}

.print-button.enabled:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); 
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: initial;
    width: initial;
    max-width: initial;
    box-shadow: initial;
    overflow: initial;
}

.brlmo-character {
    position: absolute;
    right: 20px;
    bottom: -10px;
}

.form-section input[type="tel"]:focus,
.form-section input[type="text"]:focus {
    border-color: blue;
    outline: none; 
}


@keyframes grow-shrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.slider-container {
    width: 100%; 
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    height: 170px; 
}

.slider-track {
    display: flex;
    width: 700%;
    animation: slide 14s infinite steps(7);
}

.slider-image {
    width: 14.28%;
    height: 70%;
    flex-shrink: 0;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); 
    }
}


@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

body {
    animation: fade-in 0.5s ease-out forwards;
}

body.fade-out {
    animation: fade-out 0.5s ease-out forwards;
}


.custom-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    text-align: center;
    width: 300px;
    max-width: 90%;
}

.custom-popup.show {
    display: block;
}

.popup-header {
    margin-bottom: 15px;
}

.popup-header img {
    width: 80px; 
    height: auto;
    margin-bottom: 10px;
}

.popup-header .title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-top: -5px;
}

.popup-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-top: 20px;
}

.popup-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.popup-button:hover {
    background-color: #0056b3;
}

.popup-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    z-index: 1000; 
}

body.popup-active .main-container {
    filter: blur(5px) brightness(0.7); 
    pointer-events: none; 
    transition: filter 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .main-container {
        width: 100%;
        border-radius: 0;
    }

    .promo-text h1 {
        font-size: 24px;
    }

    .prize-icon {
        width: 70%; 
    }

    .input-group input {
        width: calc(100% - 20px); 
    }

    .print-button {
        width: calc(100% - 30px);
    }
}

@media (max-width: 480px) {
    .promo-text h1 {
        font-size: 20px;
    }

    .prize-icons {
        flex-direction: column;
        align-items: center;
    }

    .prize-icon {
        width: 80%; 
        margin-bottom: 10px;
    }
}