/*
Theme Name: FreeCouponStuff
Theme URI: https://www.freecouponstuff.com
Author: FreeCouponStuff
Author URI: https://www.freecouponstuff.com
Description: Modern dark referral code and coupon sharing theme.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: freecouponstuff
*/

/* =============================================================
   FONT FALLBACK — agar Google Fonts load na ho
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* =============================================================
   CSS VARIABLES
   ============================================================= */
:root {
  --black:       #080808;
  --surface:     #0f0f0f;
  --card:        #161616;
  --card2:       #1c1c1c;
  --border:      #242424;
  --border2:     #2e2e2e;
  --orange:      #f97316;
  --orange2:     #fb923c;
  --orange-dim:  rgba(249,115,22,.12);
  --orange-glow: rgba(249,115,22,.22);
  --white:       #f5f5f5;
  --grey:        #a3a3a3;
  --grey2:       #6b6b6b;
  --green:       #22c55e;
  --r:           14px;
  --r2:          10px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --fh:          'Clash Display', Georgia, serif;
  --fb:          'Plus Jakarta Sans', system-ui, sans-serif;
}

/* =============================================================
   RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange2); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--fh); font-weight: 700; line-height: 1.1; color: var(--white); }
p { color: var(--grey); margin-bottom: 1rem; }
ul { list-style: none; padding: 0; }

/* =============================================================
   LAYOUT
   ============================================================= */
.wrap    { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 860px;  margin: 0 auto; padding: 0 28px; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r2);
  font-family: var(--fh); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none;
  transition: all .22s var(--ease);
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover { background: var(--orange2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,.35); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-dim); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: .8rem; border-radius: 7px; }

/* =============================================================
   SECTION HELPERS
   ============================================================= */
.sec-label {
  display: inline-block;
  font-family: var(--fh); font-size: .72rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--orange);
  padding: 5px 14px; border-radius: 100px;
  background: var(--orange-dim); border: 1px solid rgba(249,115,22,.3);
  margin-bottom: 16px;
}
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.03em; margin-bottom: 12px;
}
.sec-head p { max-width: 480px; margin: 0 auto; font-size: 1rem; }

/* =============================================================
   HEADER
   ============================================================= */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between; height: 66px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fh); font-size: 1.25rem; font-weight: 700;
  color: var(--white); letter-spacing: -.01em; text-decoration: none;
}
.site-logo span { color: var(--orange); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 0 18px rgba(249,115,22,.4);
  flex-shrink: 0;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--grey); font-size: .9rem; font-weight: 500;
  padding: 7px 13px; border-radius: 8px; transition: all .2s;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); background: var(--card); }
.nav-cta {
  background: var(--orange); color: #fff !important;
  font-family: var(--fh); font-weight: 600; font-size: .85rem;
  padding: 9px 20px; border-radius: 9px;
  box-shadow: 0 0 18px var(--orange-glow);
  transition: all .2s; text-decoration: none;
}
.nav-cta:hover { background: var(--orange2); color: #fff !important; transform: translateY(-1px); }
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--white); padding: 8px; border-radius: 8px;
}
@media (max-width: 768px) {
  .site-nav, .nav-cta { display: none !important; }
  .menu-toggle { display: flex !important; align-items: center; }
  .site-nav.open {
    display: flex !important; flex-direction: column;
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 20px 28px; gap: 4px; z-index: 99;
  }
  .site-nav.open a { font-size: 1rem; padding: 12px 16px; }
}

/* =============================================================
   HERO
   ============================================================= */
#hero {
  padding: 96px 0 76px; position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 660px; height: 660px;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 65%);
  animation: bgPulse 6s ease-in-out infinite; pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,.06) 0%, transparent 70%);
  animation: bgPulse 8s 2s ease-in-out infinite; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 820px; margin: 0 auto;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 100px;
  background: var(--orange-dim); border: 1px solid rgba(249,115,22,.3);
  font-family: var(--fh); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange2);
  margin-bottom: 32px;
  animation: fadeUp .6s both;
}
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); animation: blink 1.5s ease infinite;
}
#hero h1 {
  font-family: var(--fh);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.06;
  margin-bottom: 24px;
  animation: fadeUp .7s .1s both;
}
#hero h1 em {
  font-style: normal; color: var(--orange); position: relative; display: inline-block;
}
#hero h1 em::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.hero-sub {
  font-size: 1.12rem; color: var(--grey); line-height: 1.75;
  max-width: 520px; margin: 0 auto 40px;
  animation: fadeUp .7s .2s both;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .7s .3s both;
}

/* Stats strip */
.stats-strip {
  display: flex; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 40px;
  max-width: 620px; margin: 56px auto 0;
  animation: fadeUp .7s .4s both;
}
.stat { flex: 1; text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 1px; background: var(--border2);
}
.stat-n {
  font-family: var(--fh); font-size: 1.9rem; font-weight: 700;
  color: var(--orange); display: block; line-height: 1;
}
.stat-l { font-size: .76rem; color: var(--grey2); margin-top: 6px; display: block; }

@media (max-width: 560px) {
  .stats-strip { padding: 20px 16px; flex-wrap: wrap; }
  .stat { min-width: 50%; margin-bottom: 12px; }
  .stat + .stat::before { display: none; }
  .stat-n { font-size: 1.5rem; }
}

/* =============================================================
   SUBMIT SECTION
   ============================================================= */
#submit-referral {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
}
.submit-box {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 20px; padding: 52px 48px;
  max-width: 740px; margin: 0 auto;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(249,115,22,.1);
}
.submit-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange2), transparent);
}
.submit-box h2 {
  font-family: var(--fh); font-size: 2rem; font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 8px;
}
.submit-box > p { color: var(--grey); margin-bottom: 32px; font-size: .95rem; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr; }
  .submit-box { padding: 28px 20px; }
}
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1 / -1; }

.fg label {
  font-family: var(--fh); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--grey2);
}
.fg input, .fg select, .fg textarea {
  background: var(--surface); border: 1.5px solid var(--border2);
  border-radius: var(--r2); color: var(--white);
  padding: 12px 15px; font-family: var(--fb); font-size: .93rem;
  outline: none; width: 100%; transition: all .2s var(--ease);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--grey2); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
  background: rgba(249,115,22,.04);
}
.fg select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 40px;
}
.fg select option { background: var(--card); }
.fg textarea { min-height: 88px; resize: vertical; }

.code-wrap { position: relative; }
.code-wrap input {
  text-transform: uppercase; font-family: var(--fh);
  font-weight: 700; font-size: 1.1rem; letter-spacing: .06em;
  padding-right: 100px;
}
.code-badge {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-dim);
  border: 1px solid rgba(249,115,22,.3);
  padding: 3px 10px; border-radius: 5px; pointer-events: none;
}
.msg {
  display: none; padding: 12px 16px; border-radius: var(--r2);
  font-size: .87rem; font-weight: 600; grid-column: 1/-1;
  align-items: center; gap: 8px;
}
.msg.show { display: flex; }
.msg-ok  { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--green); }
.msg-err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #f87171; }
.submit-btn { width: 100%; justify-content: center; padding: 15px; font-size: .97rem; grid-column: 1/-1; }
.form-note { grid-column: 1/-1; text-align: center; font-size: .76rem; color: var(--grey2); margin: 0; }
.form-note a { color: var(--orange); }

/* =============================================================
   CATEGORIES
   ============================================================= */
#categories { padding: 88px 0; }
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 16px; text-align: center;
  transition: all .22s var(--ease); text-decoration: none; display: block;
}
.cat-item:hover {
  border-color: rgba(249,115,22,.45); background: var(--card2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 0 1px rgba(249,115,22,.12);
}
.cat-emoji  { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.cat-name   { font-family: var(--fh); font-size: .9rem; font-weight: 600; color: var(--white); display: block; margin-bottom: 4px; transition: color .2s; }
.cat-count  { font-size: .73rem; color: var(--grey2); }
.cat-item:hover .cat-name { color: var(--orange2); }

/* =============================================================
   CODES SECTION
   ============================================================= */
#coupons-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 88px 0;
}
.filter-bar { display: flex; gap: 12px; margin-bottom: 36px; align-items: center; flex-wrap: wrap; }
.search-wrap { flex: 1; min-width: 200px; position: relative; }
.search-wrap input {
  width: 100%; background: var(--card); border: 1.5px solid var(--border2);
  border-radius: var(--r2); color: var(--white);
  padding: 11px 15px 11px 42px; font-family: var(--fb); font-size: .9rem;
  outline: none; transition: all .2s;
}
.search-wrap input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-dim); }
.search-wrap::before { content: '🔍'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: .85rem; pointer-events: none; }

.ftabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ftab {
  padding: 8px 16px; border-radius: 100px;
  font-family: var(--fh); font-size: .78rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border2);
  background: transparent; color: var(--grey); transition: all .2s;
}
.ftab:hover { color: var(--white); border-color: var(--grey2); background: var(--card); }
.ftab.on  { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Coupon cards grid */
.codes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .codes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .codes-grid { grid-template-columns: 1fr; } }

.coupon {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: all .22s var(--ease);
  display: flex; flex-direction: column;
}
.coupon:hover {
  border-color: rgba(249,115,22,.4); transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(249,115,22,.1);
}
.coupon-top {
  display: flex; align-items: center; gap: 13px;
  padding: 17px 17px 15px; border-bottom: 1px solid var(--border);
}
.app-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--orange), #c2410c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249,115,22,.28);
}
.app-info { flex: 1; min-width: 0; }
.app-name { font-family: var(--fh); font-weight: 600; font-size: .92rem; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cat  { font-size: .73rem; color: var(--grey2); margin-top: 2px; }
.verified {
  font-family: var(--fh); font-size: .66rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  padding: 3px 8px; border-radius: 5px; white-space: nowrap;
}
.coupon-body { padding: 15px 17px; flex: 1; }
.code-row {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1.5px dashed rgba(249,115,22,.35);
  border-radius: 9px; padding: 11px 13px; margin-bottom: 11px;
  cursor: pointer; transition: all .2s; position: relative; overflow: hidden;
}
.code-row:hover { background: var(--orange-dim); border-color: var(--orange); }
.code-text {
  font-family: var(--fh); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .08em; color: var(--orange2); flex: 1; text-transform: uppercase;
}
.copy-ico { font-size: .88rem; color: var(--grey2); flex-shrink: 0; transition: color .2s; }
.code-row:hover .copy-ico { color: var(--orange); }
.copied-layer {
  position: absolute; inset: 0;
  background: rgba(34,197,94,.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-weight: 700; font-size: .82rem; color: var(--green);
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.code-row.copied .copied-layer { opacity: 1; }
.reward { font-size: .86rem; color: var(--grey); margin: 0; }
.reward strong { color: var(--orange2); }
.coupon-foot {
  padding: 12px 17px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.coupon-date { font-size: .73rem; color: var(--grey2); }
.btn-use {
  padding: 6px 14px; border-radius: 7px;
  font-family: var(--fh); font-weight: 600; font-size: .76rem;
  background: var(--orange); color: #fff;
  transition: all .18s; border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.btn-use:hover { background: var(--orange2); color: #fff; transform: scale(1.04); }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
#how-it-works { padding: 88px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 34px 26px; text-align: center;
  transition: all .22s var(--ease);
}
.step:hover { border-color: rgba(249,115,22,.35); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid rgba(249,115,22,.35); background: var(--orange-dim);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--fh); font-size: 1.25rem; font-weight: 700; color: var(--orange);
  transition: all .22s;
}
.step:hover .step-num { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 0 18px var(--orange-glow); }
.step h3 { font-family: var(--fh); font-size: 1.12rem; margin-bottom: 10px; }
.step p  { color: var(--grey); font-size: .88rem; margin: 0; line-height: 1.7; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner {
  padding: 84px 0; text-align: center;
  background: linear-gradient(135deg, #1c0e04, #2d1200);
  border-top: 1px solid rgba(249,115,22,.2);
  border-bottom: 1px solid rgba(249,115,22,.2);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 380px;
  background: radial-gradient(ellipse, rgba(249,115,22,.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--fh); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; letter-spacing: -.03em; color: #fff;
  margin-bottom: 12px; position: relative;
}
.cta-banner p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 32px; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* =============================================================
   FOOTER
   ============================================================= */
#site-footer {
  background: var(--surface); border-top: 1px solid var(--border); padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .site-logo { margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: .87rem; color: var(--grey2); line-height: 1.7; margin-bottom: 6px; }
.footer-col h4 {
  font-family: var(--fh); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey2); margin-bottom: 15px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .87rem; color: var(--grey2); transition: color .18s; }
.footer-col ul li a:hover { color: var(--orange2); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: var(--grey2); margin: 0; }
.footer-bottom a { color: var(--orange); font-size: .78rem; }

/* =============================================================
   BLOG / PAGES
   ============================================================= */
.page-header { padding: 56px 0 40px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.entry-content { padding: 56px 0; }
.entry-content h2 { font-size: 1.75rem; margin: 36px 0 14px; }
.entry-content h3 { font-size: 1.35rem; margin: 28px 0 10px; }
.entry-content p  { font-size: 1.03rem; line-height: 1.8; color: var(--grey); margin-bottom: 1.4rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.4rem; padding-left: 1.5rem; }
.entry-content li { color: var(--grey); margin-bottom: 7px; line-height: 1.7; }
.entry-content a  { color: var(--orange); }
.entry-content blockquote { border-left: 3px solid var(--orange); padding: 14px 22px; background: var(--card); border-radius: 0 var(--r2) var(--r2) 0; margin: 28px 0; }
.entry-content code { background: var(--card); border: 1px solid var(--border); padding: 2px 7px; border-radius: 4px; font-size: .9em; color: var(--orange2); }
.sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
@media (max-width: 900px) { .sidebar-layout { grid-template-columns: 1fr; } }
.widget { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.widget-title { font-family: var(--fh); font-size: .95rem; font-weight: 600; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--white); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.pagination a, .pagination span { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .88rem; border: 1.5px solid var(--border); background: var(--card); color: var(--grey); text-decoration: none; transition: all .2s; }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { background: var(--orange); border-color: var(--orange); color: #fff; }

/* =============================================================
   SCROLL TOP
   ============================================================= */
#scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  font-size: 1.1rem; box-shadow: 0 4px 14px var(--orange-glow);
  transition: all .22s; opacity: 0; pointer-events: none; z-index: 90;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { transform: scale(1.12) translateY(-2px); }

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bgPulse  { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes blink    { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.fade { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.fade.in { opacity: 1; transform: translateY(0); }

/* =============================================================
   WORDPRESS CORE CLASSES
   ============================================================= */
.alignnone   { margin: 0 0 16px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignleft   { float: left; margin: 0 22px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 22px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ── Clickable coupon cards ── */
a.coupon { cursor: pointer; }
a.coupon .coupon-top,
a.coupon .coupon-body,
a.coupon .coupon-foot { pointer-events: none; }
a.coupon .btn-use,
a.coupon .code-row { pointer-events: auto; }
a.coupon:hover { text-decoration: none; }
