.buy-section {
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.buy-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.buy-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.token-container {
    width: 200px;
    margin: 0 auto 40px;
    transform: perspective(1000px) rotateY(90deg); /* Начальное положение - ребро */
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 0.5s ease-out;
}

.token-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Конечное состояние при появлении секции */
.buy-section.animate .token-container {
    transform: perspective(1000px) rotateY(-20deg); /* Поворот в пол-оборота */
    opacity: 1;
}

.buy-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 1000px;
}

.buy-token {
    background: #B78628;
    border: none;
    border-radius: 25px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contract-info {
    display: none; /* Скрываем весь блок с контрактом */
}

.contract-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.contract-address {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    word-break: break-all;
}

/* Стили для десктопа */
@media (min-width: 769px) {
    .buy-section {
        padding: 40px 20px;
        margin-top: 40px; /* Увеличили отступ сверху */
    }
    .buy-description {
        font-size: 27px; /* Как в The True AI Service */
        line-height: 1.3;
    }

    .buy-token {
        font-size: 28px;
        padding: 15px 60px;
    }

    .contract-info h3 {
        font-size: 27px;
        margin-bottom: 5px;
    }

    .contract-address {
        font-size: 27px;
    }
}

/* Медиа запросы для мобильных */
@media (max-width: 768px) {
    .buy-section {
        padding: 20px 20px;
        margin-top: 20px; /* Увеличили отступ сверху */
    }

    .token-container {
        width: 120px;
        margin-bottom: 40px;
    }

    .buy-description {
        font-size: 24px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .buy-token {
        font-size: 24px;
        padding: 12px 40px;
        margin-bottom: 30px; /* Увеличили отступ */
    }

    .contract-info {
        margin-top: 30px; /* Увеличили отступ */
    }

    .contract-info h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .contract-address {
        font-size: 16px;
    }
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
} 