/**
 * HeavyTraderZ Experience
 * by Cengiz Gören
 * cengizgoren.com
 */

.htz-exp-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #000;
}

.htz-exp-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.htz-exp-carousel::-webkit-scrollbar {
    display: none;
}

.htz-exp-slide {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    aspect-ratio: 20 / 9;
    min-height: 380px;
    max-height: 760px;
    scroll-snap-align: start;
    overflow: hidden;
    background: #000;
}

.htz-exp-image {
    position: absolute;
    inset: 0;
}

.htz-exp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.htz-exp-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 28%, rgba(0,0,0,.32) 58%, rgba(0,0,0,0) 100%),
        linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 100%);
}

.htz-exp-content {
    position: absolute;
    left: clamp(24px, 6vw, 96px);
    bottom: clamp(42px, 7vw, 100px);
    z-index: 2;
    max-width: 680px;
    color: #fff;
}

.htz-exp-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #e50000;
    color: #fff;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .7px;
    margin-bottom: 16px;
}

.htz-exp-live-pill span {
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
}

.htz-exp-content h3 {
    color: #fff;
    font-size: clamp(32px, 4.8vw, 68px);
    line-height: 1.04;
    font-weight: 700;
    margin: 0 0 14px;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0,0,0,.65);
}

.htz-exp-time {
    color: #fff;
    font-size: clamp(19px, 2vw, 30px);
    font-weight: 900;
    margin-bottom: 10px;
}

.htz-exp-live-status {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.htz-exp-live-status.is-live {
    background: rgba(229,0,0,.85);
    border-color: rgba(229,0,0,1);
}

.htz-exp-live-status.is-upcoming {
    background: rgba(255,255,255,.16);
}

.htz-exp-live-status.is-ended {
    background: rgba(80,80,80,.8);
}

.htz-exp-content p {
    color: rgba(255,255,255,.92);
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 600px;
}

.htz-exp-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.htz-exp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 900;
}

.htz-exp-btn-primary,
.htz-exp-btn-primary:link,
.htz-exp-btn-primary:visited {
    background: #ffffff !important;
    color: #111111 !important;
}

.htz-exp-btn-primary:hover,
.htz-exp-btn-primary:focus,
.htz-exp-btn-primary:active {
    background: #f2f2f2 !important;
    color: #000000 !important;
}

.htz-exp-btn-register,
.htz-exp-btn-register:link,
.htz-exp-btn-register:visited {
    background: #e50000 !important;
    color: #ffffff !important;
}

.htz-exp-btn-register:hover,
.htz-exp-btn-register:focus,
.htz-exp-btn-register:active {
    background: #c90000 !important;
    color: #ffffff !important;
}

.htz-exp-btn-register * {
    color: #ffffff !important;
}

.htz-exp-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 48px;
    height: 74px;
    border: 0;
    border-radius: 10px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 52px;
    line-height: 1;
    cursor: pointer;
}

.htz-exp-arrow:hover {
    background: rgba(0,0,0,.75);
}

.htz-exp-prev {
    left: 20px;
}

.htz-exp-next {
    right: 20px;
}

.htz-exp-dots {
    position: absolute;
    left: clamp(24px, 6vw, 96px);
    bottom: 20px;
    z-index: 6;
    display: flex;
    gap: 8px;
}

.htz-exp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.htz-exp-dot.active {
    background: #fff;
}

/* Top Trades Overlay */
.htz-toptrades-overlay {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: auto;
    z-index: 7;
    width: 332px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(10,10,10,.58);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 20px 50px rgba(0,0,0,.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.htz-toptrades-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
    margin: 0 0 10px;
}

.htz-toptrades-link,
.htz-toptrades-link:link,
.htz-toptrades-link:visited {
    display: inline-flex;
    margin-top: 10px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.htz-toptrades-link:hover,
.htz-toptrades-link:focus {
    color: #e50000 !important;
}

/* Top Trades Mini Widget */
.tv-mini-widget {
    width: 100%;
    height: 120px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, sans-serif;
    color: #111827;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

#tv-mini-card-container {
    height: 100%;
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.tv-mini-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
}

.tv-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tv-mini-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.tv-mini-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50px !important;
    object-fit: cover !important;
    border: 1px solid #e5e7eb !important;
    background-color: #f3f4f6;
    flex-shrink: 0;
    margin: 0 !important;
}

.tv-mini-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tv-mini-name {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.tv-mini-title {
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.tv-mini-perf {
    font-size: 20px;
    font-weight: 700;
    line-height: 1 !important;
    flex-shrink: 0;
    margin: 0 !important;
}

.tv-mini-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.tv-mini-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
    margin-right: 8px;
}

.tv-mini-basiswert {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1 !important;
    margin: 0 !important;
}

a.tv-mini-wkn,
span.tv-mini-wkn {
    color: #6b7280 !important;
    font-size: 11px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block;
    line-height: 1.1 !important;
    margin: 0 !important;
}

a.tv-mini-wkn:hover {
    color: #10b981 !important;
    text-decoration: underline !important;
}

.tv-mini-laufzeit {
    color: #9ca3af;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.1 !important;
    margin: 0 !important;
}

.tv-mini-positive {
    color: #10b981;
}

.tv-mini-negative {
    color: #ef4444;
}

.tv-mini-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .htz-toptrades-overlay {
        right: 10px;
        left: auto;
        bottom: 10px;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .htz-exp-slide {
        aspect-ratio: 16 / 9;
        min-height: 430px;
    }

    .htz-exp-content {
        left: 22px;
        right: 22px;
        bottom: 54px;
        max-width: none;
    }

    .htz-exp-content h3 {
        font-size: 31px;
    }

    .htz-exp-arrow {
        display: none;
    }

    .htz-exp-dots {
        left: 22px;
        bottom: 22px;
    }

    .htz-toptrades-overlay {
        display: none;
    }

    .htz-exp-show-toptrades-mobile .htz-toptrades-overlay {
        display: block;
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 44px);
        margin: 18px 22px 24px;
    }
}
