/*
Theme Name: Make Money MagicClips Style
Theme URI: https://makemoneyfromhome.site/
Author: ChatGPT
Description: Full-site WordPress theme inspired by direct-response "special offer" layouts (countdown topbar, repeated CTA blocks, repeated 3-step sections, pricing blocks, mobile-only sticky CTA). Built for affiliate marketing + work-from-home content sites.
Version: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mm-magicclips
*/

/* Customizer palette overrides injected via inline CSS in functions.php */
:root{
  --bg:#060814;
  --text:#e5e7eb;
  --muted:#a1a1aa;
  --line: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.05);
  --card2: rgba(0,0,0,.22);
  --brand:#38bdf8;
  --brand2:#22c55e;
  --warn:#f59e0b;
  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(56,189,248,.17), transparent 60%),
    radial-gradient(1000px 700px at 90% 20%, rgba(34,197,94,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #040613 70%);
  color: var(--text);
  line-height: 1.48;
}

a{color:inherit}
a:hover{opacity:.98}
img{max-width:100%; height:auto}
p{margin:0 0 1rem}
h1,h2,h3{margin:0 0 .75rem; letter-spacing:-.02em}
h1{font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height:1.05;}
h2{font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height:1.12;}
h3{font-size: 1.22rem; line-height:1.25;}

.mm-wrap{max-width:var(--max); margin:0 auto; padding:0 16px;}

.mm-topbar{
  position: sticky; top:0; z-index:60;
  background: rgba(4,6,19,.80);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mm-topbar .mm-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 12px 0;
}
.mm-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 7px 12px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  border-radius: 999px;
  color: #ffe9bd;
  font-weight: 900;
  font-size: 14px;
}
.mm-dot{width:9px; height:9px; border-radius:50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(245,158,11,.16);}
.mm-countdown{font-variant-numeric: tabular-nums; font-weight:950; letter-spacing:.02em;}

.mm-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
  white-space:nowrap;
}
.mm-btn:hover{border-color: rgba(255,255,255,.24);}
.mm-btn-primary{
  background: linear-gradient(135deg, var(--brand), #1d4ed8);
  border-color: rgba(56,189,248,.55);
  color: #041021;
}
.mm-btn-success{
  background: linear-gradient(135deg, var(--brand2), #16a34a);
  border-color: rgba(34,197,94,.55);
  color:#04110a;
}
.mm-btn-ghost{background: rgba(255,255,255,.04);}

.mm-header{padding: 14px 0 6px;}
.mm-nav{display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 8px 0 0;}
.mm-brand{display:flex; align-items:center; gap:10px; font-weight: 950;}
.mm-mark{
  width:38px; height:38px; border-radius: 12px;
  background: rgba(56,189,248,.17);
  border: 1px solid rgba(56,189,248,.30);
  display:grid; place-items:center;
  color:#cfefff;
}
.mm-subbrand{color:var(--muted); font-size: 13px; font-weight:800;}
.mm-links{display:flex; gap:14px; flex-wrap:wrap; color:var(--muted); font-weight:850; font-size:14px;}
.mm-links a{color:var(--muted); text-decoration:none;}
.mm-links a:hover{color:var(--text);}

.mm-hero{padding: 12px 0 18px;}
.mm-grid{display:grid; grid-template-columns: 1.12fr .88fr; gap:18px; align-items:start;}
@media(max-width: 980px){ .mm-grid{grid-template-columns:1fr;} }

.mm-kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.11);
  color: #c8fad8;
  font-size: 14px;
  font-weight: 950;
}
.mm-lead{color:var(--muted); font-size: 17px; max-width: 78ch;}
.mm-bullets{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin: 14px 0 14px;}
@media(max-width: 620px){ .mm-bullets{grid-template-columns:1fr;} }
.mm-bullet{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:14px;}
.mm-bullet b{display:block; margin-bottom:3px;}
.mm-bullet span{color:var(--muted); font-size: 14px;}
.mm-cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top: 10px;}
.mm-fine{color:var(--muted); font-size: 13px; margin-top: 10px;}

.mm-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  padding: 16px;
}
.mm-card h3{margin:10px 0 6px;}
.mm-small{color:var(--muted); font-size: 13px;}

.mm-section{padding: 30px 0; border-top: 1px solid var(--line);}
.mm-section .mm-lead{margin:0 0 14px;}
.mm-cols3{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media(max-width:980px){ .mm-cols3{grid-template-columns:1fr;} }
.mm-box{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:16px;}
.mm-krow{display:flex; align-items:center; gap:10px; font-weight:950; margin-bottom:6px;}
.mm-ic{width:34px; height:34px; border-radius:10px; background: rgba(56,189,248,.16); border:1px solid rgba(56,189,248,.25); display:grid; place-items:center; font-weight:950; color:#bfe9ff;}
.mm-check{list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:9px;}
.mm-check li{display:flex; gap:10px; align-items:flex-start;}
.mm-check li::before{content:"✓"; color: var(--brand2); font-weight:950; margin-top: 1px;}

.mm-strip{
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.mm-strip .mm-text{color:var(--muted); max-width: 74ch;}
.mm-strip .mm-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}

.mm-steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
@media(max-width:980px){ .mm-steps{grid-template-columns:1fr;} }
.mm-step{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding:16px;}
.mm-num{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.28);
  color:#c7f9d7;
  font-weight:950;
  margin-bottom: 10px;
}

.mm-pricegrid{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px;}
@media(max-width:980px){ .mm-pricegrid{grid-template-columns:1fr;} }
.mm-price{
  border: 1px solid rgba(56,189,248,.28);
  background: rgba(56,189,248,.08);
  border-radius: var(--radius);
  padding: 16px;
}
.mm-price .tag{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.35);
  background: rgba(56,189,248,.10);
  color:#cfefff;
  font-weight:950;
  font-size: 13px;
}
.mm-radio{display:flex; flex-direction:column; gap:10px; margin-top: 12px;}
.mm-option{
  border:1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  padding: 12px;
  display:flex; gap:10px; align-items:flex-start;
}
.mm-option input{margin-top: 3px;}
.mm-option b{display:block;}
.mm-option span{display:block; color:var(--muted); font-size: 13px; margin-top: 2px;}

.mm-faq details{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 14px 14px;
  margin: 10px 0;
}
.mm-faq summary{cursor:pointer; font-weight: 950;}
.mm-faq p{color:var(--muted); margin-top: 10px;}

.mm-content{padding: 24px 0;}
.mm-postcard{border:1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding: 16px;}
.mm-postmeta{color:var(--muted); font-size:.92rem; margin:.25rem 0 .75rem}
.mm-pagination{display:flex; gap:.75rem; flex-wrap:wrap; justify-content:center; margin: 18px 0 0;}

footer{border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size:.92rem;}

.mm-mobile{
  display:none;
  position: fixed; left:0; right:0; bottom:0; z-index:80;
  padding: 12px 14px;
  background: rgba(4,6,19,.86);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mm-mobile .mm-bar{max-width: var(--max); margin:0 auto; display:flex; gap:12px; align-items:center; justify-content:space-between; padding: 0 16px;}
.mm-mobile .mm-mini{display:flex; flex-direction:column; gap:3px; min-width:0;}
.mm-mobile .mm-mini b{font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.mm-mobile .mm-mini span{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
@media(max-width:820px){ .mm-mobile{display:block;} body{padding-bottom: 78px;} }
