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

body {
    background-color: #080a0b;
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

.main-container {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-image: url(bgdt.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: flex-start;
    align-content: center;
    flex-direction: column;
    align-items: center;
}

/* Сохраняем пропорции 16:9 для десктопа */
@media (min-width: 901px) {
    .main-container {
        aspect-ratio: 16/9;
        max-height: 100vh;
    }
}

.content-wrapper {
    width: clamp(900px, 80vw, 1400px);
    padding: 40px;
    text-align: left;
}

.main-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 150px;
    letter-spacing: -2px;
}

.main-title span{
    color:#d93d1c;
}

.sub-title {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 600;
    margin-top: 50px;
}

.sub-title  span{
    color:#d93d1c;
    font-weight: 800;
    font-style: italic;
}

.form-section {
    margin-top: 60px;
}

.country-label, .offers-label {
    font-size: 18px;
    font-size: clamp(24px, 1.4vw, 26px);
    font-weight:200;
}

.offers-label {
    margin-top: 30px;
    display: block;
}

.select-wrapper, .offers-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

.country-select, .offers-select {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #f04f2d;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(24px, 1.8vw, 30px);
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.country-select:hover, .offers-select:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.country-select:focus, .offers-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(240, 79, 45, 0.3);
}

.select-arrow, .offers-arrow {
    position: absolute;
    right: 20px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
    width: 16px;
    height: 10px;
}

.select-wrapper:hover .select-arrow,
.offers-wrapper:hover .offers-arrow {
    transform: translateY(-50%) translateY(2px);
}

.claim-button {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 25px 30px;
    background-color: #f04f2d;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(30px, 2.8vw, 50px);
    font-weight: 900;
    letter-spacing: -1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}

.claim-button:disabled {
    cursor: not-allowed;
}

.button-text {
    position: relative;
    z-index: 2;
}

.lightning-icon {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    clip-path: inset(0 0 0 0);
}

.claim-button:hover:not(:disabled) {
    background-color: #d93d1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 79, 45, 0.4);
}

.claim-button:hover:not(:disabled) .button-text {
    animation: flicker 0.5s ease-in-out;
}

.claim-button:hover:not(:disabled) .lightning-icon {
    animation: lightning-disappear 0.6s ease-in-out;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    10%, 30%, 50%, 70%, 90% { opacity: 0.7; }
    20%, 40%, 60%, 80% { opacity: 1; }
}

@keyframes lightning-disappear {
    0% {
        clip-path: inset(0 0 0 0);
    }
    25% {
        clip-path: inset(100% 0 0 0);
    }
    50% {
        clip-path: inset(0 0 100% 0);
    }
    75% {
        clip-path: inset(0 0 100% 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.claim-button:active:not(:disabled) {
    transform: translateY(0);
}

.bottom-text {
    width: clamp(600px, 50vw, 1200px);
    margin-top: 60px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    text-align: left;
}

.bottom-text strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Мобильная версия */
@media (max-width: 900px) {
    .main-container {
        background-image: url('bgmob.png');
        aspect-ratio: 9/16;
        min-height: 100vh;
    }
    
    .content-wrapper {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .main-title,
    .sub-title {
        text-align: center;
        width: 100%;
    }
    
    .main-title {
        font-size: 28px;
        margin-bottom: 15px;
        margin-top: 40px;
    }
    
    .sub-title {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .form-section {
        width: 100%;
        max-width: 300px;
        margin-top: 40px;
    }
    
    .select-wrapper, .offers-wrapper {
        max-width: 100%;
    }
    
    .country-label, .offers-label {
        text-align: left;
        font-size: 20px;
    }
    
    .country-select,
    .offers-select,
    .claim-button {
        max-width: 100%;
    }
    
    .country-select, .offers-select {
        padding: 15px 45px 15px 15px;
        font-size: 18px;
    }
    
    .select-arrow, .offers-arrow {
        right: 15px;
        top: calc(50% + 10px);
        width: 14px;
        height: 8px;
    }
    
    .claim-button {
        margin-top: 160px;
        font-size: 24px;
        padding: 20px 25px;
    }
    
    .lightning-icon {
        width: 24px;
        height: 24px;
    }
    
    .bottom-text {
        width: 80vw;
        font-size: 12px;
        margin-top: 80px;
        text-align: left;
    }
}