    body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background: #f4f7f8;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            color: #333;
        width: 100%;
        }
        .header1 {
            background: #005f73;
            color: white;
            width: 100%;
            padding: 1rem 0;
            text-align: center;
            font-size: 1.5rem;
            font-weight: bold;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .ad-space {
            width: 90%;
            max-width: 728px;
             min-width: 500px;
            height: 90px;
            background: #e0e0e0;
            border: 2px dashed #bbb;
            margin: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #666;
            font-size: 1.2rem;
            border-radius: 8px;
        }
        .loading-container {
             margin:auto;
            width: 98%;
            max-width: ;
            background: #ddd;
            border-radius: 20px;
            overflow: hidden;
            margin: 2rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
       .loading-bar {
    height: 20px;
    width: 0;
   
    background: linear-gradient(90deg, #0a9396, #94d2bd);
    border-radius: 20px 0 0 20px;
    transition: width 0.1s linear;
    position: relative;
    display: flex;
    align-items: left;
    justify-content: left;
}
.loading-percent {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    left: 0;
    top: 0;
    line-height: 20px;
    pointer-events: none;
}

        .download-button {
            display: none;
            padding: 1rem 2rem;
            font-size: 1.2rem;
            background: #0a9396;
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(10, 147, 150, 0.5);
            transition: background 0.3s ease;
            margin-bottom: 2rem;
        }
        .download-button:hover {
            background: #007f7f;
        }
         .pdf_icon {
                width: 30px;
                            }
        @media (max-width: 600px) {
            .ad-space {
                height: 60px;
                font-size: 1rem;
            }
            .loading-container {
                max-width: 90%;
            }
            .download-button {
                width: 90%;
                font-size: 1rem;
            }
			
        }
/*---------------viewads.php-----------*/

      :root {
            --primary: #7c3aed;
            --primary-light: #a5b4fc;
            --accent: #22d3ee;
            --bg-soft: #f8fafc;
            --surface: #ffffff;
            --text: #1e2937;
            --text-light: #64748b;
            --border: #e2e8f0;
            --success: #10b981;
        }
        
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }
        
        .hero-font {
            font-family: 'Playfair Display', serif;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 50;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo-icon {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, var(--primary), #c4b5fd);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px -3px rgba(124, 58, 237, 0.3);
        }
        
        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px 0;
        }
        
        .card {
            background: var(--surface);
            border-radius: 32px;
            box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.1),
                        inset 0 1px 0 0 rgba(255,255,255,0.8);
            overflow: hidden;
            border: 1px solid var(--border);
            max-width: 980px;
            width: 100%;
        }
        
        .hero {
            text-align: center;
            padding: 48px 40px 32px;
        }
        
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
            padding: 6px 18px;
            border-radius: 9999px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        .title {
            font-size: 52px;
            line-height: 1.05;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
        }
        
        .subtitle {
            font-size: 20px;
            color: var(--text-light);
            max-width: 520px;
            margin: 0 auto;
        }
        
        .timer-section {
            padding: 48px 40px;
            background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
            position: relative;
        }
        
        .timer-container {
            display: flex;
            gap: 64px;
            align-items: center;
        }
        
        .countdown-wrapper {
            flex: 1;
            text-align: center;
        }
        
        #countdown {
            font-size: 120px;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
            line-height: 1;
            color: var(--primary);
            text-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .seconds-label {
            font-size: 15px;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-weight: 600;
            color: var(--text-light);
            margin-top: -12px;
        }
        
        .progress-container {
            position: relative;
            width: 220px;
            height: 220px;
            margin: 32px auto 0;
        }
        
        .progress-ring {
            transform: rotate(-90deg);
        }
        
        .progress-ring-circle {
            transition: stroke-dashoffset 0.35s linear;
        }
        
        .file-preview {
            flex: 1;
            background: white;
            border-radius: 24px;
            padding: 32px;
            box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.08),
                        inset 0 0 0 1px rgba(255,255,255,0.9);
            
            align-items: center;
            gap: 24px;
        }
        
        .pdf-icon {
            width: 92px;
            height: 120px;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 15px 25px -5px rgb(245 158 11 / 0.3);
            position: relative;
        }
        
        .pdf-icon::after {
            content: 'PDF';
            position: absolute;
            bottom: 12px;
            font-size: 11px;
            font-weight: 700;
            color: white;
            letter-spacing: 1px;
        }
        
        .preview-content h3 {
            font-size: 22px;
            margin-bottom: 4px;
            color: var(--text);
        }
        
        .preview-content p {
            color: var(--text-light);
            font-size: 15px;
        }
        
        .secure-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
            padding: 4px 12px;
            border-radius: 9999px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .ads-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            padding: 10px;
            background: #f8fafc;
            width: 100%;
            min-height: 250px;
        }
        
        .ad-slot {
            background: white;
            border-radius: 20px;
            padding: 24px;
            border: 2px dashed #e2e8f0;
            width:100%;
            min-height: 140px;
            min-width: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 12px;
            transition: all 0.3s ease;
        }
        
        .ad-slot:hover {
            border-color: var(--primary-light);
            transform: translateY(-4px);
        }
        
        .ad-placeholder {
            font-size: 42px;
            opacity: 0.6;
        }
        
        .ad-label {
            font-size: 11px;
            color: #94a3b8;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        .cta-section {
            padding: 40px;
            text-align: center;
            background: white;
        }
        
        #download-btn {
            background: linear-gradient(90deg, var(--primary), #c026d3);
            color: white;
            font-size: 19px;
            font-weight: 700;
            padding: 22px 72px;
            border-radius: 9999px;
            border: none;
            cursor: pointer;
            display: none;
            align-items: center;
            gap: 14px;
            box-shadow: 0 20px 25px -5px rgb(124 58 237 / 0.3),
                        0 8px 10px -6px rgb(124 58 237 / 0.3);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }
        
        #download-btn:hover {
            transform: scale(1.08) translateY(-2px);
            box-shadow: 0 30px 40px -10px rgb(124 58 237 / 0.4);
        }
        
        #download-btn:active {
            transform: scale(0.96);
        }
        
        .btn-icon {
            transition: transform 0.3s ease;
        }
        
        #download-btn:hover .btn-icon {
            transform: translateY(3px) rotate(15deg);
        }
        
        footer {
            width:100%;
            padding: 32px 0;
            background: rgba(255,255,255,0.7);
            border-top: 1px solid var(--border);
        }
        
        .footer-ad {
            max-width: 980px;
            margin: 0 auto;
            padding: 0 24px;
        }
        
        .progress-percentage {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
        }
        
        @media (max-width: 768px) {
            .timer-container {
                flex-direction: column;
                gap: 40px;
            }
            #countdown {
                font-size: 92px;
            }
            .progress-container {
                width: 180px;
                height: 180px;
            }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
#download_bounce{
    display:none;
    animation: bounce_once 3s infinite;
}
#download_bounce_icon{
    width:50px;
    
}
#download_bounce_text{
    color:green;
    font-size:200%;
}