/* ============================================= */
/* ОБЩИЕ НАСТРОЙКИ ДЛЯ ВСЕЙ СТРАНИЦЫ            */
/* ============================================= */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

.container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.logo-container,
h1,
p,
.play-button,
.app-footer {
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* ЛОГОТИП — УВЕЛИЧЕН НА 30%, ПУЛЬСАЦИЯ БЫСТРЕЕ НА 20% */
/* ============================================= */

.logo {
    width: 260px;                 /* было 200 → +30% */
    animation: pulse 1.8s infinite; /* было 2s → ускоряем на 20% (2 * 0.8 = 1.6) */
}

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

/* ============================================= */
/* ЗАГОЛОВОК И ПОДПИСИ                          */
/* ============================================= */

h1 {
    font-size: 3em;
    margin: 10px 0;
}

p {
    font-size: 1.5em;
    margin: 5px 0;
}

/* ============================================= */
/* КНОПКА PLAY / PAUSE                           */
/* ============================================= */

.play-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #ff4500;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: #cc3700;
}

/* ============================================= */
/* БЛОК С GOOGLE PLAY — БЕЙДЖ ЕЩЁ МЕНЬШЕ, ТЕКСТ БЛИЖЕ */
/* ============================================= */

.app-footer {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    padding: 30px 20px 40px;
    width: 100%;
    text-align: center;
}

.app-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    transition: transform 0.25s ease;
}

.app-link:hover {
    transform: scale(1.06);
}

.google-play-badge {
    width: 35%;                   /* было 50% → ещё -30% (50% * 0.7 ≈ 35%) */
    max-width: 224px;             /* 320 * 0.7 ≈ 224 */
    height: auto;
    margin-bottom: 8px;           /* было 15px → ближе к тексту */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.app-footer p {
    font-size: 1.3em;
    margin: 0;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* ============================================= */
/* АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА           */
/* ============================================= */

@media (max-width: 768px) {
    .logo {
        width: 195px;             /* +30% от предыдущих 150px → 195px */
    }
    
    h1 {
        font-size: 2em;
    }
    
    p {
        font-size: 1.2em;
    }
    
    .container {
        padding: 20px;
    }
    
    .google-play-badge {
        width: 50%;               /* на мобилках чуть крупнее, чтобы удобно тапать */
        max-width: 200px;
    }
    
    .app-footer {
        margin-top: 40px;
        padding: 20px 15px 30px;
    }
    
    .app-footer p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .google-play-badge {
        width: 60%;
    }
}