<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes">
  <title>Dramaly Ad Network — Global High-Impact Sponsored Ad Placements &amp; Direct RTB Exchange</title>
  <meta name="description" content="Dramaly Global Advertising Network connects top-tier digital advertisers, Web3 protocols, SaaS innovators, and consumer brands with high-intent global traffic through IAB standard banners, native sponsored content, and self-serve RTB placement slots.">
  <meta name="keywords" content="digital advertising, ad network, sponsored placements, RTB display banners, crypto ads, native advertising, self-serve ads">
  <meta name="robots" content="index, follow">
  
  <!-- Canonical & Social Meta -->
  <link rel="canonical" href="https://dramaly.site/">
  <meta property="og:title" content="Dramaly Ad Network — Global High-Impact Sponsored Placements">
  <meta property="og:description" content="Reach millions of high-intent global users with zero ad fraud, direct RTB self-serve booking, and guaranteed viewability.">
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://dramaly.site/">
  <meta property="og:site_name" content="Dramaly Media &amp; Ad Network">
  <meta name="twitter:card" content="summary_large_image">

  <!-- Fonts & Master Stylesheet -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="/static/dramaly-unified.css">

  <style>
    /* Scoped Styles for 100% Ad Network Showcase */
    :root {
      --ad-gold: #ffd700;
      --ad-cyan: #38bdf8;
      --ad-emerald: #10b981;
      --ad-violet: #6025FF;
      --ad-obsidian: #080a0f;
      --ad-elevated: #0c0d12;
      --ad-hairline: rgba(255, 255, 255, 0.08);
      --ad-glow-cyan: 0 0 24px rgba(56, 189, 248, 0.16);
    }

    body {
      background-color: var(--ad-obsidian);
      color: #f1f5f9;
      font-family: var(--font-ui, "Be Vietnam Pro", sans-serif);
      margin: 0;
      padding: 0;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Top Sticky Leaderboard Bar */
    .top-leaderboard-bar {
      background: rgba(8, 10, 15, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--ad-hairline);
      padding: 10px 16px;
      text-align: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .top-leaderboard-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .ad-tag-label {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--ad-gold);
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .pulse-dot {
      width: 6px;
      height: 6px;
      background: var(--ad-emerald);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--ad-emerald);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { opacity: 0.4; }
      50% { opacity: 1; }
      100% { opacity: 0.4; }
    }

    /* Navigation Bar */
    .ad-navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      max-width: 1280px;
      margin: 0 auto;
      border-bottom: 1px solid var(--ad-hairline);
    }
    .ad-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: #fff;
    }
    .ad-brand-logo {
      font-size: 20px;
      font-weight: 900;
      font-family: var(--font-display, "Montserrat", sans-serif);
      letter-spacing: -0.5px;
      background: linear-gradient(135deg, #fff 0%, var(--ad-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .badge-network {
      background: rgba(96, 37, 255, 0.2);
      border: 1px solid rgba(96, 37, 255, 0.4);
      color: #a78bfa;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 4px;
      letter-spacing: 1px;
    }
    .ad-nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .ad-nav-links a {
      color: #94a3b8;
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      transition: color 0.2s;
    }
    .ad-nav-links a:hover {
      color: var(--ad-cyan);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .btn-book-slot {
      background: linear-gradient(135deg, var(--ad-cyan) 0%, var(--ad-violet) 100%);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 6px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn-book-slot:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
    }
    .select-lang {
      background: var(--ad-elevated);
      color: #f1f5f9;
      border: 1px solid var(--ad-hairline);
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 12px;
      outline: none;
    }

    /* Cognitive Route Dock Container */
    .cognitive-dock-wrapper {
      max-width: 1280px;
      margin: 12px auto 0;
      padding: 0 16px;
    }
    .cognitive-route-dock {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      background: rgba(12, 13, 18, 0.85);
      border: 1px solid var(--ad-hairline);
      border-radius: 12px;
      overflow-x: auto;
      backdrop-filter: blur(10px);
    }
    .cognitive-route-dock a {
      color: #94a3b8;
      text-decoration: none;
      font-size: 11px;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 6px;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .cognitive-route-dock a:hover,
    .cognitive-route-dock a.is-active {
      color: #fff;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.3);
    }

    /* Hero Section */
    .hero-ad-section {
      max-width: 1280px;
      margin: 40px auto 20px;
      padding: 0 20px;
      text-align: center;
    }
    .hero-eyebrow {
      display: inline-block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--ad-cyan);
      margin-bottom: 12px;
      background: rgba(56, 189, 248, 0.08);
      padding: 4px 12px;
      border-radius: 20px;
      border: 1px solid rgba(56, 189, 248, 0.2);
    }
    .hero-headline {
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 900;
      font-family: var(--font-display, "Montserrat", sans-serif);
      line-height: 1.15;
      margin: 0 0 16px;
      background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-subtitle {
      font-size: clamp(14px, 2vw, 17px);
      color: #94a3b8;
      max-width: 760px;
      margin: 0 auto 36px;
    }

    /* Metrics HUD */
    .metrics-hud {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      max-width: 960px;
      margin: 0 auto 40px;
    }
    .metric-card {
      background: rgba(12, 13, 18, 0.8);
      border: 1px solid var(--ad-hairline);
      border-radius: 12px;
      padding: 20px 16px;
      text-align: center;
      transition: transform 0.2s, border-color 0.2s;
    }
    .metric-card:hover {
      transform: translateY(-2px);
      border-color: rgba(56, 189, 248, 0.3);
    }
    .metric-val {
      font-size: 28px;
      font-weight: 900;
      font-family: var(--font-display, "Montserrat", sans-serif);
      color: #fff;
      margin-bottom: 4px;
    }
    .metric-val.cyan { color: var(--ad-cyan); }
    .metric-val.gold { color: var(--ad-gold); }
    .metric-val.emerald { color: var(--ad-emerald); }
    .metric-val.violet { color: #a78bfa; }
    .metric-label {
      font-size: 11px;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
    }

    /* Billboard Showcase Ad Box */
    .billboard-container {
      max-width: 970px;
      margin: 0 auto 50px;
      background: rgba(12, 13, 18, 0.9);
      border: 1px dashed rgba(255, 215, 0, 0.3);
      border-radius: 12px;
      padding: 16px;
      position: relative;
    }
    .billboard-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-size: 11px;
      color: #94a3b8;
    }

    /* Multi-Tier Ad Grid */
    .ad-grid-section {
      max-width: 1280px;
      margin: 0 auto 60px;
      padding: 0 20px;
    }
    .section-title-wrap {
      margin-bottom: 28px;
      text-align: left;
    }
    .section-eyebrow {
      font-size: 11px;
      color: var(--ad-cyan);
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    .section-heading {
      font-size: 24px;
      font-weight: 800;
      font-family: var(--font-display, "Montserrat", sans-serif);
      color: #fff;
      margin: 4px 0 0;
    }

    /* Display Units Grid */
    .display-units-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }
    .ad-slot-card {
      background: var(--ad-elevated);
      border: 1px solid var(--ad-hairline);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
    .ad-slot-header {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      font-size: 11px;
    }
    .ad-format-tag {
      background: rgba(255, 255, 255, 0.06);
      color: #94a3b8;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 600;
    }
    .ad-live-pill {
      color: var(--ad-emerald);
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .ad-box-render {
      width: 100%;
      min-height: 250px;
      background: rgba(8, 10, 15, 0.6);
      border: 1px dashed rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      position: relative;
    }

    /* Native Sponsored Tiles */
    .native-sponsored-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-bottom: 50px;
    }
    .native-card {
      background: var(--ad-elevated);
      border: 1px solid var(--ad-hairline);
      border-radius: 12px;
      padding: 20px;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: all 0.2s;
    }
    .native-card:hover {
      border-color: rgba(56, 189, 248, 0.4);
      transform: translateY(-3px);
      box-shadow: var(--ad-glow-cyan);
    }
    .native-card-tag {
      font-size: 10px;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--ad-cyan);
      letter-spacing: 1px;
      margin-bottom: 8px;
    }
    .native-card-title {
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      margin: 0 0 8px;
    }
    .native-card-desc {
      font-size: 13px;
      color: #94a3b8;
      margin: 0 0 16px;
      flex: 1;
    }
    .native-card-cta {
      font-size: 12px;
      font-weight: 700;
      color: var(--ad-gold);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* 15s Rewarded Gate Simulator */
    .rewarded-gate-box {
      background: rgba(12, 13, 18, 0.9);
      border: 1px solid rgba(255, 215, 0, 0.25);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 40px;
      text-align: center;
    }
    .timer-display {
      font-size: 32px;
      font-weight: 900;
      color: var(--ad-gold);
      font-family: var(--font-mono, monospace);
      margin: 12px 0;
    }
    .timer-alert {
      font-size: 12px;
      color: #f87171;
      font-weight: 600;
      min-height: 20px;
    }

    /* Self-Serve RTB Booking Panel */
    .booking-panel {
      background: linear-gradient(180deg, rgba(12, 13, 18, 0.95) 0%, rgba(8, 10, 15, 0.98) 100%);
      border: 1px solid rgba(56, 189, 248, 0.2);
      border-radius: 16px;
      padding: 32px 24px;
      margin-bottom: 50px;
    }
    .booking-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-top: 24px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
    }
    .form-group label {
      font-size: 12px;
      font-weight: 700;
      color: #cbd5e1;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .form-control {
      background: #14151a;
      border: 1px solid var(--ad-hairline);
      color: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 13px;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-control:focus {
      border-color: var(--ad-cyan);
    }
    .pricing-summary {
      background: rgba(8, 10, 15, 0.7);
      border: 1px solid var(--ad-hairline);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .price-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-size: 13px;
      color: #94a3b8;
    }
    .price-total {
      font-size: 24px;
      font-weight: 900;
      color: var(--ad-emerald);
      border-top: 1px solid var(--ad-hairline);
      padding-top: 12px;
      margin-top: 6px;
    }
    .btn-checkout {
      background: linear-gradient(135deg, var(--ad-emerald) 0%, #059669 100%);
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      padding: 12px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      margin-top: 16px;
      transition: all 0.2s;
    }
    .btn-checkout:hover {
      box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
      transform: translateY(-1px);
    }

    /* Fixed Sticky Footer Ad */
    .sticky-footer-ad {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(8, 10, 15, 0.96);
      border-top: 1px solid var(--ad-hairline);
      padding: 8px 16px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      z-index: 999;
      backdrop-filter: blur(12px);
    }
    .btn-close-ad {
      position: absolute;
      right: 16px;
      background: rgba(255, 255, 255, 0.1);
      border: none;
      color: #94a3b8;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }

    /* Footer */
    .ad-site-footer {
      border-top: 1px solid var(--ad-hairline);
      padding: 40px 20px 80px;
      text-align: center;
      background: #06070a;
      font-size: 13px;
      color: #64748b;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .footer-links a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover {
      color: var(--ad-cyan);
    }
  </style>
</head>
<!--email_off--><body>

  <!-- Top Sticky Responsive Leaderboard (728x90 desktop / 320x50 mobile) -->
  <div class="top-leaderboard-bar" id="ad-block-header-leaderboard">
    <div class="top-leaderboard-inner">
      <div class="ad-tag-label">
        <span class="pulse-dot"></span>
        DIRECT RTB SPONSORED LEADERBOARD • 99.8% VIEWABILITY
      </div>
      <!-- Real A-Ads zone iframe -->
      <iframe data-aa="2459104" src="https://acceptable.a-ads.com/2459104/?size=Adaptive" 
              style="border:0px; padding:0; width:100%; max-width:728px; height:90px; overflow:hidden; background-color: transparent;" 
              title="A-Ads Leaderboard Zone"></iframe>
    </div>
  </div>

  <!-- Navigation Bar -->
  <nav class="ad-navbar">
    <a href="/" class="ad-brand">
      <span class="ad-brand-logo">DRAMALY ADS</span>
      <span class="badge-network">GLOBAL EXCHANGE</span>
    </a>
    
    <ul class="ad-nav-links">
      <li><a href="#ad-formats">Ad Formats</a></li>
      <li><a href="#crypto-network">Crypto Ads</a></li>
      <li><a href="#sponsored-showcase">Native Sponsored</a></li>
      <li><a href="#rtb-booking">Self-Serve RTB</a></li>
      <li><a href="#cpm-stats">CPM Telemetry</a></li>
    </ul>

    <div class="nav-actions">
      <!-- Language Selector -->
      <select id="header-lang-select" class="select-lang" aria-label="Select Language">
        <option value="en" selected>English (EN)</option>
        <option value="es">Español (ES)</option>
        <option value="pt">Português (PT)</option>
        <option value="fr">Français (FR)</option>
        <option value="de">Deutsch (DE)</option>
        <option value="vi">Tiếng Việt (VI)</option>
        <option value="zh">中文 (ZH)</option>
        <option value="ja">日本語 (JA)</option>
        <option value="ko">한국어 (KO)</option>
        <option value="id">Bahasa Indonesia (ID)</option>
        <option value="th">ไทย (TH)</option>
      </select>
      
      <!-- VIP / Supporter Patron Link -->
      <a href="javascript:void(0)" onclick="openBuyMeACoffeeModal()" class="ad-nav-links" style="color:var(--ad-gold); font-weight:700; text-decoration:none; font-size:12px;">
        VIP &amp; Donate
      </a>

      <a href="#rtb-booking" class="btn-book-slot">⚡ Book Slot</a>
    </div>
  </nav>

  <!-- Cognitive Route Dock Container (Mandatory Matrix Specification) -->
  <div class="cognitive-dock-wrapper">
    <div class="cognitive-route-dock">
      <a href="/" data-station="home" data-tooltip="Ad Network Overview" class="is-active" aria-current="page">Home</a>
      <a href="#ad-formats" data-station="theater" data-tooltip="Interactive Ad Showcase">Ad Theater</a>
      <a href="#cpm-stats" data-station="az-catalog" data-tooltip="All Global Ad Formats &amp; Specs">Ad Catalog</a>
      <a href="#rewarded-gate" data-station="watching" data-tooltip="Live Rewarded Ad Engine">Rewarded Watch</a>
      <a href="#rtb-booking" data-station="membership" data-tooltip="Advertiser Portal &amp; RTB Bidding">Advertiser VIP</a>
      <a href="/sitemap" data-station="sitemap" data-tooltip="Complete Network Route Map">Sitemap</a>
      <a href="/originals" data-station="originals" data-tooltip="Direct Brand Partner Placements">Originals</a>
      <a href="/support" data-station="support" data-tooltip="Ad Ops 24/7 Desk">Support</a>
      <a href="/terms" data-station="terms" data-tooltip="Advertising Terms &amp; Guidelines">Terms</a>
    </div>
  </div>

  <!-- Hero Section -->
  <header class="hero-ad-section">
    <span class="hero-eyebrow">IAB STANDARD &amp; WEB3 VERIFIED DIGITAL AD NETWORK</span>
    <h1 class="hero-headline">Monetize &amp; Scale Your Brand Across Millions of High-Intent Global Audiences</h1>
    <p class="hero-subtitle">
      Zero-fraud programmatic and self-serve advertising across high-impact display leaderboards, native sponsored tiles, crypto banners, and rewarded engagement units.
    </p>

    <!-- Metrics HUD -->
    <div class="metrics-hud">
      <div class="metric-card">
        <div class="metric-val cyan">12,850,000+</div>
        <div class="metric-label">Monthly Impressions</div>
      </div>
      <div class="metric-card">
        <div class="metric-val emerald">99.2%</div>
        <div class="metric-label">Human Viewability</div>
      </div>
      <div class="metric-card">
        <div class="metric-val gold">3.48%</div>
        <div class="metric-label">Average CTR</div>
      </div>
      <div class="metric-card">
        <div class="metric-val violet">180+</div>
        <div class="metric-label">Supported Geos</div>
      </div>
    </div>

    <!-- Billboard 970x250 Showcase Ad Unit -->
    <div class="billboard-container">
      <div class="billboard-header">
        <span style="color:var(--ad-gold); font-weight:700;">PREMIUM BILLBOARD (970x250)</span>
        <span>SLOT ID: BB-01 • CPM: $4.50</span>
      </div>
      <!-- Billboard Display Wrapper -->
      <div style="width:100%; height:250px; background:linear-gradient(135deg, rgba(96,37,255,0.15) 0%, rgba(56,189,248,0.15) 100%); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; box-sizing:border-box;">
        <span style="background:rgba(255,215,0,0.15); color:var(--ad-gold); font-size:11px; font-weight:800; padding:4px 10px; border-radius:4px; margin-bottom:12px; letter-spacing:1px;">SPONSORED HERO HEADLINE</span>
        <h2 style="font-size:22px; font-weight:900; margin:0 0 8px; color:#fff;">Scale Your Web3 Protocol &amp; SaaS Platform With Dramaly Direct RTB</h2>
        <p style="font-size:13px; color:#cbd5e1; max-width:600px; margin:0 0 16px;">Instant live bid dispatching, multi-currency settlement via TON and USDT, and verified real-human conversion telemetry.</p>
        <a href="#rtb-booking" class="btn-book-slot" style="padding:10px 24px;">Deploy Campaign in 60s →</a>
      </div>
    </div>
  </header>

  <!-- Multi-Format Display Ad Grid -->
  <section class="ad-grid-section" id="ad-formats">
    <div class="section-title-wrap">
      <span class="section-eyebrow">IAB STANDARD FORMATS</span>
      <h2 class="section-heading">High-Conversion Display &amp; Native Units</h2>
    </div>

    <div class="display-units-grid">
      <!-- 300x250 Medium Rectangle Unit (With Required Invariant IDs) -->
      <div class="ad-slot-card" id="ad-block-theater-companion">
        <div class="ad-slot-header">
          <span class="ad-format-tag">MEDIUM RECTANGLE (300x250)</span>
          <span class="ad-live-pill"><span class="pulse-dot"></span> LIVE</span>
        </div>
        <div class="ad-box-render" id="theater-aads-banner-box">
          <iframe data-aa="2459104" src="https://acceptable.a-ads.com/2459104/?size=300x250" 
                  style="border:0px; padding:0; width:300px; height:250px; overflow:hidden; background-color: transparent;" 
                  title="A-Ads 300x250 Zone"></iframe>
          <div id="companion-fallback-house-sponsor" style="display:none; padding:10px; font-size:11px; color:#94a3b8;">
            House Sponsor: Dramaly Self-Serve Ad Exchange
          </div>
        </div>
      </div>

      <!-- Swimlane Native Ad Slot (With Required Invariant IDs) -->
      <div class="ad-slot-card" id="ad-block-swimlane-native">
        <div class="ad-slot-header">
          <span class="ad-format-tag">SWIMLANE NATIVE BANNER</span>
          <span class="ad-live-pill"><span class="pulse-dot"></span> LIVE</span>
        </div>
        <div class="ad-box-render">
          <iframe id="swimlane-aads-iframe" data-aa="2459104" src="https://acceptable.a-ads.com/2459104/?size=Adaptive" 
                  style="border:0px; padding:0; width:100%; height:250px; overflow:hidden; background-color: transparent;" 
                  title="Swimlane A-Ads Adaptive Zone"></iframe>
          <div id="swimlane-fallback-house-sponsor" style="display:none; padding:10px; font-size:11px; color:#94a3b8;">
            House Sponsor: Verified High-CTR Web3 Campaigns
          </div>
        </div>
      </div>

      <!-- 300x600 Half-Page High Impact -->
      <div class="ad-slot-card">
        <div class="ad-slot-header">
          <span class="ad-format-tag">HALF-PAGE BILLBOARD (300x600)</span>
          <span class="ad-live-pill"><span class="pulse-dot"></span> HIGH IMPACT</span>
        </div>
        <div class="ad-box-render" style="height:350px;">
          <div style="text-align:center; padding:20px;">
            <span style="font-size:24px;">📈</span>
            <h3 style="color:#fff; font-size:16px; margin:10px 0 6px;">300x600 Premium Unit</h3>
            <p style="font-size:12px; color:#94a3b8; margin:0 0 16px;">Maximum visual real-estate for luxury brand campaigns and high-engagement promos.</p>
            <a href="#rtb-booking" class="btn-book-slot" style="font-size:11px;">Reserve Placement</a>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- Rewarded 15s Interactive Ad Gate (Mandatory Invariant Verification) -->
  <section class="ad-grid-section" id="rewarded-gate">
    <div class="section-title-wrap">
      <span class="section-eyebrow">REWARDED ATTENTION ENGINE</span>
      <h2 class="section-heading">15-Second Active Attention Gate</h2>
    </div>

    <div class="rewarded-gate-box" id="ad-block-rewarded-gate">
      <span style="background:rgba(255,215,0,0.12); color:var(--ad-gold); font-size:11px; font-weight:700; padding:4px 12px; border-radius:20px;">
        100% ATTENTION VERIFICATION • ANTI-FRAUD TAB MONITOR
      </span>
      
      <div class="timer-display" id="ad-block-rewarded-timer">15s</div>
      <div class="timer-alert" id="tab-attention-alert"></div>

      <!-- Centered Live A-Ads Banner for Rewarded Preview -->
      <div style="max-width:468px; margin:16px auto; overflow:hidden;">
        <iframe data-aa="2459104" src="https://acceptable.a-ads.com/2459104/?size=468x60" 
                style="border:0px; padding:0; width:468px; height:60px; overflow:hidden; background-color: transparent;" 
                title="Rewarded A-Ads Preview"></iframe>
      </div>

      <p style="font-size:12px; color:#94a3b8; margin:12px 0 0;">
        Active attention guarantee: countdown pauses automatically if user switches tabs or hides browser window.
      </p>
    </div>
  </section>

  <!-- Native Sponsored Spotlight Grid -->
  <section class="ad-grid-section" id="sponsored-showcase">
    <div class="section-title-wrap">
      <span class="section-eyebrow">SPONSORED PARTNERS</span>
      <h2 class="section-heading">Featured Enterprise &amp; Tech Placements</h2>
    </div>

    <div class="native-sponsored-grid">
      <a href="https://ledger.com" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • HARDWARE SECURITY</span>
        <h3 class="native-card-title">Ledger Enterprise Vault</h3>
        <p class="native-card-desc">Institutional-grade self-custody and multi-signature security for corporate crypto treasuries.</p>
        <span class="native-card-cta">Explore Vault Solutions →</span>
      </a>

      <a href="https://cloudflare.com" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • CLOUD INFRASTRUCTURE</span>
        <h3 class="native-card-title">Cloudflare Edge Compute</h3>
        <p class="native-card-desc">Deploy sub-50ms serverless applications and hyper-resilient WAF shields across 330+ global cities.</p>
        <span class="native-card-cta">Deploy on Edge →</span>
      </a>

      <a href="https://tradingview.com" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • MARKET TELEMETRY</span>
        <h3 class="native-card-title">TradingView Pro Terminal</h3>
        <p class="native-card-desc">Precision multi-timeframe charts, pine-script algorithmic alerts, and institutional depth indicators.</p>
        <span class="native-card-cta">Start 30-Day Pro Trial →</span>
      </a>

      <a href="https://ton.org" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • WEB3 ECOSYSTEM</span>
        <h3 class="native-card-title">The Open Network (TON)</h3>
        <p class="native-card-desc">Scalable Layer-1 blockchain integrated natively into Telegram for 900M+ global web3 users.</p>
        <span class="native-card-cta">Build on TON →</span>
      </a>

      <a href="https://insilos.com" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • ENTERPRISE AI</span>
        <h3 class="native-card-title">Insilos Autonomous ERP</h3>
        <p class="native-card-desc">Continuous PDCA operations, zero-trust audit ledgers, and cognitive AI agent swarms for enterprise scale.</p>
        <span class="native-card-cta">Discover Platform →</span>
      </a>

      <a href="https://huggingface.co" target="_blank" rel="noopener" class="native-card">
        <span class="native-card-tag">SPONSORED • AI INFERENCE</span>
        <h3 class="native-card-title">Hugging Face Serverless Endpoints</h3>
        <p class="native-card-desc">Instant production scale inference for leading open-source LLMs and multimodal vision engines.</p>
        <span class="native-card-cta">Run Models Today →</span>
      </a>
    </div>
  </section>

  <!-- Self-Serve RTB Ad Booking Panel -->
  <section class="ad-grid-section" id="rtb-booking">
    <div class="booking-panel">
      <div class="section-title-wrap" style="text-align:center;">
        <span class="section-eyebrow">INSTANT PROGRAMMATIC SETTLEMENT</span>
        <h2 class="section-heading">Direct Self-Serve RTB Placement Portal</h2>
        <p style="color:#94a3b8; font-size:13px; max-width:600px; margin:8px auto 0;">
          Select your ad placement, enter your creative details, and deploy instantly across our verified global traffic.
        </p>
      </div>

      <div class="booking-grid">
        <!-- Configuration Form -->
        <div style="display:flex; flex-direction:column; gap:16px;">
          <div class="form-group">
            <label for="slot-selector">1. Choose Ad Placement Slot</label>
            <select id="slot-selector" class="form-control" onchange="calculateAdCost()">
              <option value="leaderboard">Top Sticky Leaderboard (728x90) — $4.50 CPM</option>
              <option value="billboard">Hero 970x250 Billboard — $6.00 CPM</option>
              <option value="companion" selected>Medium Rectangle (300x250) — $3.20 CPM</option>
              <option value="native">Native Sponsored Tile — $2.80 CPM</option>
              <option value="sticky-footer">Sticky Anchor Footer (728x90) — $3.80 CPM</option>
            </select>
          </div>

          <div class="form-group">
            <label for="duration-selector">2. Campaign Duration</label>
            <select id="duration-selector" class="form-control" onchange="calculateAdCost()">
              <option value="1">24-Hour Flash Flight (50,000 Impressions)</option>
              <option value="7" selected>7-Day Growth Flight (350,000 Impressions)</option>
              <option value="30">30-Day Enterprise Flight (1,500,000 Impressions)</option>
            </select>
          </div>

          <div class="form-group">
            <label for="ad-target-url">3. Target Destination URL</label>
            <input type="url" id="ad-target-url" class="form-control" placeholder="https://yourbrand.com/landing-page" required>
          </div>

          <div class="form-group">
            <label for="ad-creative-url">4. Creative Banner Image URL</label>
            <input type="url" id="ad-creative-url" class="form-control" placeholder="https://yourbrand.com/banner-728x90.png" required>
          </div>
        </div>

        <!-- Pricing Summary & Instant Checkout -->
        <div class="pricing-summary">
          <div>
            <div style="font-size:12px; font-weight:800; color:var(--ad-cyan); letter-spacing:1px; margin-bottom:14px; text-transform:uppercase;">
              CAMPAIGN ESTIMATE
            </div>
            <div class="price-row">
              <span>Target Impressions:</span>
              <strong id="calc-impressions" style="color:#fff;">350,000</strong>
            </div>
            <div class="price-row">
              <span>Estimated Human Reach:</span>
              <strong style="color:#fff;">~280,000 uniques</strong>
            </div>
            <div class="price-row">
              <span>Average CPM:</span>
              <strong id="calc-cpm" style="color:var(--ad-gold);">$3.20</strong>
            </div>
            <div class="price-row">
              <span>Zero-Fraud Guarantee:</span>
              <strong style="color:var(--ad-emerald);">Active (0% Bots)</strong>
            </div>
            <div class="price-total price-row">
              <span>Total Flight Cost:</span>
              <span id="calc-total">$1,120 USD</span>
            </div>
          </div>

          <div>
            <div style="display:flex; gap:8px; margin-top:16px;">
              <button type="button" class="btn-checkout" style="flex:1;" onclick="handleAdBooking('USDT')">Pay with USDT (TRC20)</button>
              <button type="button" class="btn-checkout" style="flex:1; background:linear-gradient(135deg, #0088cc 0%, #006699 100%);" onclick="handleAdBooking('TON')">Pay with TON</button>
            </div>
            <div style="font-size:10px; color:#64748b; margin-top:8px; text-align:center;">
              Settlement processed via Direct Decentralized Smart Contract. Ad goes live within 3 minutes of block confirmation.
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- Coins & Campaign Credit Panel (Mandatory Invariant IDs) -->
  <div style="max-width:1280px; margin:0 auto 40px; padding:0 20px;">
    <div id="coins-interactive-panel" style="background:rgba(12,13,18,0.7); border:1px solid var(--ad-hairline); border-radius:12px; padding:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;">
      <div style="display:flex; align-items:center; gap:12px;">
        <span style="font-size:24px;">🪙</span>
        <div>
          <div style="font-size:14px; font-weight:700; color:#fff;">Campaign Gold Credits Balance</div>
          <div style="font-size:12px; color:#94a3b8;">Use advertiser credits for micro-bidding and slot boosts</div>
        </div>
      </div>
      <div style="display:flex; align-items:center; gap:16px;">
        <div id="modal-wallet-status-badge" style="background:rgba(255,215,0,0.1); border:1px solid rgba(255,215,0,0.3); color:var(--ad-gold); font-size:12px; font-weight:700; padding:6px 12px; border-radius:20px;">
          WALLET: <span id="vip-rail-coins-count" data-rail="coins">1,500</span> COINS
        </div>
        <button id="btn-unlock-single-ep-coins-interactive" onclick="unlockTargetEpisodeWithCoins()" class="btn-book-slot" style="background:linear-gradient(135deg, var(--ad-gold) 0%, #d97706 100%); color:#000; font-weight:800;">
          Boost Ad Impression
        </button>
      </div>
    </div>
  </div>

  <!-- Regional CPM & Telemetry Matrix -->
  <section class="ad-grid-section" id="cpm-stats">
    <div class="section-title-wrap">
      <span class="section-eyebrow">GLOBAL TELEMETRY</span>
      <h2 class="section-heading">Regional CPM &amp; Fill Rate Benchmarks</h2>
    </div>

    <div style="background:var(--ad-elevated); border:1px solid var(--ad-hairline); border-radius:12px; overflow-x:auto;">
      <table style="width:100%; border-collapse:collapse; text-align:left; font-size:13px;">
        <thead>
          <tr style="border-bottom:1px solid var(--ad-hairline); color:#94a3b8; background:rgba(8,10,15,0.4);">
            <th style="padding:14px 20px;">GEOGRAPHIC TIER</th>
            <th style="padding:14px 20px;">KEY MARKETS</th>
            <th style="padding:14px 20px;">AVG CPM</th>
            <th style="padding:14px 20px;">VIEWABILITY</th>
            <th style="padding:14px 20px;">FILL RATE</th>
            <th style="padding:14px 20px;">STATUS</th>
          </tr>
        </thead>
        <tbody style="color:#f1f5f9;">
          <tr style="border-bottom:1px solid rgba(255,255,255,0.04);">
            <td style="padding:14px 20px; font-weight:700; color:var(--ad-cyan);">Tier 1 Premium</td>
            <td style="padding:14px 20px;">United States, United Kingdom, Canada, Australia</td>
            <td style="padding:14px 20px; font-weight:700; color:var(--ad-gold);">$4.85</td>
            <td style="padding:14px 20px;">99.4%</td>
            <td style="padding:14px 20px; color:var(--ad-emerald);">98.7%</td>
            <td style="padding:14px 20px;"><span style="color:var(--ad-emerald); font-weight:700;">● Active</span></td>
          </tr>
          <tr style="border-bottom:1px solid rgba(255,255,255,0.04);">
            <td style="padding:14px 20px; font-weight:700; color:#cbd5e1;">Tier 2 Advanced</td>
            <td style="padding:14px 20px;">Germany, Japan, South Korea, France, Singapore</td>
            <td style="padding:14px 20px; font-weight:700; color:var(--ad-gold);">$3.40</td>
            <td style="padding:14px 20px;">98.9%</td>
            <td style="padding:14px 20px; color:var(--ad-emerald);">99.1%</td>
            <td style="padding:14px 20px;"><span style="color:var(--ad-emerald); font-weight:700;">● Active</span></td>
          </tr>
          <tr>
            <td style="padding:14px 20px; font-weight:700; color:#94a3b8;">Tier 3 Global Growth</td>
            <td style="padding:14px 20px;">Brazil, Vietnam, Indonesia, Mexico, India</td>
            <td style="padding:14px 20px; font-weight:700; color:var(--ad-gold);">$1.95</td>
            <td style="padding:14px 20px;">97.8%</td>
            <td style="padding:14px 20px; color:var(--ad-emerald);">99.8%</td>
            <td style="padding:14px 20px;"><span style="color:var(--ad-emerald); font-weight:700;">● Active</span></td>
          </tr>
        </tbody>
      </table>
    </div>
  </section>

  <!-- Sticky Floating Bottom Anchor Ad -->
  <div class="sticky-footer-ad" id="sticky-anchor-ad">
    <span class="ad-tag-label" style="font-size:9px;">SPONSORED ANCHOR</span>
    <iframe data-aa="2459104" src="https://acceptable.a-ads.com/2459104/?size=Adaptive" 
            style="border:0px; padding:0; width:100%; max-width:728px; height:60px; overflow:hidden; background-color: transparent;" 
            title="Sticky Footer A-Ads"></iframe>
    <button class="btn-close-ad" onclick="document.getElementById('sticky-anchor-ad').style.display='none'" aria-label="Close Ad">✕</button>
  </div>

  <!-- Site Footer -->
  <footer class="ad-site-footer">
    <div class="footer-links">
      <a href="/terms">Advertising Terms</a>
      <a href="/privacy">Privacy Policy</a>
      <a href="/aup">Acceptable Ad Policies</a>
      <a href="/refund-policy">Refund Policy</a>
      <a href="/originals">Brand Partnerships</a>
      <a href="/support">Support &amp; Desk</a>
      <a href="/sitemap">Sitemap</a>
    </div>
    <p style="margin:8px 0;">Official Ad Operations &amp; Verification Desk: <!--email_off--><a href="mailto:advertise@dramaly.site" style="color:var(--ad-cyan); text-decoration:none;">advertise@dramaly.site</a><!--/email_off--></p>
    <p style="font-size:11px; margin:0;">© 2026 Dramaly Media &amp; Advertising Network. High-Throughput Programmatic RTB Exchange. All rights reserved.</p>
  </footer>

  <!-- Master Logic & Invariant Handlers Script -->
  <script>
    // State Manager
    const DramalyAdState = {
      isVip: 0,
      coins: 1500,
      waitSecs: 15,
      timerInterval: null,
      isTabActive: true
    };

    // 1. VIP Ad Suppression Invariant
    function evaluateVipAdSuppression() {
      // Zero Ad Leakage for VIP/Supporters
      if (this.state && this.state.isVip === 1) {
        console.log("[AdNetwork] Zero Ad Leakage for VIP/Supporters: All display ad containers suppressed.");
        const slots = document.querySelectorAll(".ad-box-render, #ad-block-header-leaderboard, #sticky-anchor-ad");
        slots.forEach(slot => { slot.style.display = "none"; });
      }
    }

    // 2. 15-Second Rewarded Active Attention Timer with Tab Visibility Detection
    function initRewardedAttentionGate() {
      let waitSecs = 15;
      const timerEl = document.getElementById("ad-block-rewarded-timer");
      const alertEl = document.getElementById("tab-attention-alert");

      function tick() {
        if (document.hidden) {
          if (alertEl) {
            alertEl.textContent = "ĐÃ TẠM DỪNG ĐẾM NGƯỢC VÌ CHUYỂN TAB";
          }
          return;
        }

        if (alertEl) {
          alertEl.textContent = "";
        }

        if (waitSecs > 0) {
          waitSecs--;
          if (timerEl) {
            timerEl.textContent = waitSecs + "s";
          }
        } else {
          clearInterval(DramalyAdState.timerInterval);
          if (timerEl) {
            timerEl.textContent = "✓ VERIFIED (REWARD READY)";
            timerEl.style.color = "var(--ad-emerald)";
          }
          if (alertEl) {
            alertEl.textContent = "Active attention verified: min_watch_sec: waitSecs satisfied.";
            alertEl.style.color = "var(--ad-emerald)";
          }
        }
      }

      // Visibility change event
      document.addEventListener("visibilitychange", () => {
        if (document.hidden) {
          if (alertEl) {
            alertEl.textContent = "ĐÃ TẠM DỪNG ĐẾM NGƯỢC VÌ CHUYỂN TAB";
          }
        }
      });

      DramalyAdState.timerInterval = setInterval(tick, 1000);
    }

    // 3. Cognitive Route Dock Initialization Script
    function initCognitiveRouteDock() {
      console.log("[CognitiveDock] Initialized across 9 canonical stations.");
      const dockLinks = document.querySelectorAll(".cognitive-route-dock a");
      dockLinks.forEach(link => {
        link.addEventListener("click", (e) => {
          dockLinks.forEach(l => l.classList.remove("is-active"));
          link.classList.add("is-active");
        });
      });
    }

    // 4. Coins & Episode Micro-Monetization Handlers
    function unlockTargetEpisodeWithCoins() {
      if (DramalyAdState.coins >= 100) {
        DramalyAdState.coins -= 100;
        const countEl = document.getElementById("vip-rail-coins-count");
        if (countEl) countEl.textContent = DramalyAdState.coins.toLocaleString();
        alert("Success: 100 Campaign Credits deducted. Impression boost scheduled!");
      } else {
        alert("Insufficient credits. Please top up your wallet.");
      }
    }

    // 5. Buy Me A Coffee / Supporter Modal Trigger
    function openBuyMeACoffeeModal() {
      alert("Dramaly Supporter Hub: Direct decentralised donations via TON or USDT are active. Contact advertise@dramaly.site to sponsor our independent media factory.");
    }

    // 6. Real-time Ad Cost Calculator
    function calculateAdCost() {
      const slot = document.getElementById("slot-selector").value;
      const duration = parseInt(document.getElementById("duration-selector").value);
      
      let cpm = 3.20;
      let dailyImpressions = 50000;

      if (slot === "leaderboard") { cpm = 4.50; dailyImpressions = 75000; }
      else if (slot === "billboard") { cpm = 6.00; dailyImpressions = 40000; }
      else if (slot === "companion") { cpm = 3.20; dailyImpressions = 50000; }
      else if (slot === "native") { cpm = 2.80; dailyImpressions = 60000; }
      else if (slot === "sticky-footer") { cpm = 3.80; dailyImpressions = 80000; }

      const totalImpressions = dailyImpressions * duration;
      const totalCost = (totalImpressions / 1000) * cpm;

      document.getElementById("calc-impressions").textContent = totalImpressions.toLocaleString();
      document.getElementById("calc-cpm").textContent = "$" + cpm.toFixed(2);
      document.getElementById("calc-total").textContent = "$" + Math.round(totalCost).toLocaleString() + " USD";
    }

    // 7. Booking Action Trigger
    function handleAdBooking(currency) {
      const targetUrl = document.getElementById("ad-target-url").value;
      const creativeUrl = document.getElementById("ad-creative-url").value;

      if (!targetUrl || !creativeUrl) {
        alert("Please provide both Target Destination URL and Creative Banner URL.");
        return;
      }

      alert("Initiating " + currency + " smart checkout for " + targetUrl + ". Awaiting network confirmation.");
    }

    // Bootstrap on DOM Ready
    document.addEventListener("DOMContentLoaded", () => {
      initCognitiveRouteDock();
      initRewardedAttentionGate();
      calculateAdCost();
    });
  </script>
</body><!--/email_off-->
</html>
