/* =====================================================
   AdServerX Demo - Demo-Specific Styles
   ===================================================== */

/* Demo Banner */
.demo-banner {
    background: linear-gradient(135deg, #6c63ff 0%, #574fd6 100%);
    color: white;
    text-align: center;
    padding: 7px 16px;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 1100;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.demo-banner a.btn-light {
    color: #574fd6;
    font-weight: 600;
}

.demo-banner a.btn-outline-light {
    color: white;
}

/* =====================================================
   Splash / Landing Page
   ===================================================== */
.splash-hero {
    background: linear-gradient(135deg, #6c63ff 0%, #574fd6 60%, #3d35b3 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.splash-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.splash-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.splash-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.splash-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.splash-hero .btn-demo {
    background: white;
    color: #6c63ff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.splash-hero .btn-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    color: #574fd6;
}

.feature-card {
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.splash-screenshot {
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    max-width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}

/* =====================================================
   Demo Read-Only Overlay (for admin-only pages)
   ===================================================== */
.demo-readonly-notice {
    background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, rgba(87,79,214,0.08) 100%);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #6c63ff;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .demo-readonly-notice {
    background: rgba(108,99,255,0.12);
    border-color: rgba(108,99,255,0.3);
    color: #a78bfa;
}

/* =====================================================
   Status badge cursor
   ===================================================== */
.badge-clickable {
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.badge-clickable:hover {
    opacity: 0.8;
}

/* =====================================================
   Stat card numbers
   ===================================================== */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* =====================================================
   Ad preview thumbnail
   ===================================================== */
.ad-thumb {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(108,99,255,0.1);
    color: #6c63ff;
    flex-shrink: 0;
}
