/**
 * Google AdSense Replica Stylesheet - Joey Money
 * Authentic Google Display Network Ad styling with live HTML5 animations
 */
@import url('gradient-banners.css');

/* ==========================================================================
   Google Ads Base Container & Chrome
   ========================================================================== */
.google-ad-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.75rem auto;
    max-width: 100%;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #202124;
    user-select: none;
    clear: both;
}

/* Outer label removed as per user preference */
.google-ad-disclaimer-label {
    display: none !important;
}

/* Left AD tag pill removed as per user preference */
.google-ad-tag-pill {
    display: none !important;
}

/* Outer frame matching Google AdSense iframe styling */
.google-ad-frame {
    position: relative;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08), 0 1px 2px rgba(60, 64, 67, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
}

.google-ad-frame:hover {
    box-shadow: 0 4px 12px rgba(60, 64, 67, 0.14);
    border-color: #bec2c8;
}

/* Dark mode compatibility */
[data-theme="dark"] .google-ad-frame {
    background: #1e2433;
    border-color: #374151;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .google-ad-frame .google-ad-body {
    color: #e8eaed;
}

/* ==========================================================================
   Modern Collapsed Google AdChoices Badge with 3 Blue Dots & Hover Expansion
   ========================================================================== */
.google-ad-badge-bar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-left: 1px solid rgba(218, 220, 224, 0.85);
    border-bottom: 1px solid rgba(218, 220, 224, 0.85);
    border-bottom-left-radius: 6px;
    padding: 3px 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

[data-theme="dark"] .google-ad-badge-bar {
    background: rgba(30, 36, 51, 0.94);
    border-color: rgba(75, 85, 99, 0.85);
}

.google-ad-info-group {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    padding: 1px 2px;
    border-radius: 3px;
    transition: background 0.15s ease;
}

.google-ad-info-group:hover {
    background: rgba(66, 133, 244, 0.08);
}

/* Expandable "Ads by Google" text shown ONLY on hover */
.google-ad-hover-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 500;
    color: #5f6368;
    letter-spacing: 0.1px;
    transition: max-width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.22s ease,
                margin 0.22s ease;
    margin-right: 0;
}

[data-theme="dark"] .google-ad-hover-text {
    color: #9ca3af;
}

/* Reveal text smoothly when user hovers on info area or badge */
.google-ad-info-group:hover .google-ad-hover-text,
.google-ad-badge-bar:hover .google-ad-hover-text {
    max-width: 85px;
    opacity: 1;
    margin-right: 4px;
}

/* AdChoices Blue Triangular/Circled Icon */
.google-adchoices-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    color: #00a4e4;
    flex-shrink: 0;
}

.google-adchoices-icon svg {
    width: 100%;
    height: 100%;
}

/* Three Vertical Blue Dots Button */
.google-ad-dots-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 3px 6px;
    min-width: 18px;
    min-height: 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 2px;
    transition: background 0.15s ease;
}

.google-ad-dots-btn:hover {
    background: rgba(26, 115, 232, 0.12);
}

.blue-dot {
    width: 2.8px;
    height: 2.8px;
    border-radius: 50%;
    background-color: #1a73e8;
    display: block;
    transition: transform 0.15s ease;
}

.google-ad-dots-btn:hover .blue-dot {
    transform: scale(1.2);
}

/* ==========================================================================
   Standard Ad Dimensions
   ========================================================================== */
.google-ad-leaderboard {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.google-ad-billboard {
    width: 970px;
    height: 90px;
    max-width: 100%;
}

.google-ad-rectangle {
    width: 300px;
    height: 250px;
    max-width: 100%;
}

.google-ad-large-rectangle {
    width: 336px;
    height: 280px;
    max-width: 100%;
}

.google-ad-skyscraper {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

.google-ad-mobile-banner {
    width: 320px;
    height: 50px;
    max-width: 100%;
}

/* ==========================================================================
   Ad Slides & Multi-Creative Rotation
   ========================================================================== */
.google-ad-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.google-ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateY(4px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.5s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.google-ad-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 5;
}

/* ==========================================================================
   Layout Style A: Leaderboard (Horizontal 728x90 / 970x90)
   ========================================================================== */
.google-ad-leaderboard-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 6px 14px 6px 14px;
    gap: 12px;
}

.ad-brand-col {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ad-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.google-ad-slide:hover .ad-logo-badge {
    transform: scale(1.08) rotate(-3deg);
}

.ad-brand-info {
    display: flex;
    flex-direction: column;
}

.ad-brand-name {
    font-size: 13px;
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .ad-brand-name {
    color: #f8fafc;
}

.ad-verified-icon {
    color: #1a73e8;
    font-size: 11px;
}

.ad-brand-rating {
    font-size: 11px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 1px;
}

.ad-stars {
    color: #fbbc04;
    letter-spacing: -1px;
    font-size: 10px;
}

.ad-pitch-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6px;
    overflow: hidden;
}

.ad-headline {
    font-size: 14px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.google-ad-slide:hover .ad-headline {
    text-decoration: underline;
}

.ad-subline {
    font-size: 11.5px;
    color: #3c4043;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .ad-subline {
    color: #cbd5e1;
}

.ad-tag-highlight {
    background: #e8f0fe;
    color: #1967d2;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

[data-theme="dark"] .ad-tag-highlight {
    background: rgba(26, 115, 232, 0.2);
    color: #8ab4f8;
}

.ad-cta-col {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 18px;
}

/* Google Ads Official Blue Pill CTA Button */
.google-ad-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1a73e8;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 8px 18px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.google-ad-btn:hover {
    background: #1557b0;
    box-shadow: 0 3px 8px rgba(21, 87, 176, 0.45);
    transform: translateY(-1px);
}

/* Subtle Shimmer Light Sweep on Button */
.google-ad-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: gAdShimmer 3.5s infinite;
}

@keyframes gAdShimmer {
    0%, 70% {
        left: -120%;
    }
    100% {
        left: 200%;
    }
}

/* ==========================================================================
   Layout Style B: Medium Rectangle (300x250) - In-Article
   ========================================================================== */
.google-ad-rectangle-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 16px 14px 12px 14px;
    box-sizing: border-box;
}

.ad-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ad-card-brand-title {
    font-size: 13px;
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
}

[data-theme="dark"] .ad-card-brand-title {
    color: #f1f5f9;
}

.ad-card-url {
    font-size: 11px;
    color: #202124;
    opacity: 0.75;
}

[data-theme="dark"] .ad-card-url {
    color: #94a3b8;
}

.ad-card-center {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0;
}

.ad-card-headline {
    font-size: 15px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1.35;
}

.google-ad-slide:hover .ad-card-headline {
    text-decoration: underline;
}

.ad-card-desc {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.45;
}

[data-theme="dark"] .ad-card-desc {
    color: #cbd5e1;
}

.ad-card-bullets {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.ad-bullet-item {
    font-size: 11.5px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.ad-bullet-item span {
    color: #374151;
}

[data-theme="dark"] .ad-bullet-item span {
    color: #e2e8f0;
}

.ad-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
}

[data-theme="dark"] .ad-card-bottom {
    border-top-color: #374151;
}

.ad-card-terms {
    font-size: 9.5px;
    color: #9ca3af;
    max-width: 140px;
    line-height: 1.2;
}

/* ==========================================================================
   Layout Style C: Half-Page Skyscraper (300x600) - Sidebar
   ========================================================================== */
.google-ad-skyscraper-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 24px 16px 16px 16px;
    box-sizing: border-box;
    text-align: center;
}

.ad-sky-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ad-sky-logo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.google-ad-slide:hover .ad-sky-logo {
    transform: scale(1.1) rotate(-4deg);
}

.ad-sky-sponsor {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    font-weight: 600;
}

.ad-sky-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.ad-sky-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #fde68a;
}

[data-theme="dark"] .ad-sky-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

.ad-sky-headline {
    font-size: 18px;
    font-weight: 800;
    color: #1a73e8;
    line-height: 1.35;
}

.google-ad-slide:hover .ad-sky-headline {
    text-decoration: underline;
}

.ad-sky-description {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.5;
}

[data-theme="dark"] .ad-sky-description {
    color: #cbd5e1;
}

/* Animated visual stat card inside 300x600 */
.ad-sky-stat-card {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 6px 0;
}

[data-theme="dark"] .ad-sky-stat-card {
    background: #111827;
    border-color: #374151;
}

.ad-sky-stat-num {
    font-size: 16px;
    font-weight: 800;
    color: #059669;
}

.ad-sky-stat-lbl {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
}

.ad-sky-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.ad-sky-footer .google-ad-btn {
    width: 100%;
    padding: 10px 18px;
    font-size: 13px;
}

.ad-sky-fineprint {
    font-size: 9px;
    color: #9ca3af;
    line-height: 1.3;
}

/* ==========================================================================
   Progress Bar & Scroller Dots removed as requested
   ========================================================================== */
.google-ad-progress-track,
.google-ad-progress-bar,
.google-ad-dots,
.google-ad-dot {
    display: none !important;
}

/* ==========================================================================
   Interactive Google AdChoices Modal & Feedback Overlay
   ========================================================================== */
.google-adchoices-modal {
    position: absolute;
    top: 24px;
    right: 2px;
    width: 220px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(60, 64, 67, 0.25);
    padding: 10px;
    z-index: 10000;
    display: none;
    font-size: 11.5px;
    color: #3c4043;
    animation: gAdFadeIn 0.2s ease;
}

.google-ad-frame.modal-open {
    overflow: visible !important;
    z-index: 9999 !important;
}

.google-ad-frame.modal-open iframe {
    pointer-events: none;
}

.google-ad-frame.ad-dismissed iframe {
    pointer-events: none;
}

/* Full-creative click overlay for HTML5 display creatives */
.google-ad-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: block;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
    outline: none;
}

.google-ad-frame.modal-open .google-ad-click-overlay,
.google-ad-frame.is-dismissed .google-ad-click-overlay,
.google-ad-frame.ad-dismissed .google-ad-click-overlay {
    pointer-events: none !important;
    display: none !important;
}

[data-theme="dark"] .google-adchoices-modal {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.google-adchoices-modal.open {
    display: block;
}

.adchoices-modal-title {
    font-weight: 700;
    color: #202124;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .adchoices-modal-title {
    color: #f9fafb;
}

.adchoices-action-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 6px;
    transition: background 0.15s ease;
}

.adchoices-action-btn:hover {
    background: #fee2e2;
}

.adchoices-modal-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.adchoices-modal-link {
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid #f1f3f4;
}

[data-theme="dark"] .adchoices-modal-link {
    color: #8ab4f8;
    border-bottom-color: #374151;
}

.adchoices-modal-link:hover {
    text-decoration: underline;
}

/* "Ad closed by Google" Dismissal State */
.google-ad-dismissed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 9998;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    animation: gAdFadeIn 0.25s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .google-ad-dismissed-overlay {
    background: #111827;
}

.google-ad-dismissed-overlay.visible {
    display: flex;
}

.google-dismissed-title {
    font-size: 13px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .google-dismissed-title {
    color: #f3f4f6;
}

.google-dismissed-sub {
    font-size: 11px;
    color: #5f6368;
    margin-bottom: 10px;
}

[data-theme="dark"] .google-dismissed-sub {
    color: #9ca3af;
}

.google-dismissed-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.google-dismiss-choice-btn {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 16px;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.15s ease;
}

[data-theme="dark"] .google-dismiss-choice-btn {
    background: #1f2937;
    border-color: #4b5563;
    color: #e5e7eb;
}

.google-dismiss-choice-btn:hover {
    background: #f1f3f4;
    border-color: #1a73e8;
    color: #1a73e8;
}

.google-undo-link {
    font-size: 11px;
    color: #1a73e8;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: underline;
}

/* Simple Fade In */
@keyframes gAdFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Breakpoints for Mobile Google Ads
   ========================================================================== */
@media (max-width: 768px) {
    .google-ad-leaderboard,
    .google-ad-billboard {
        width: 100%;
        height: auto;
        min-height: 80px;
    }

    .google-ad-leaderboard-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 10px 10px 10px;
        gap: 8px;
    }

    .ad-headline {
        white-space: normal;
        font-size: 12.5px;
    }

    .ad-subline {
        white-space: normal;
        font-size: 10.5px;
    }

    .ad-cta-col {
        width: 100%;
        justify-content: flex-end;
        padding-right: 0;
    }

    .google-ad-btn {
        width: 100%;
        text-align: center;
        padding: 6px 12px;
        font-size: 11px;
    }

    .google-ad-skyscraper {
        width: 100%;
        height: auto;
        min-height: 350px;
    }
}

/* ==========================================================================
   Nexus Elite — Modern Home Horizontal AdSense Banner (from Demo-banner)
   ========================================================================== */
.google-ad-nexus-horizontal {
    width: 970px;
    height: 94px;
    max-width: 100%;
    background: #0f1016;
    position: relative;
    overflow: hidden;
}

.nexus-ad-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 16px 0 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Background image & luxury gradient layer */
.nexus-bg-image-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center 35%;
    opacity: 0.85;
    transition: transform 0.6s ease;
    z-index: 1;
}

.google-ad-slide:hover .nexus-bg-image-layer {
    transform: scale(1.04);
}

.nexus-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #100614 0%, #1a0820 38%, rgba(26, 8, 32, 0.92) 50%, rgba(26, 8, 32, 0.4) 75%, rgba(26, 8, 32, 0.1) 100%);
    z-index: 2;
}

/* Curved Magenta Swoop Ribbon from Demo-banner */
.nexus-magenta-swoop {
    position: absolute;
    top: -10px;
    left: -20px;
    width: 170px;
    height: 120px;
    background: linear-gradient(135deg, #bf0070 0%, #e70072 100%);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    opacity: 0.95;
    z-index: 3;
    box-shadow: 0 0 25px rgba(231, 0, 114, 0.4);
}

/* Floating animated accents */
.nexus-deco-plus {
    position: absolute;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 300;
    pointer-events: none;
    z-index: 3;
    animation: nexusSpinPulse 6s infinite linear;
}

.nexus-deco-plus.p1 { top: 12px; left: 160px; animation-duration: 5s; }
.nexus-deco-plus.p2 { bottom: 12px; left: 340px; animation-duration: 7s; }
.nexus-deco-plus.p3 { top: 16px; right: 260px; animation-duration: 6s; }

.nexus-deco-ring {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: nexusFloat 4s infinite ease-in-out;
}

.nexus-deco-ring.r1 { top: 14px; left: 240px; }
.nexus-deco-ring.r2 { bottom: 8px; right: 230px; animation-delay: 2s; }

@keyframes nexusSpinPulse {
    0% { transform: rotate(0deg) scale(0.9); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.15); opacity: 0.85; }
    100% { transform: rotate(360deg) scale(0.9); opacity: 0.4; }
}

@keyframes nexusFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Left Brand Block */
.nexus-brand-block {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 18px;
    min-width: 155px;
    color: #ffffff;
}

.nexus-logo-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nexus-logo-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.nexus-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.1;
}

.nexus-brand-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 8.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Center Pitch Column */
.nexus-pitch-block {
    position: relative;
    z-index: 4;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 16px;
    overflow: hidden;
}

.nexus-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.nexus-pill-badge {
    background: rgba(231, 0, 114, 0.25);
    border: 1px solid #e70072;
    color: #ff60ad;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 1px 7px;
    border-radius: 12px;
}

.nexus-main-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexus-main-heading span.highlight {
    color: #ff3399;
}

.nexus-sub-heading {
    font-size: 11.5px;
    color: #e2e8f0;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexus-sub-heading .dot-sep {
    color: #e70072;
    font-size: 8px;
}

/* Right CTA Block */
.nexus-cta-block {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 22px; /* clearance for 3-dots and badge */
}

/* White & Magenta Pill CTA Button from Demo-banner */
.nexus-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ffffff;
    color: #e70072 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 9px 22px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 14px rgba(231, 0, 114, 0.4);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nexus-cta-btn:hover {
    background: #e70072;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(231, 0, 114, 0.6);
    transform: translateY(-1px) scale(1.02);
}

.nexus-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-25deg);
    animation: gAdShimmer 3.2s infinite;
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 768px) {
    .google-ad-nexus-horizontal {
        width: 100%;
        height: auto;
        min-height: 90px;
    }

    .nexus-ad-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 12px 12px 14px;
        gap: 8px;
    }

    .nexus-bg-image-layer {
        width: 100%;
        opacity: 0.35;
    }

    .nexus-gradient-overlay {
        background: linear-gradient(180deg, rgba(16, 6, 20, 0.85) 0%, rgba(16, 6, 20, 0.95) 100%);
    }

    .nexus-main-heading {
        white-space: normal;
        font-size: 13.5px;
    }

    .nexus-sub-heading {
        white-space: normal;
        font-size: 11px;
    }

    .nexus-cta-block {
        width: 100%;
        justify-content: flex-start;
        padding-right: 0;
    }

    .nexus-cta-btn {
        width: 100%;
        font-size: 11.5px;
        padding: 7px 14px;
    }
}

/* ==========================================================================
   Medical Assistant Needed — Demo-banner/new1 Creative
   ========================================================================== */
.google-ad-medical {
    width: 300px;
    height: 250px;
    background: #ffffff;
    border: 1px solid #bed9de;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.medical-ad-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Doctor photo layer positioned on left */
.medical-photo-layer {
    position: absolute;
    top: 0;
    left: -20px;
    width: 160px;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    transition: transform 0.5s ease;
}

.google-ad-slide:hover .medical-photo-layer {
    transform: scale(1.05);
}

/* Angular cyan and berry color accents from Demo-banner/new1 SVG */
.medical-shape-cyan {
    position: absolute;
    bottom: -15px;
    left: 45px;
    width: 105px;
    height: 140px;
    background: #30b5f5;
    opacity: 0.85;
    clip-path: polygon(30% 0%, 100% 40%, 75% 100%, 0% 100%);
    z-index: 2;
}

.medical-shape-berry {
    position: absolute;
    bottom: -20px;
    left: 95px;
    width: 80px;
    height: 110px;
    background: #d02a6f;
    opacity: 0.9;
    clip-path: polygon(0% 25%, 100% 0%, 90% 100%, 20% 100%);
    z-index: 2;
}

.medical-fade-mask {
    position: absolute;
    top: 0;
    left: 100px;
    width: calc(100% - 100px);
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.98) 25%, #ffffff 40%);
    z-index: 3;
}

/* Content block positioned on right */
.medical-content-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    padding: 16px 12px 12px 6px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.medical-header-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
}

.medical-logo-svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.medical-clinic-label {
    font-family: 'PT Sans', -apple-system, sans-serif;
    font-size: 11.5px;
    color: #757575;
    font-weight: 500;
    line-height: 1.1;
}

.medical-text-center {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 4px 0;
}

.medical-headline-blue {
    font-family: 'PT Sans', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #30b5f5;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.medical-subtitle-berry {
    font-family: 'PT Sans', -apple-system, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #d02a6f;
    line-height: 1.15;
    margin-top: 2px;
}

.medical-perks-list {
    font-size: 10.5px;
    color: #4b5563;
    line-height: 1.35;
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.medical-perk-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.medical-perk-item i {
    color: #30b5f5;
    font-size: 8px;
}

.medical-cta-row {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.medical-apply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #30b5f5;
    color: #ffffff !important;
    font-family: 'PT Sans', -apple-system, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(48, 181, 245, 0.4);
    overflow: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.medical-apply-btn:hover {
    background: #1da0e0;
    box-shadow: 0 4px 10px rgba(29, 160, 224, 0.55);
    transform: translateY(-1px);
}

.medical-apply-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: gAdShimmer 3s infinite;
}

/* ==========================================================================
   Travel Deals / Discover the World Animated GIF Banner (from Demo-banner/gif.gif)
   ========================================================================== */
.google-ad-travel-gif {
    width: 300px;
    height: 250px;
    background: #ffffff;
    border: 1px solid #cce5cc;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.travel-gif-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.travel-gif-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.travel-gif-link:hover .travel-gif-media {
    transform: scale(1.03);
}

.travel-gif-hover-cta {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: #4caf50;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    opacity: 0.95;
    transition: all 0.2s ease;
}

.travel-gif-link:hover .travel-gif-hover-cta {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 142, 60, 0.55);
}

/* ==========================================================================
   Global Site Header Ads Zone (Billboard 970x94 + Medical Clinic 300x250)
   ========================================================================== */
.site-header-ads-zone {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    width: 100%;
    position: relative;
    z-index: 20;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .site-header-ads-zone {
    background: #0f1422;
    border-bottom-color: #1e293b;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-header-ads-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.header-ads-flex-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.header-ad-col-billboard {
    display: flex;
    justify-content: center;
    flex: 0 1 auto;
    max-width: 100%;
}

.header-ad-col-medical {
    display: flex;
    justify-content: center;
    flex: 0 0 300px;
    max-width: 100%;
}

@media (max-width: 1330px) {
    .site-header-ads-zone {
        padding: 14px 0;
    }
    
    .header-ads-flex-layout {
        flex-direction: column;
        gap: 16px;
    }
}

