* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/p3366.jpg") center/cover no-repeat;
    filter: blur(20px) brightness(0.4);
    z-index: -1;
}

.phone-wrapper {
    width: 100%;
    max-width: 480px;
    position: relative;
    background: #000;
    min-height: 100vh;
    box-shadow: 0 0 60px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: calc(8px + env(safe-area-inset-top)) 16px 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-logo {
    height: 48px !important;
    width: auto;
    flex-shrink: 0;
}

.promo-text {
    flex: 1;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    animation: titleGlow 2.2s ease-in-out infinite;
}
.promo-text .line1 {
    color: #ffd966;
    display: block;
    margin-bottom: 2px;
}
.promo-text .line2 {
    font-size: 11px;
    opacity: 0.8;
    display: block;
    line-height: 1.2;
}

@keyframes titleGlow {
    0%,
    100% {
        text-shadow:
            0 0 4px #ffcc66,
            0 2px 5px rgba(0, 0, 0, 0.6);
    }
    50% {
        text-shadow:
            0 0 15px #ff8800,
            0 2px 5px rgba(0, 0, 0, 0.6);
    }
}

.heart-download {
    background: linear-gradient(145deg, #ff6b95, #ff4d00);
    padding: 8px 22px;
    border-radius: 40px;
    color: white;
    font-weight: 800;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: heartbeat 2.2s ease-in-out infinite;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.carousel-inner {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.carousel-item {
    flex: 0 0 100%;
    width: 100%;
}
.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.tags-grid {
    background: #000;
    padding: 10px 20px 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 40px;
    color: #fff;
    font-size: 12px;
    padding: 10px 0;
    text-align: center;
    animation: tagGlow 2.8s ease-in-out infinite;
}

@keyframes tagGlow {
    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.modal-content {
    width: 85%;
    max-width: 320px;
    max-height: 85vh;
    overflow-y: auto;
    background: #1a1a1a;
    border: 1px solid #ffd700;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    animation: modalPop 0.3s ease-out;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    color: #ffd700;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}
.modal-text {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-btn {
    background: #ffd700;
    color: #000;
    padding: 12px 0;
    width: 100%;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.modal-img-wrap {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
}
.modal-img-wrap img {
    width: 100%;
    display: block;
}

.close-btn {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
}