﻿html, body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
}

.aa-reels-page {
    height: 100dvh;
    width: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    background: #000;
}

.aa-reel {
    position: relative;
    height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    overflow: hidden;
    background: #111;
}

.aa-reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aa-reel-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.85) 100% );
    pointer-events: none;
}

.aa-reel-actions {
    position: absolute;
    right: 12px;
    bottom: 145px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 3;
}

    .aa-reel-actions button {
        width: 46px;
        min-height: 46px;
        border: none;
        border-radius: 50%;
        background: rgba(59,35,95,0.75);
        color: #fff;
        font-size: 20px;
        backdrop-filter: blur(6px);
    }

    .aa-reel-actions span {
        display: block;
        font-size: 10px;
        margin-top: 3px;
    }

.aa-reel-content {
    position: absolute;
    left: 14px;
    right: 74px;
    bottom: 28px;
    z-index: 3;
    color: #fff;
}

    .aa-reel-content h2 {
        margin: 0 0 6px;
        font-size: 22px;
        color: #ffd86b;
        font-family: "Playfair Display", serif;
    }

    .aa-reel-content p {
        margin: 0;
        font-size: 14px;
        line-height: 1.45;
    }

.aa-offer-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #3b235f;
    color: #ffd86b;
    font-size: 13px;
    font-weight: 700;
}

.aa-shop-btn {
    display: block;
    margin-top: 12px;
    padding: 11px 24px;
    border: none;
    border-radius: 999px;
    background: #ffd86b;
    color: #3b235f;
    font-weight: 800;
    font-size: 14px;
}

@media (min-width: 768px) {
    .aa-reels-page {
        max-width: 430px;
        margin: 0 auto;
        border-left: 1px solid #222;
        border-right: 1px solid #222;
    }
}


.aa-video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    gap: 15px;
}


    .aa-video-controls button {
        width: 55px;
        height: 55px;
        border: none;
        border-radius: 50%;
        background: rgba(0,0,0,0.45);
        color: #fff;
        font-size: 24px;
        backdrop-filter: blur(8px);
    } .aa-video-controls button {
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 50%;
        background: rgba(0,0,0,0.45);
        color: white;
        font-size: 18px;
    }



.aa-reels-page {
    height: 100dvh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    background: #000;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / old Edge */
}

    .aa-reels-page::-webkit-scrollbar {
        display: none; /* Chrome / Safari / Edge */
    }



    /*Comment CSS*/

.aa-comment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.aa-comment-box {
    width: 100%;
    max-width: 430px;
    height: 65vh;
    background: #fffaf2;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.aa-comment-header {
    padding: 14px 16px;
    background: #3b235f;
    color: #ffd86b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .aa-comment-header h5 {
        margin: 0;
        font-weight: 700;
    }

    .aa-comment-header button {
        border: none;
        background: transparent;
        color: #ffd86b;
        font-size: 28px;
        line-height: 1;
    }

.aa-comment-list {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

.aa-comment-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(59,35,95,0.15);
}

    .aa-comment-item strong {
        color: #3b235f;
        font-size: 14px;
    }

    .aa-comment-item p {
        margin: 4px 0;
        color: #222;
        font-size: 14px;
    }

    .aa-comment-item small {
        color: #777;
        font-size: 11px;
    }

.aa-no-comments {
    text-align: center;
    color: #777;
    margin-top: 30px;
}

.aa-comment-form {
    padding: 12px;
    border-top: 1px solid rgba(59,35,95,0.15);
    background: #fff;
}

    .aa-comment-form input {
        width: 100%;
        border: 1px solid rgba(59,35,95,0.25);
        border-radius: 12px;
        padding: 10px 12px;
        outline: none;
        margin-bottom: 8px;
    }

.aa-comment-input-row {
    display: flex;
    gap: 8px;
}

    .aa-comment-input-row input {
        margin-bottom: 0;
    }

    .aa-comment-input-row button {
        border: none;
        border-radius: 12px;
        padding: 0 16px;
        background: #3b235f;
        color: #ffd86b;
        font-weight: 700;
    }