:root{--blue:#0f4c8a;--blue2:#073866;--green:#2f9e44;--bg:#eef3f8;--text:#1d2a38;--muted:#637282;--border:#d7e0e8}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}.topbar{background:linear-gradient(#155b9f,#0b447b);color:#fff;padding:18px 0;border-bottom:4px solid #07345f}.wrap{width:min(1100px,94%);margin:auto}.brand{font-size:28px;font-weight:700}.nav{display:flex;gap:18px;align-items:center}.header-row{display:flex;justify-content:space-between;align-items:center}.hero{background:#fff;border:1px solid var(--border);margin:24px auto;padding:30px;border-radius:6px;text-align:center}.hero h1{font-size:34px;margin:0 0 10px}.packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:24px 0}.card{background:#fff;border:1px solid var(--border);border-radius:6px;padding:22px;box-shadow:0 2px 8px rgba(16,51,82,.06)}.price{font-size:42px;color:var(--blue);font-weight:700}.btn{display:inline-block;border:0;border-radius:4px;padding:12px 18px;background:var(--green);color:white;font-weight:700;cursor:pointer}.btn.blue{background:var(--blue)}.btn.gray{background:#6c7a89}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.stat{background:#fff;border:1px solid var(--border);padding:18px;border-radius:6px}.stat b{display:block;font-size:26px;color:var(--blue)}table{width:100%;border-collapse:collapse;background:white}th,td{padding:12px;border-bottom:1px solid var(--border);text-align:left}th{background:#f5f8fb}.admin-layout{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#102f4d;color:#fff;padding:20px}.sidebar a{display:block;padding:11px;border-radius:4px;margin-bottom:5px}.sidebar a:hover{background:#19486f}.content{padding:24px}.form-group{margin-bottom:15px}label{display:block;font-weight:700;margin-bottom:6px}input,select,textarea{width:100%;padding:11px;border:1px solid var(--border);border-radius:4px;background:#fff}.notice{padding:12px;border-radius:4px;background:#e8f5e9;color:#236b2c;margin-bottom:15px}@media(max-width:760px){.admin-layout{grid-template-columns:1fr}.sidebar{display:flex;gap:5px;overflow:auto}.sidebar a{white-space:nowrap}.hero h1{font-size:27px}.header-row{align-items:flex-start;gap:12px;flex-direction:column}}
/* v24 analytics: extends the existing SpinMyTraffic identity without replacing it */
.analytics-summary{margin:18px 0}.analytics-card{margin-top:18px}.analytics-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.performance-badge{background:#e8f1f9;color:var(--blue);border:1px solid #c9dbea;border-radius:999px;padding:9px 14px;font-weight:700;white-space:nowrap}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.analytics-row{margin:14px 0}.analytics-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;color:var(--text)}.analytics-track{height:9px;background:#e9eff5;border-radius:999px;overflow:hidden}.analytics-track span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#2f76b5);border-radius:999px}.analytics-empty{color:var(--muted)}.mini-chart{height:190px;display:flex;align-items:flex-end;gap:5px;padding:16px 4px 4px;border-bottom:1px solid var(--border);overflow:hidden}.mini-day{height:100%;flex:1;min-width:5px;display:flex;align-items:flex-end;justify-content:center;gap:1px}.mini-day .bar{display:block;width:42%;min-height:2px;border-radius:3px 3px 0 0}.mini-day .impressions{background:var(--blue)}.mini-day .clicks{background:var(--green)}.chart-legend{display:flex;gap:20px;color:var(--muted);font-size:13px;margin-top:10px}.chart-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:2px;background:var(--blue);margin-right:6px}.chart-legend span+span:before{background:var(--green)}
@media(max-width:760px){.analytics-grid{grid-template-columns:1fr}.analytics-heading{flex-direction:column}.performance-badge{white-space:normal}.mini-chart{height:150px;gap:3px}}

/* v25 live three-banner rotation; preserves the original SpinMyTraffic identity */
.live-ad-wall{margin:18px 0 8px}.live-ad-heading{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#47647e}.live-dot{width:8px;height:8px;border-radius:50%;background:#20b26b;box-shadow:0 0 0 5px rgba(32,178,107,.12);animation:livePulse 1.8s ease-in-out infinite}.live-ad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.live-ad-slot{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:92px;border:1px solid #d7e0e8;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,76,138,.08);transition:opacity .26s ease,transform .26s ease,box-shadow .2s ease}.live-ad-slot:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,76,138,.13)}.live-ad-slot.is-changing{opacity:0;transform:scale(.985)}.live-ad-slot img{display:block;width:100%;height:auto;max-height:150px;object-fit:contain}.live-ad-slot:after{content:'AD';position:absolute;top:5px;right:6px;padding:2px 5px;border-radius:4px;background:rgba(0,0,0,.48);color:#fff;font-size:8px;font-weight:700;line-height:1.2;pointer-events:none}@keyframes livePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}@media(max-width:700px){.live-ad-wall{margin-top:10px}.live-ad-heading{margin-bottom:7px;font-size:11px}.live-ad-grid{gap:6px}.live-ad-slot{min-height:58px;border-radius:8px}.live-ad-slot img{max-height:90px}.live-ad-slot:after{top:3px;right:3px;font-size:7px;padding:1px 3px}}


/* v26 requested additions only */
.live-ad-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.live-advertise-here{background:linear-gradient(135deg,#155b9f,#073866);color:#fff;text-align:center;cursor:pointer}
.live-advertise-here:after{content:'ADVERTISE';background:rgba(255,255,255,.18)}
.live-advertise-here span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px}
.live-advertise-here b{font-size:20px}.live-advertise-here small{font-size:11px;opacity:.82}
.banner-or{text-align:center;position:relative;margin:18px 0}.banner-or:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid var(--border)}.banner-or span{position:relative;background:#fff;padding:0 12px;color:var(--muted);font-size:12px;font-weight:700}
.banner-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.banner-library-item img{width:100%;height:150px;object-fit:contain;background:#f5f8fb;border:1px solid var(--border);border-radius:5px}.banner-library-meta{display:flex;flex-direction:column;gap:5px;margin:12px 0;word-break:break-all}.banner-library-meta small{color:var(--muted)}.banner-library-error{background:#fdecec;color:#8b1e1e}.btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:700px){.live-ad-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.live-advertise-here span{padding:5px 2px;gap:2px}.live-advertise-here b{font-size:11px}.live-advertise-here small{font-size:7px}.live-advertise-here:after{font-size:5px}}

/* v28 audit fix: reserve all three live slots so they can populate without a page refresh */
.live-ad-slot.is-empty{visibility:hidden;pointer-events:none;box-shadow:none}

/* Large vertical sponsored-ad wall */
.live-ad-wall{margin:26px 0 14px}
.live-ad-heading{justify-content:flex-start;max-width:960px;margin:0 auto 12px;padding:0 2px;font-size:14px;color:#263f56}
.live-ad-grid{display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;max-width:960px;margin:0 auto}
.live-ad-slot{flex:none;width:min(900px,100%);margin:0 auto;min-height:180px;border-radius:14px;border-color:#cbd8e3;background:#fff}
.live-ad-slot img{width:100%;height:auto;max-height:420px;object-fit:contain}
.live-ad-slot:after{content:'SPONSORED AD';top:10px;right:10px;padding:5px 8px;border-radius:6px;background:rgba(7,56,102,.82);font-size:10px;letter-spacing:.04em}
.live-advertise-here{min-height:150px;background:linear-gradient(135deg,#155b9f 0%,#073866 100%);border-color:#073866;color:#fff;box-shadow:0 12px 30px rgba(7,56,102,.22)}
.live-advertise-here span{padding:28px;gap:7px}
.live-advertise-here b{font-size:25px;color:#fff}
.live-advertise-here small{font-size:13px;color:#dcecff;opacity:1}
.live-advertise-here:after{content:'ADVERTISE HERE';background:rgba(255,255,255,.16)}
@media(max-width:700px){.live-ad-wall{margin-top:16px}.live-ad-heading{font-size:12px;margin-bottom:9px}.live-ad-grid{display:flex;flex-direction:column;align-items:center;gap:12px}.live-ad-slot{width:100%;margin:0 auto;min-height:108px;border-radius:10px}.live-ad-slot img{max-height:260px}.live-ad-slot:after{top:6px;right:6px;padding:3px 6px;font-size:8px}.live-advertise-here{min-height:112px}.live-advertise-here span{padding:22px 12px;gap:5px}.live-advertise-here b{font-size:20px}.live-advertise-here small{font-size:12px}.live-advertise-here:after{font-size:7px}}

/* Clickable uploaded site logo */
.brand{display:inline-flex;align-items:center}
.brand img{display:block;width:auto;height:46px;max-width:260px;object-fit:contain}
.sidebar .brand{margin-bottom:16px}.sidebar .brand img{height:42px;max-width:185px}
@media(max-width:700px){.brand img{height:40px;max-width:220px}}

/* Classic SpinMyTraffic reference identity */
.topbar{background:#30343a;border-bottom:0;padding:19px 0;box-shadow:none}
.topbar .wrap{width:min(1380px,96%)}
.header-row{min-height:56px}
.topbar .brand{color:#fff;text-transform:uppercase;letter-spacing:-.03em}
.topbar .brand img{height:48px;max-width:285px}
.topbar .nav{gap:14px}
.topbar .nav a{display:inline-flex;align-items:center;justify-content:center;min-width:145px;padding:14px 22px;border-radius:999px;color:#fff;font-size:14px;font-weight:800;text-transform:uppercase;box-shadow:0 4px 10px rgba(0,0,0,.18);transition:transform .2s ease,filter .2s ease}
.topbar .nav a:first-child{background:#d93254}
.topbar .nav a:last-child{background:#35afe7}
.topbar .nav a:hover{transform:translateY(-2px);filter:brightness(1.06)}
.classic-hero{background:#35afe7;color:#fff;padding:42px 0 34px}
.classic-hero-inner{width:min(1180px,92%);margin:0 auto;text-align:center}
.classic-hero h1{margin:0;font-size:38px;line-height:1.2;font-weight:400;letter-spacing:.015em}
.classic-hero p{max-width:1050px;margin:48px auto 38px;font-size:20px;line-height:1.55;color:#f8fdff}
.classic-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:80px;align-items:end}
.classic-step{display:flex;flex-direction:column;align-items:center;gap:14px;color:#111}
.classic-step svg{width:126px;height:126px;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.classic-step b{font-size:26px;font-weight:500;line-height:1.1}
@media(max-width:760px){.topbar{padding:13px 0}.topbar .wrap{width:92%}.header-row{align-items:center;flex-direction:row;flex-wrap:wrap}.topbar .brand img{height:39px;max-width:210px}.topbar .nav{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.topbar .nav a{min-width:0;padding:11px 9px;font-size:12px}.classic-hero{padding:30px 0 28px}.classic-hero h1{font-size:27px}.classic-hero p{margin:24px auto 30px;font-size:16px;line-height:1.5}.classic-steps{grid-template-columns:1fr;gap:29px}.classic-step{gap:7px}.classic-step svg{width:88px;height:88px}.classic-step b{font-size:20px}}

/* Advertise-here card aligned with the current charcoal/cyan identity */
.live-advertise-here{background:linear-gradient(135deg,#30343a 0%,#25292e 68%,#1d2024 100%);border:2px solid #35afe7;color:#fff;box-shadow:0 14px 34px rgba(48,52,58,.24),inset 0 0 0 1px rgba(53,175,231,.18);animation:advertisePulse 2.4s ease-in-out infinite}
.live-advertise-here:hover{border-color:#5cc7f2;box-shadow:0 17px 38px rgba(48,52,58,.3),0 0 0 4px rgba(53,175,231,.12);animation-play-state:paused}
.live-advertise-here b{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.24)}
.live-advertise-here small{color:#bfeaff;opacity:1}
.live-advertise-here:after{color:#fff;background:#35afe7;box-shadow:0 3px 9px rgba(0,0,0,.18)}
@keyframes advertisePulse{0%,100%{transform:scale(1);box-shadow:0 14px 34px rgba(48,52,58,.24),0 0 0 0 rgba(53,175,231,0),inset 0 0 0 1px rgba(53,175,231,.18)}50%{transform:scale(1.008);box-shadow:0 17px 38px rgba(48,52,58,.28),0 0 0 8px rgba(53,175,231,.11),inset 0 0 0 1px rgba(53,175,231,.28)}}
@media(prefers-reduced-motion:reduce){.live-advertise-here{animation:none}}

/* v60: On phones only, place the live advertisement block above the classic hero headline.
   Desktop markup and placement remain unchanged. */
@media(max-width:700px){
  .live-ad-wall.mobile-ad-priority{
    width:calc(100% - 24px);
    max-width:1180px;
    margin:14px auto 12px;
  }
}

/* Public estimated activity counters */
.public-traffic-stats{margin:30px 0 10px;padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(10,24,45,.96),rgba(18,48,82,.92));box-shadow:0 18px 50px rgba(0,0,0,.18);text-align:center}
.public-traffic-stats h2{margin:0;font-size:clamp(1.35rem,3vw,2rem);letter-spacing:-.02em}
.public-stats-note{margin:6px 0 18px;opacity:.68;font-size:.85rem}
.public-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:760px;margin:0 auto}
.public-stat-card{padding:20px 16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.06);backdrop-filter:blur(8px)}
.public-stat-card strong{display:block;margin-top:8px;font-size:clamp(1.8rem,5vw,3rem);line-height:1;font-variant-numeric:tabular-nums}
.public-stat-label{display:flex;align-items:center;justify-content:center;gap:8px;font-size:.88rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;opacity:.84}
.public-online-dot{width:9px;height:9px;border-radius:50%;background:#3bd671;box-shadow:0 0 0 5px rgba(59,214,113,.14);animation:publicOnlinePulse 1.8s ease-in-out infinite}
@keyframes publicOnlinePulse{50%{transform:scale(.72);opacity:.62}}
@media(max-width:620px){.public-traffic-stats{padding:20px 14px}.public-stats-grid{grid-template-columns:1fr}.public-stat-card{padding:18px 12px}}

/* v96 premium activity panel directly beneath Advertise Here */
.public-traffic-stats{position:relative;isolation:isolate;overflow:hidden;width:min(900px,100%);margin:16px auto 28px;padding:18px;border:1px solid rgba(53,175,231,.34);border-radius:18px;background:linear-gradient(135deg,#20242a 0%,#2b3037 58%,#1b1f24 100%);box-shadow:0 18px 42px rgba(22,28,34,.22),inset 0 1px 0 rgba(255,255,255,.08);color:#fff;text-align:left}
.public-traffic-stats:before{content:"";position:absolute;z-index:-1;inset:-70% auto auto -10%;width:280px;height:280px;border-radius:50%;background:rgba(53,175,231,.17);filter:blur(28px)}
.public-traffic-stats:after{content:"";position:absolute;z-index:-1;right:-80px;bottom:-110px;width:250px;height:250px;border-radius:50%;background:rgba(217,50,84,.10);filter:blur(30px)}
.public-stats-eyebrow{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 14px;color:#c8efff;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.public-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none;margin:0}
.public-stat-card{display:flex;align-items:center;gap:14px;min-height:112px;padding:18px 20px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(10px);transition:transform .22s ease,border-color .22s ease,background .22s ease}
.public-stat-card:hover{transform:translateY(-2px);border-color:rgba(53,175,231,.42);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.05))}
.public-stat-icon{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#35afe7,#1a7fad);box-shadow:0 9px 22px rgba(53,175,231,.25);font-size:24px;font-weight:900;color:#fff}
.public-stat-card.is-online .public-stat-icon{background:linear-gradient(135deg,#35c979,#159a56);box-shadow:0 9px 22px rgba(53,201,121,.24);font-size:18px;animation:onlineIconPulse 2s ease-in-out infinite}
.public-stat-card strong{display:block;margin:5px 0 4px;font-size:clamp(2rem,4vw,3rem);line-height:.95;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.04em;text-shadow:0 2px 12px rgba(0,0,0,.2)}
.public-stat-label{display:block;color:#d6e6ef;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.public-stat-card small{display:block;color:#8fcbe5;font-size:12px;font-weight:700}
.public-stat-card.is-online small{color:#8ee0b5}
.public-stats-note{margin:12px 0 0;text-align:center;color:rgba(255,255,255,.5);font-size:10px;letter-spacing:.04em}
.public-online-dot{width:8px;height:8px;border-radius:50%;background:#39d47e;box-shadow:0 0 0 5px rgba(57,212,126,.13);animation:publicOnlinePulse 1.8s ease-in-out infinite}
@keyframes onlineIconPulse{0%,100%{box-shadow:0 9px 22px rgba(53,201,121,.22),0 0 0 0 rgba(53,201,121,.12)}50%{box-shadow:0 9px 22px rgba(53,201,121,.28),0 0 0 7px rgba(53,201,121,0)}}
@media(max-width:620px){.public-traffic-stats{margin:12px auto 22px;padding:12px;border-radius:14px}.public-stats-grid{grid-template-columns:1fr;gap:9px}.public-stat-card{min-height:92px;padding:15px 16px}.public-stat-icon{flex-basis:43px;width:43px;height:43px;border-radius:12px;font-size:21px}.public-stat-card strong{font-size:2.2rem}.public-stats-eyebrow{margin-bottom:11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.public-stat-card,.public-stat-card.is-online .public-stat-icon,.public-online-dot{animation:none;transition:none}}

.network-note{text-align:center;margin-top:10px;font-size:13px;color:#c7d2e3;opacity:.95}.network-note b{color:#4da3ff}
/* v99: mobile-only exact placement beneath Start Advertising; desktop remains unchanged */
@media(max-width:700px){
  #liveAdGrid > #publicTrafficStats{
    order:999;
    width:100%;
    margin:0 auto 10px;
  }
}

/* v100: package old-price and recurring 4-hour offer countdown */
.package-price-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:8px 0 2px}
.package-price-row .price{margin:0}
.package-old-price{font-size:1rem;font-weight:800;color:#94a3b8;text-decoration:line-through;text-decoration-thickness:2px;opacity:.95}
.package-offer-timer{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(249,115,22,.42);border-radius:999px;background:linear-gradient(135deg,rgba(249,115,22,.15),rgba(239,68,68,.11));box-shadow:0 8px 24px rgba(239,68,68,.11);white-space:nowrap}
.package-offer-label{font-size:.68rem;font-weight:900;letter-spacing:.07em;color:#fb923c}
.package-offer-clock{font-variant-numeric:tabular-nums;font-size:.9rem;font-weight:900;color:#ff3b30;min-width:72px;text-align:center;text-shadow:0 0 12px rgba(255,59,48,.25)}
@media (max-width:640px){.package-price-row{gap:7px}.package-offer-timer{width:100%;justify-content:center;margin-top:2px}.package-old-price{font-size:.92rem}}
