@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&display=swap');

:root {
    --ad-bg: #1a1a1a;
    --ad-accent: #00ff88;
    --ad-text-main: #ffffff;
    --ad-text-muted: #a0a0a0;
    --ad-radius: 12px;
}

/* MINI TOP AD */
.ad-mini-wrapper {
    background: linear-gradient(135deg, #020817, #06122b);
    border: 1px solid rgba(98,215,208,0.12);
    border-radius: var(--ad-radius);
    padding: 6px 12px;
    margin: 10px 0 20px;
    overflow: hidden;
    height: 68px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.5s ease;
}

.ad-mini-content {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.ad-mini-logo {
    height: 48px;
    width: auto;
    max-width: 100px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 0 8px rgba(98,215,208,0.2);
}

.ad-mini-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ad-mini-text h4 {
    font-size: 0.85rem;
    margin: 0 0 3px 0;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-mini-text p {
    font-size: 0.75rem;
    margin: 0;
    color: #cbd5e1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ad-mini-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.ad-mini-tag {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #62d7d0;
}

.ad-mini-cta {
    background: linear-gradient(135deg, #8ff3ea, #63d7cf);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: #04111f;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.ad-mini-cta:hover {
    transform: scale(1.03);
}

/* FULLSCREEN CARD */
#ad-full-custom-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ad-full-overlay {
    position: absolute;
    inset: -1px;
    background: linear-gradient(180deg, #020817 0%, #06122b 100%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ad-full-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 110;
}

#ad-full-progress-fill {
    height: 100%;
    background: #62d7d0;
    width: 0%;
}

.ad-full-pause-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    font-size: 0.75rem;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 115;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ad-full-pause-btn:hover { color: #62d7d0; }

.ad-full-columns {
    flex: 1;
    display: flex;
    gap: 14px;
    padding: 20px 14px 10px;
    overflow: hidden;
}

.ad-full-left {
    width: 33%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ad-sponsor-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #62d7d0;
}

#ad-full-logo {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
}

.ad-full-cta-btn {
    background: linear-gradient(135deg, #8ff3ea, #63d7cf);
    color: #04111f;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    align-self: center;
    transition: transform 0.2s ease;
}

.ad-full-cta-btn:hover { transform: scale(1.02); }

.ad-full-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    overflow: hidden;
}

#ad-full-brand {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ad-full-headline {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

#ad-full-description {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
}

.ad-full-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    padding-right: 35px;
    flex-shrink: 0;
}

.ad-full-footer span:empty { display: none; }

.ad-full-footer span {
    font-size: 0.72rem;
    color: #62d7d0;
    background: rgba(98,215,208,0.08);
    border: 1px solid rgba(98,215,208,0.2);
    padding: 3px 10px;
    border-radius: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
