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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000215;
    position: relative;
}

/* Звездный фон */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Контейнер контента */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    padding: 20px;
}

/* Основной контейнер с позиционированием стека */
.app-presentation {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 300px; /* Фиксированная высота контейнера */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили логотипа (внизу стека) */
.logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#logo {
    max-width: 260%;
    max-height: 260%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    animation: logoAppear 2.5s forwards 0.5s;
}

@keyframes logoAppear {
    0% {
  opacity: 0;
  transform: scale(0.8);
    }
    100% {
  opacity: 1;
  transform: scale(1);
    }
}

/* Стили слогана (в середине стека) */
.slogan-container {
    position: absolute;
    top: 95%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
}

#slogan {
    font-family: "Alegreya SC", serif;
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0;
    color: #C5A478;
    animation: textAppear 1s forwards 2.5s;
    border-radius: 10px;
    display: inline-block;
}

@keyframes textAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Стили кнопок (наверху стека) */
.buttons-container {
    position: absolute;
    top: 115%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 3;
    opacity: 0;
    animation: buttonsAppear 1s forwards 3s;
}

@keyframes buttonsAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Новые кастомные кнопки в стиле outlined */
.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    shape-rendering: crispEdges;
    border: 1px solid #C5A478;
    border-radius: 8px;
    color: #C5A478;
    background-color: transparent;
    text-decoration: none;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.store-button:hover {
    background-color: #C5A478;
    color: #000215;
}

.store-button svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    shape-rendering: crispEdges;
    fill: currentColor;
}

.store-button-text {
    font-family: "Roboto Serif", serif;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Скрытый SEO-текст */
.seo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.0;
    z-index: 1;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .app-presentation {
        height: 260px;
    }
    
    #slogan {
        font-size: 1.4rem;
    }
    
    .store-button svg {
        height: 40px;
    }
    
    .buttons-container {
        top: 115%;
    }

    #logo {
        max-width: 200%;
    }
}

@media (max-width: 480px) {
    .app-presentation {
        height: 220px;
    }
    
    #slogan {
        font-size: 1.1rem;
    }

    .store-button-text {
        font-size: 0.7rem;
    }
    
    .store-button svg {
        margin-right: 2px;
        height: 20px;
    }
    
    .buttons-container {
        top: 110%;
        gap: 8px;
    }

    .store-button {
        width: 130px;
        height: 40px;
    }
    
    .slogan-container {
        top: 90%;
    }
}