body:has(#paxor-music-home) {
    background-color: #03090c;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-y: auto;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.home-intro {
    position: relative;
    padding: 54px 20px 36px;
    background:
        linear-gradient(180deg, rgba(3, 9, 12, 0.96), rgba(5, 18, 23, 0.98)),
        radial-gradient(circle at 12% 0%, rgba(57, 213, 255, 0.14), transparent 36%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-intro-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.home-intro-kicker {
    margin: 0;
    color: #39d5ff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-intro h1 {
    margin: 8px 0 14px;
    color: #fff;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.96;
    font-weight: 800;
}

.home-intro-copy {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.6;
}

.home-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-intro-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-intro-action:hover,
.home-intro-action:focus-visible {
    border-color: rgba(57, 213, 255, 0.9);
    background: rgba(0, 132, 168, 0.24);
    transform: translateY(-2px);
}

.home-intro-action-primary {
    color: #001014;
    border-color: #39d5ff;
    background: #39d5ff;
}

.home-intro-action-primary:hover,
.home-intro-action-primary:focus-visible {
    color: #001014;
    background: #73e4ff;
}

.home-intro-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-intro-signals span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
}

.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    min-height: 76vh;
    margin: 0 auto;
    padding: 72px 20px;
    opacity: 0;
    transform: translateY(72px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    perspective: 1000px;
    scroll-snap-align: none;
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-block {
    flex: 1;
    max-width: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    background-color: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.card-block:hover {
    transform: translateY(-6px);
}

.card-block img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    border-bottom: 0;
}

.card-block .card-content {
    display: none;
}

.card-block .card-content h3 {
    margin-bottom: 10px;
    font-size: 1.5em; /* Крупнее заголовок для всех */
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.text-block {
    flex: 1;
    max-width: 45%;
    text-align: left;
    padding: 20px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease 0.16s, transform 0.7s ease 0.16s;
}

.feature-section.visible .text-block {
    opacity: 1;
    transform: translateX(0);
}

#manage-wallets .text-block,
#view-analytics .text-block,
#paxor-dapp .text-block,
#explore-blockchain .text-block {
    transform: translateX(-40px);
}

.text-block p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
    margin: 0;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal[style*="display: flex"] {
    opacity: 1;
}

.modal-content {
    background: #000;
    border: 1px solid rgba(150, 150, 150, 0.3);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #fff;
    font-family: 'Arial', sans-serif;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal[style*="display: flex"] .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1em;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-actions .action-btn {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.modal-actions .action-btn:hover {
    background: #1E90FF;
    color: #fff;
    transform: scale(1.05);
}

.modal-content button {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.modal-content button:hover {
    background: #1E90FF;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .home-intro {
        padding: 42px 18px 30px;
    }

    .home-intro h1 {
        font-size: 48px;
    }

    .home-intro-copy {
        font-size: 1rem;
        line-height: 1.55;
    }

    .home-intro-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-intro-action {
        width: 100%;
    }

    .feature-section {
        flex-direction: column !important;
        min-height: auto;
        gap: 24px;
        padding: 56px 18px;
    }

    .card-block, .text-block {
        max-width: 100%;
    }

    .text-block {
        transform: translateY(40px);
    }

    .feature-section.visible .text-block {
        transform: translateY(0);
    }

    .text-block p {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-intro-action {
        transition: none;
    }
}

@media (max-width: 600px) {
    .modal-content {
        padding: 15px;
        max-width: 90%;
    }
    .modal-content h2 {
        font-size: 1.3em;
    }
    .modal-content p {
        font-size: 0.9em;
    }
    .modal-actions .action-btn {
        font-size: 0.9em;
        padding: 8px 16px;
    }
    .modal-content button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}
