﻿/* ============================================================
 
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;700&display=swap');

/* ── Wrapper principal ── */
.ads-banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1500 / 250;
    overflow: hidden;
    
    border-radius: 12px;
    cursor: default;
    /* Dimensiuni minime/maxime pentru rezoluții extreme */
    min-height: 120px;
    max-height: 300px;
}

/* ── Fundal mesh gradient ── */
.ads-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    
}

/* ── Grid de fundal animat ── */
.ads-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(200,255,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: ads-grid-move 20s linear infinite;
}

@keyframes ads-grid-move {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 60px;
    }
}

/* ── Linie scan ── */
.ads-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,255,0,0.35), transparent);
    z-index: 2;
    top: 50%;
    animation: ads-scan 4s ease-in-out infinite;
}

@keyframes ads-scan {
    0%,100% {
        transform: translateY(-60px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* ── Particule ── */
.ads-particle {
    position: absolute;
    z-index: 2;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c8ff00;
    animation: ads-float linear infinite;
    opacity: 0;
}

    .ads-particle:nth-child(1) {
        left: 5%;
        top: 20%;
        animation-duration: 7s;
        animation-delay: 0s;
    }

    .ads-particle:nth-child(2) {
        left: 15%;
        top: 70%;
        animation-duration: 9s;
        animation-delay: 1.5s;
        background: #ff3cac;
    }

    .ads-particle:nth-child(3) {
        left: 25%;
        top: 40%;
        animation-duration: 6s;
        animation-delay: 3s;
    }

    .ads-particle:nth-child(4) {
        left: 40%;
        top: 80%;
        animation-duration: 8s;
        animation-delay: 0.5s;
        background: #00d4ff;
    }

    .ads-particle:nth-child(5) {
        left: 55%;
        top: 30%;
        animation-duration: 7s;
        animation-delay: 2s;
    }

    .ads-particle:nth-child(6) {
        left: 70%;
        top: 60%;
        animation-duration: 10s;
        animation-delay: 1s;
        background: #ff3cac;
    }

    .ads-particle:nth-child(7) {
        left: 80%;
        top: 15%;
        animation-duration: 6s;
        animation-delay: 4s;
    }

    .ads-particle:nth-child(8) {
        left: 90%;
        top: 75%;
        animation-duration: 8s;
        animation-delay: 2.5s;
        background: #00d4ff;
    }

@keyframes ads-float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

/* ── Bordura animată jos ── */
.ads-border-bot {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 20;
    background: linear-gradient(90deg, transparent, #c8ff00, #ff3cac, #00d4ff, #c8ff00, transparent);
    background-size: 300% 100%;
    animation: ads-shift 3.5s linear infinite;
}

@keyframes ads-shift {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

/* ── Corner tag ── */
.ads-corner-tag {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 20;
    font-size: clamp(0.35rem, 0.6vw, 0.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,255,0,0.25);
    writing-mode: vertical-rl;
    user-select: none;
}

/* ── Layout grid principal ── */
.ads-inner {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    padding: 0 4%;
    gap: 2%;
}

/* ── STÂNGA ── */
.ads-left {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 10px);
    animation: ads-slide-l 0.8s cubic-bezier(.16,1,.3,1) both;
}

@keyframes ads-slide-l {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.ads-dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8ff00;
    flex-shrink: 0;
    animation: ads-pulse 2s infinite;
}

@keyframes ads-pulse {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(200,255,0,0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(200,255,0,0);
    }
}

.ads-eyebrow-txt {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.45rem, 1vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c8ff00;
}

.ads-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.2rem, 4.2vw, 3.6rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: #f0ede8;
    text-shadow: 0 0 40px rgba(200,255,0,0.15);
}

.ads-title-accent {
    font-style: normal;
    color: #c8ff00;
}

.ads-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.45rem, 1.1vw, 0.78rem);
    color: #8888aa;
    font-weight: 300;
    line-height: 1.5;
    max-width: 320px;
}

/* ── CENTRU ── */
.ads-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    animation: ads-fade-in 0.8s 0.2s ease both;
}

@keyframes ads-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ads-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.ads-ring--outer {
    width: clamp(70px, 12vw, 120px);
    height: clamp(70px, 12vw, 120px);
    border-color: rgba(200,255,0,0.15);
    animation: ads-rotate 12s linear infinite;
}

    .ads-ring--outer::before {
        content: '';
        position: absolute;
        top: -3px;
        left: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #c8ff00;
        transform: translateX(-50%);
    }

.ads-ring--inner {
    width: clamp(48px, 8.5vw, 88px);
    height: clamp(48px, 8.5vw, 88px);
    border-color: rgba(255,60,172,0.12);
    animation: ads-rotate 8s linear infinite reverse;
}

    .ads-ring--inner::before {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ff3cac;
        transform: translateX(-50%);
    }

@keyframes ads-rotate {
    to {
        transform: rotate(360deg);
    }
}

.ads-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ads-stat__num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 4vw, 3.4rem);
    line-height: 1;
    color: #f0ede8;
    text-shadow: 0 0 30px rgba(200,255,0,0.3);
}

.ads-stat__lbl {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.38rem, 0.8vw, 0.58rem);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #555570;
    font-weight: 500;
}

/* ── Separator vertical ── */
.ads-sep {
    width: 1px;
    height: clamp(36px, 8vw, 80px);
    background: linear-gradient(to bottom, transparent, rgba(200,255,0,0.2), transparent);
    flex-shrink: 0;
}

/* ── DREAPTA ── */
.ads-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(6px, 1.5vw, 14px);
    animation: ads-slide-r 0.8s cubic-bezier(.16,1,.3,1) both;
}

@keyframes ads-slide-r {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ads-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ads-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.36rem, 0.8vw, 0.58rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid;
    white-space: nowrap;
}

.ads-badge--lime {
    color: #c8ff00;
    border-color: rgba(200,255,0,0.3);
    background: rgba(200,255,0,0.05);
}

.ads-badge--pink {
    color: #ff3cac;
    border-color: rgba(255,60,172,0.3);
    background: rgba(255,60,172,0.05);
}

.ads-badge--cyan {
    color: #00d4ff;
    border-color: rgba(0,212,255,0.3);
    background: rgba(0,212,255,0.05);
}

.ads-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.ads-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.48rem, 1.2vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #05050a;
    background: #c8ff00;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    padding: clamp(5px, 1.1vw, 9px) clamp(10px, 2.2vw, 20px);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(200,255,0,0.25);
}

    .ads-cta-btn:hover {
        background: #d4ff33;
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(200,255,0,0.45);
    }

    .ads-cta-btn svg {
        flex-shrink: 0;
    }

.ads-cta-note {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.35rem, 0.75vw, 0.56rem);
    color: #555570;
    letter-spacing: 0.06em;
}

/* ── Responsiv ── */
@media (max-width: 900px) {
    .ads-banner-wrap {
        aspect-ratio: 1500 / 320;
    }

    .ads-inner {
        grid-template-columns: 1fr auto;
        gap: 3%;
    }

    .ads-center, .ads-sep {
        display: none;
    }
}

@media (max-width: 600px) {
    .ads-banner-wrap {
        aspect-ratio: auto;
        min-height: 160px;
    }

    .ads-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top:250px;
        padding: 25px;
        
    }

    .ads-right {
        align-items: flex-start;

    }

    .ads-badges {
        justify-content: flex-start;
        height:350px;
    }
}
