﻿:root {
  --navy: #0a1628;
  --navy-light: #132040;
  --gold: #f4b942;
  --gold-light: #ffd166;
  --white: #ffffff;
  --gray: #8892a4;
  --gray-light: #f5f7fa;
  --text: #1e2d40;
  --card-bg: #ffffff;
  --border: #e8ecf0;
  --shadow: 0 4px 24px rgba(10,22,40,0.08);
  --shadow-hover: 0 8px 40px rgba(10,22,40,0.16);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-light);
  color: var(--text);
  line-height: 1.7;
}

/* â”€â”€ HEADER â”€â”€ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--gold); }

nav { display: flex; gap: 8px; align-items: center; }

nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a6b 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(244,185,66,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── COINS ANIMATION ── */
.coins-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.coin {
  position: absolute;
  bottom: -50px;
  opacity: 0;
  animation: floatCoin linear infinite;
  filter: drop-shadow(0 0 6px rgba(244,185,66,0.5));
  user-select: none;
}

@keyframes floatCoin {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1);    opacity: 0;   }
  8%   { opacity: 0.85; }
  50%  { transform: translateY(-280px) rotate(180deg) scale(1.1); opacity: 0.7; }
  92%  { opacity: 0.3; }
  100% { transform: translateY(-560px) rotate(360deg) scale(0.8); opacity: 0;   }
}

.hero > *:not(.coins-container) { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(244,185,66,0.15);
  color: var(--gold);
  border: 1px solid rgba(244,185,66,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* â”€â”€ LAYOUT â”€â”€ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 48px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* â”€â”€ SECTION TITLES â”€â”€ */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

/* â”€â”€ FEATURED POST â”€â”€ */
.featured-post {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 320px;
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.featured-post:hover { box-shadow: var(--shadow-hover); }

.featured-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.featured-post:hover .featured-img img { transform: scale(1.04); }

.featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(244,185,66,0.1), transparent);
}

.featured-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-tag {
  display: inline-block;
  background: rgba(244,185,66,0.12);
  color: #b8860b;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.featured-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.featured-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.read-more:hover { gap: 10px; }

/* â”€â”€ ARTICLE GRID â”€â”€ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
}

.article-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}

.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 20px; }

.card-body .post-tag { margin-bottom: 8px; }

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
}

.card-body p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray);
}

.reading-time { color: var(--gold); font-weight: 600; }

/* â”€â”€ IN-CONTENT AD â”€â”€ */
.ad-in-content {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  margin: 8px 0;
}

/* â”€â”€ SIDEBAR â”€â”€ */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.category-list { list-style: none; }

.category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.category-list li:last-child { border-bottom: none; }

.category-list a { color: var(--text); text-decoration: none; font-weight: 500; transition: all 0.2s; padding: 2px 8px; border-radius: 4px; }
.category-list a:hover { color: var(--navy); background: var(--gray-light); }
.category-list a.active-filter { color: var(--navy); background: rgba(244,185,66,0.2); font-weight: 700; }

.cat-count {
  background: var(--gray-light);
  color: var(--gray);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.popular-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.popular-post:hover { opacity: 0.75; }
.popular-post:last-child { border-bottom: none; }

.pop-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  min-width: 24px;
}

.pop-title { font-size: 0.85rem; font-weight: 600; line-height: 1.4; }
.pop-meta { font-size: 0.75rem; color: var(--gray); margin-top: 2px; }

.newsletter-widget { background: var(--navy); }
.newsletter-widget .widget-title { color: var(--white); border-color: var(--gold); }
.newsletter-widget p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 14px; }

.newsletter-form { display: flex; flex-direction: column; gap: 8px; }

.newsletter-form input {
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--gold-light); }

/* â”€â”€ FOOTER â”€â”€ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo { font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 10px; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

.ad-banner-footer {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  margin-bottom: 24px;
}

/* â”€â”€ POST PAGE â”€â”€ */
.post-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 24px;
  text-align: center;
}

.post-header .post-tag { margin-bottom: 16px; }

.post-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.post-meta-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.post-meta-bar span { display: flex; align-items: center; gap: 5px; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.post-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}

.post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}

.post-content p { margin-bottom: 16px; font-size: 1rem; color: #2d3a4a; line-height: 1.8; }

.post-content ul, .post-content ol {
  margin: 0 0 16px 24px;
}

.post-content li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #2d3a4a;
  line-height: 1.7;
}

.post-content strong { color: var(--navy); }

.tip-box {
  background: rgba(244,185,66,0.1);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}

.tip-box strong { color: #8a6400; }

.cta-box {
  background: var(--navy);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  margin: 28px 0;
}

.cta-box h3 { color: var(--white); margin: 0 0 8px; font-size: 1.2rem; }
.cta-box p { color: rgba(255,255,255,0.7); margin: 0 0 16px; font-size: 0.9rem; }
.cta-box a {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.cta-box a:hover { background: var(--gold-light); }

.related-posts {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 0;
}

.related-posts h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }

.related-list { list-style: none; }
.related-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.related-list li:last-child { border-bottom: none; }
.related-list a { color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.related-list a:hover { color: var(--navy); }

/* ── SUBSCRIPTION SECTION ── */
.sub-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 64px 24px;
}

.sub-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sub-badge {
  display: inline-block;
  background: rgba(244,185,66,0.15);
  color: var(--gold);
  border: 1px solid rgba(244,185,66,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sub-left h2 { font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 12px; }
.sub-left p  { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 20px; }

.sub-benefits { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sub-benefits li { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.sub-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.sub-plan-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }

.sub-plan {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.sub-plan.active { border-color: var(--gold); background: rgba(244,185,66,0.08); }

.plan-price { font-size: 1.4rem; font-weight: 900; color: var(--text); line-height: 1; }
.plan-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray); }
.plan-label { font-size: 0.75rem; color: var(--gray); margin-top: 4px; font-weight: 600; }

.save-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.sub-main-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
}
.sub-main-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.sub-note { text-align: center; font-size: 0.75rem; color: var(--gray); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.paypal-loading, .paypal-pending {
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  background: var(--gray-light);
  border: 1px dashed var(--border);
  line-height: 1.5;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--text); }

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { font-size: 2.5rem; margin-bottom: 10px; }
.modal-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.modal-header p  { font-size: 0.9rem; color: var(--gray); }

.modal-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.modal-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-plan input[type=”radio”] { display: none; }
.modal-plan.selected { border-color: var(--gold); background: rgba(244,185,66,0.07); }
.modal-plan .plan-info { flex: 1; }
.modal-plan .plan-info strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 2px; }
.modal-plan .plan-info span { font-size: 0.82rem; color: var(--gray); }
.modal-plan .plan-check { color: var(--gold); font-weight: 900; font-size: 1rem; opacity: 0; transition: opacity 0.2s; }
.modal-plan.selected .plan-check { opacity: 1; }

#modal-email-form { display: flex; flex-direction: column; gap: 10px; }

#modal-email {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
#modal-email:focus { border-color: var(--gold); }

.modal-btn-primary {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-btn-primary:hover { background: #1a3a6b; }

.modal-payment-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.pay-btn {
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pay-paypal-btn { background: #ffc439; color: #003087; }
.pay-paypal-btn:hover { background: #f0b72f; transform: translateY(-1px); }
.pay-stripe-btn { background: #635bff; color: #fff; }
.pay-stripe-btn:hover { background: #4f46e5; transform: translateY(-1px); }

.modal-secure { text-align: center; font-size: 0.78rem; color: var(--gray); }

.sub-open-btn:hover { background: var(--gold-light) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .sub-section-inner { grid-template-columns: 1fr; }
  .sub-left h2 { font-size: 1.5rem; }
  .main-layout { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.featured-post:hover .featured-img img { transform: scale(1.04); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .ad-728x90 { width: 100%; max-width: 728px; }
}

@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  nav a:not(.nav-cta) { display: none; }
  .post-content { padding: 24px; }
}

