:root {
    --primary-color: #5949b3;
    --button-gradient: linear-gradient(0deg, #f4ba2e 0%, #fea036 100%);
    --box-shadow: 0px 3px 30px 0px rgba(30, 75, 203, 0.22);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content-block ul{
    margin: 15px 0;
    padding-left: 20px;
}

.content-block h2{
    margin: 20px 0 15px 0;
}

.bg{
    background: url('../img/ticket.png') left center no-repeat;
    background-size: cover;
}

body {
    font-family: 'Comfortaa', cursive;
    background-color: var(--white);
    color: var(--primary-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.lotto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(89, 73, 179, 0.1);
}

.lotto-logo {
    line-height: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.lotto-logo img{
    width: 160px;
}

.lotto-nav {
    display: flex;
    align-items: center;
}

.lotto-menu {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.lotto-menu li {
    margin-left: 25px;
}

.lotto-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: opacity 0.3s;
}

.lotto-menu a:hover {
    opacity: 0.8;
}

.lotto-auth .btn {
    margin-left: 15px;
}


.btn {
    display: inline-block;
    padding: 12px 25px 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Comfortaa', cursive;
}

.btn-primary {
    background: var(--button-gradient);
    color: var(--white);
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


.lotto-hero {
    padding: 80px 0;
    text-align: center;
    background: url('../img/main.png') center no-repeat;
    background-size: cover;
}

.lotto-hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    opacity: 1;
}

.lotto-hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}

.lotto-hero-text {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #fff;
}


.lotto-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    line-height: normal;
}

.lotto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lotto-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.lotto-card:hover {
    transform: translateY(-10px);
}

.lotto-card-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 5px;
}

.lotto-card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.lotto-card-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.draw-card .btn{
    text-align: center;
}


.draw-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.draw-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.draw-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
}

.draw-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.draw-date {
    font-size: 14px;
    opacity: 0.7;
}

.draw-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ticket-form.cust{
    width: 100%;
}

.ticket-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(89, 73, 179, 0.3);
    border-radius: 8px;
    font-family: 'Comfortaa', cursive;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}


.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content.cust{
    max-width: 500px;
    width: 100%;
}

.about-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: normal;
}

.about-text {
    margin-bottom: 30px;
}


.roadmap-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    padding-left: 80px;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.step-content {
    padding-top: 5px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 10px;
}


.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(89, 73, 179, 0.1);
    padding-bottom: 20px;
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.6;
}


.lotto-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
    line-height: 0;
    text-decoration: none;
}

.footer-logo img{
    width: 160px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 14px;
}

.footer-menu a:hover {
    opacity: 1;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-partners a{
    line-height: 0;
}

.footer-col h4{
    margin-bottom: 15px;
}

.footer-partners img{
    max-width: 150px;
    width: auto;
    max-height: 44px;
    height: auto;
}

.partner-logo.cust{
    filter: brightness(0) invert(1);
}

.partner-logo {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-disclaimer p{
    margin-bottom: 5px;
}

.footer-copyright {
    font-size: 14px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    line-height: normal;
}

.modal-message {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}


@media (max-width: 992px) {
    .lotto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .lotto-menu{
        display: none;
    }
    .lotto-auth{
        display: flex;
        align-items: center;
    }
    .lotto-auth .btn{
        padding: 8px 16px 5px 16px;
        font-size: 13px;
        margin-left: 5px;
    }
    .lotto-logo{
        font-size: 20px;
    }
    .container{
        padding: 0 12px;
    }

    .faq-question{
        font-size: 18px;
    }
    .roadmap-step{
        padding-left: 70px;
    }

    
    .mobile-menu-btn {
        display: block;
    }
    
    .lotto-hero-title {
        font-size: 36px;
    }
    
    .lotto-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-partners {
        flex-wrap: wrap;
    }
}