/* --- Сброс базовых стилей --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* --- Первый экран (ровно на высоту экрана телефона) --- */
.first-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content-wrapper {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffaa00;
}

h1 {
    font-size: 28px;
    margin-bottom: 40px;
}

/* --- Кнопки (Mobile First - друг под другом) --- */
.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #ffaa00;
    color: #121212;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #333;
}

/* --- Текстовая портянка --- */
.text-content {
    background-color: #1a1a1a;
    /* 120px снизу защищают текст от перекрытия прилипающей кнопкой */
    padding: 40px 20px 120px 20px; 
}

.text-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffaa00;
}

.text-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffffff;
}

.text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 15px;
}

.text-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #b3b3b3;
    line-height: 1.6;
}

.text-content li {
    margin-bottom: 10px;
}

/* --- Прилипающая кнопка с бонусом --- */
.sticky-bonus {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(255, 65, 108, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 65, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0); }
}

/* --- Десктопная версия (от 768px и шире) --- */
@media (min-width: 768px) {
    .buttons-group {
        flex-direction: row;
    }
    
    .btn {
        width: 50%;
    }

    .sticky-bonus {
        width: auto;
        bottom: 30px;
        padding: 16px 40px;
    }
}