/* ===== SOLARPUNK THEME - Game-matched Colors ===== */
:root {
  /* Primary background - warm cream to pale green (game-like) */
  --bg-deep: #1a4d2e;
  --bg: #f0f5e8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: #c5d9c7;
  --border-glow: #8fbc8f;
  
  /* Text colors */
  --text: #2d3b2d;
  --text-muted: #5a6e5c;
  --text-dim: #8a9e8c;
  
  /* Accent colors - leaf green & sunflower yellow */
  --accent: #4caf50;
  --accent-hover: #2e7d32;
  --accent-dim: rgba(76, 175, 80, 0.12);
  
  /* Special colors */
  --warning: #f9c74f;
  --danger: #e85a4f;
  --success: #4caf50;
  --hidden: #9b59b6;
  
  /* Gradients - warm sunlight feel */
  --gradient-solar: linear-gradient(135deg, #f9c74f 0%, #4caf50 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fbf8 100%);
  --gradient-warm: linear-gradient(160deg, #fff8e1 0%, #f0f5e8 50%, #e8f5e9 100%);
  
  /* Shadows with green tint */
  --shadow: 0 4px 20px rgba(76, 175, 80, 0.15);
  --shadow-glow: 0 0 30px rgba(249, 199, 79, 0.2);
  
  /* Layout */
  --max-width: 960px;
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gradient-warm);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  min-height: 100vh;
}

/* Subtle background pattern - sunlight through leaves effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(249, 199, 79, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(76, 175, 80, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 248, 0.95) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-solar);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.site-title a {
  color: var(--text);
  background: linear-gradient(90deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ===== SEARCH ===== */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a9e8c' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15), 0 0 30px rgba(249, 199, 79, 0.1);
  z-index: 101;
}

.search-results.active {
  display: block;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-results a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background 0.15s;
}

.search-results a:last-child {
  border-bottom: none;
}

.search-results a:hover {
  background: rgba(76, 175, 80, 0.08);
}

.search-results .res-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
  color: #2e7d32;
}

.search-results .res-cat {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* ===== VERSION BANNER ===== */
.version-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 13px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(76, 175, 80, 0.08);
}

.version-banner .badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.badge-ok {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.15) 100%);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-warn {
  background: rgba(249, 199, 79, 0.2);
  color: #b8860b;
  border: 1px solid rgba(249, 199, 79, 0.4);
}

.badge-danger {
  background: rgba(232, 90, 79, 0.15);
  color: var(--danger);
  border: 1px solid rgba(232, 90, 79, 0.3);
}

.version-banner time {
  color: var(--text-muted);
}

.version-banner a {
  margin-left: auto;
  font-weight: 500;
}

/* ===== CATEGORY CARDS ===== */
.section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(76, 175, 80, 0.08);
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-solar);
  opacity: 0;
  transition: opacity 0.3s;
}

.cat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.cat-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.cat-card > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cat-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-card li {
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.cat-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-card li a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.cat-card li a::before {
  content: '→';
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
}

.cat-card li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.cat-card li a:hover::before {
  color: var(--accent);
  transform: translateX(3px);
}

/* ===== GUIDE PAGE ===== */
.guide-header {
  margin-bottom: 28px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.guide-meta .tag {
  padding: 4px 10px;
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.guide-header h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* TOC */
.toc {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.toc h3 {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 600;
}

.toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toc li {
  font-size: 13px;
}

.toc a {
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 20px;
  transition: all 0.2s;
}

.toc a:hover {
  background: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
}

/* Quick box */
.quick-box {
  background: linear-gradient(135deg, rgba(249, 199, 79, 0.15) 0%, rgba(249, 199, 79, 0.08) 100%);
  border: 1px solid rgba(249, 199, 79, 0.4);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.quick-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f9c74f, #4caf50);
}

.quick-box strong {
  color: #2e7d32;
}

/* Callouts */
.callout {
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
  background: var(--bg-elevated);
  position: relative;
  border: 1px solid var(--border);
}

.callout::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
}

.callout-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout-title::before {
  font-size: 14px;
}

.callout-warning::before { background: var(--warning); }
.callout-danger::before { background: var(--danger); }
.callout-success::before { background: var(--success); }
.callout-hidden::before { background: var(--hidden); }

.callout-warning { border-color: rgba(240, 160, 48, 0.25); }
.callout-warning .callout-title { color: var(--warning); }
.callout-warning::before { background: var(--warning); }

.callout-danger { border-color: rgba(232, 90, 79, 0.25); }
.callout-danger .callout-title { color: var(--danger); }
.callout-danger::before { background: var(--danger); }

.callout-success { border-color: rgba(76, 175, 80, 0.3); }
.callout-success .callout-title { color: #2e7d32; }
.callout-success::before { background: #4caf50; }

.callout-hidden { border-color: rgba(196, 155, 255, 0.25); }
.callout-hidden .callout-title { color: var(--hidden); }
.callout-hidden::before { background: var(--hidden); }

/* Collapse */
.collapse {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 20px 0;
  overflow: hidden;
}

.collapse-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  border-radius: var(--radius-sm);
}

.collapse-header:hover {
  background: rgba(76, 175, 80, 0.08);
}

.collapse-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 50%;
  font-size: 10px;
  transition: all 0.25s;
}

.collapse.open .collapse-icon {
  transform: rotate(90deg);
  background: var(--accent-dim);
  color: var(--accent);
}

.collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.collapse.open .collapse-body {
  max-height: 2000px;
}

.collapse-inner {
  padding: 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-elevated);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr {
  transition: background 0.15s;
}

.data-table tr:hover td {
  background: var(--accent-dim);
}

/* ===== TYPOGRAPHY ===== */
h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-solar);
  border-radius: 2px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

p {
  margin: 12px 0;
  color: var(--text);
}

ul, ol {
  margin: 12px 0 12px 20px;
}

li {
  margin: 6px 0;
  color: var(--text);
}

strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--gradient-solar);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(76, 175, 80, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(76, 175, 80, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(76, 175, 80, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-card {
  animation: fadeIn 0.4s ease forwards;
}

.cat-card:nth-child(1) { animation-delay: 0.05s; }
.cat-card:nth-child(2) { animation-delay: 0.1s; }
.cat-card:nth-child(3) { animation-delay: 0.15s; }
.cat-card:nth-child(4) { animation-delay: 0.2s; }

/* ===== MAIN LAYOUT WITH SIDEBAR ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.08);
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== DEALS SECTION ===== */
.deals-section {
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.deal-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.deal-card:last-of-type {
  margin-bottom: 0;
}

.deal-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.deal-platform {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deal-platform::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.deal-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.deal-original {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.deal-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.deal-discount {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: rgba(78, 205, 196, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.deal-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}

.deal-btn:hover {
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
  transform: scale(1.02);
  color: #fff;
}

/* ===== PRICE COMPARE TABLE ===== */
.price-compare {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.price-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.text-accent {
  color: var(--success);
  font-weight: 600;
}

.price-note {
  font-size: 11px;
  color: var(--text-dim);
  margin: 10px 0 0;
  line-height: 1.4;
}

/* ===== LANGUAGE SWITCHER ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
}

.lang-switcher select {
  appearance: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 32px 8px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234caf50' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.lang-switcher select:hover {
  border-color: var(--accent);
}

.lang-switcher select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.lang-switcher select option {
  background: var(--bg-elevated);
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .sidebar-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
  }

  .deals-section,
  .affiliate-section,
  .bundle-section,
  .amazon-section,
  .creator-section {
    display: block;
  }

  .deal-card,
  .affiliate-btn,
  .amazon-item {
    margin-bottom: 8px;
  }

  .amazon-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .version-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .guide-header h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 19px;
  }

  .toc ul {
    flex-direction: column;
  }

  .data-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }
}

/* ===== HIGHLIGHT EFFECTS ===== */
.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--accent-dim) 60%);
  padding: 0 2px;
}

.emoji-icon {
  font-size: 1.1em;
  line-height: 1;
}

/* ===== PRICE SECTION (Guide Pages) ===== */
.price-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.price-section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.price-section h2::before {
  display: none;
}

.price-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.price-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(76, 175, 80, 0.08);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-solar);
  opacity: 0;
  transition: opacity 0.25s;
}

.price-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 20px var(--accent-dim);
}

.price-card:hover::before {
  opacity: 1;
}

.price-platform {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 12px;
}

.price-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-new {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.price-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: rgba(78, 205, 196, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}

.price-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  border: none;
}

.price-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  color: #fff;
}

.price-compare-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.price-compare-box h3 {
  font-size: 15px;
  margin: 0 0 16px;
  color: var(--text);
}

.price-compare-box .price-table {
  margin: 0;
}

.price-compare-box .price-table th {
  background: var(--bg-elevated);
}

.price-low {
  color: var(--success);
  font-weight: 700;
}

.discount-best {
  color: var(--success);
  font-weight: 700;
}

.table-link {
  padding: 4px 10px;
  background: var(--accent-dim);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.table-link:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

.price-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  margin: 16px 0 0;
  font-style: italic;
}

/* ===== AFFILIATE SECTIONS ===== */
.affiliate-section {
  border: 1px solid var(--border);
}

.affiliate-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.affiliate-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.affiliate-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  transition: all 0.2s;
}

.affiliate-btn:hover {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.08);
  transform: translateX(4px);
}

.affiliate-icon {
  font-size: 16px;
}

.affiliate-name {
  flex: 1;
  font-weight: 600;
}

.affiliate-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(78, 205, 196, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.affiliate-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ===== BUNDLE SECTION ===== */
.bundle-section {
  border: 1px solid var(--border-glow);
}

.bundle-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bundle-badge {
  font-size: 28px;
  line-height: 1;
}

.bundle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bundle-info strong {
  font-size: 13px;
  color: var(--text);
}

.bundle-price {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.bundle-note {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

.bundle-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #cb3c3c 0%, #e85d3c 100%);
  border-radius: var(--radius-sm);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}

.bundle-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(203, 60, 60, 0.3);
  color: #fff;
}

/* ===== AMAZON SECTION ===== */
.amazon-section {
  border: 1px solid var(--border);
}

.amazon-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.amazon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 12px;
  transition: all 0.2s;
}

.amazon-item:hover {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.08);
}

.amazon-icon {
  font-size: 16px;
}

.amazon-item span:last-child {
  font-weight: 500;
}

.affiliate-disclaimer {
  font-size: 10px;
  color: var(--text-dim);
  font-style: italic;
  margin: 8px 0 0;
  line-height: 1.4;
}

/* ===== CREATOR CODE SECTION ===== */
.creator-section {
  border: 1px solid #9b59b6;
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.15);
}

.creator-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

.creator-code {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.creator-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.code-value {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #9b59b6;
  background: rgba(155, 89, 182, 0.15);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px dashed rgba(155, 89, 182, 0.4);
  letter-spacing: 2px;
}

.copy-btn {
  padding: 6px 16px;
  background: #9b59b6;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #8e44ad;
  transform: scale(1.05);
}

.creator-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0 0;
}

.creator-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #9b59b6;
  font-weight: 500;
}

.creator-link:hover {
  color: #8e44ad;
  text-decoration: underline;
}

/* ===== GUIDE TAGS ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

