/* =========================================================
   ORIGINAL STYLES (untouched)
   ========================================================= */

/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s;
}

.copied::after {
    position: absolute;
    top: 8px;
    right: 12%;
    width: 100px;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 5px 5px;
    color: #fff;
    background-color: hsl(var(--base));
    border-radius: 3px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

@keyframes showcopied {
    0% { opacity: 0; transform: translateX(100%); }
    50% { opacity: 0.7; transform: translateX(40%); }
    70% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; }
}

/* Cookies Card */
.cookies-card {
    width: 520px;
    padding: 30px;
    color: #1E2337;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
    transition: all .5s;
    background: #d1d1d1;
    border-radius: 5px;
}

[data-theme=light] .cookies-card {
    background-color: hsl(var(--section-bg));
}

[data-theme=light] .cookies-card p {
    font-weight: 300;
    color: hsl(var(--black)/0.7) !important;
}

.cookies-card.hide {
    bottom: -500px !important;
}

.radius--10px { border-radius: 10px; }

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #6e6f70;
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content { margin-bottom: 0; }

.cookies-btn {
    color: #363636;
    text-decoration: none;
    padding: 10px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
}

.cookies-btn:hover { color: #363636; }

@media (max-width: 767px) {
    .cookies-card {
        width: 100%;
        left: 0;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
    }
}

/* Hover Input Popup */
.hover-input-popup { position: relative; }
.input-popup { display: none; }

.hover-input-popup .input-popup {
    display: block;
    position: absolute;
    bottom: 130%;
    left: 50%;
    width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.input-popup::after {
    position: absolute;
    content: '';
    bottom: -19px;
    left: 50%;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
    transform: rotate(180deg);
}

.input-popup p {
    padding-left: 20px;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    content: '';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    left: 0;
    top: 4px;
    line-height: 1;
    font-size: 18px;
}

.input-popup p.error { text-decoration: line-through; }

.input-popup p.error::before {
    content: "\f057";
    color: #ea5455;
}

.input-popup p.success::before {
    content: "\f058";
    color: #28c76f;
}

.show-filter { display: none; }

@media(max-width:767px) {
    .responsive-filter-card { display: none; transition: none; }
    .show-filter { display: block; }
}

/* Verification Code */
.verification-code-wrapper {
    box-shadow: var(--box-shadow) !important;
    background-color: hsl(var(--footer-bg)) !important;
    border: 0 !important;
}

.verification-code input {
    background-color: transparent !important;
    color: hsl(var(--black)) !important;
}

.verification-code::after { background-color: transparent !important; }

.verification-code span {
    background-color: transparent !important;
    border-color: hsl(var(--base)) !important;
}

.verification-code input { letter-spacing: 67px !important; }

/* =========================================================
   NEW SECTION — Diamond Animation Sidebar
   ========================================================= */

.diamond-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.diamond-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.diamond-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.3));
    pointer-events: none;
}

.diamond-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

/* Dark/Light Mode Adjustment */
[data-theme='light'] .diamond-wrapper::after {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(255,255,255,0.2));
}

/* Fade-in animation for sidebar load */
@keyframes fadeInDiamond {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.diamond-wrapper {
    animation: fadeInDiamond 1s ease-in-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .diamond-wrapper { max-width: 400px; }
}

@media (max-width: 576px) {
    .diamond-wrapper { max-width: 100%; border-radius: 12px; }
}
