/*
Theme Name: ココロジー (Cocology)
Theme URI: https://xn--zckzah9129b9fv.biz
Author: aon000
Description: 心理テストといえばココロジー。性格・恋愛・適職・深層心理テストが完全無料。
Version: 1.0.0
Text Domain: cocology
*/

/* ===== VARIABLES ===== */
:root {
  --bg: #faf8f6;
  --bg2: #fff;
  --bg3: #f5f0ec;
  --navy: #1a1a3e;
  --navy-l: #2d2d5e;
  --navy-ll: #4a4a7a;
  --coral: #f26b6b;
  --coral-l: #f7908a;
  --coral-d: #e04e4e;
  --coral-g: rgba(242,107,107,.1);
  --mint: #3ecf9e;
  --mint-g: rgba(62,207,158,.1);
  --gold: #f0a830;
  --gold-g: rgba(240,168,48,.1);
  --lavender: #9b8ec4;
  --lavender-g: rgba(155,142,196,.1);
  --sky: #4ea8de;
  --sky-g: rgba(78,168,222,.1);
  --text: #2a2a3a;
  --text2: #5a5a6e;
  --muted: #9898a8;
  --border: rgba(26,26,62,.08);
  --shadow: 0 2px 16px rgba(26,26,62,.06);
  --shadow-h: 0 8px 32px rgba(242,107,107,.12);
  --grad: linear-gradient(135deg, #f26b6b 0%, #f7908a 50%, #f0a830 100%);
  --grad-cool: linear-gradient(135deg, #4ea8de 0%, #9b8ec4 100%);
  --grad-mint: linear-gradient(135deg, #3ecf9e 0%, #4ea8de 100%);
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --f-display: 'Poppins', 'Zen Maru Gothic', sans-serif;
  --f-body: 'Zen Maru Gothic', sans-serif;
  --f-ui: 'M PLUS Rounded 1c', sans-serif;
}

/* ===== BASE RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.8;
  font-weight: 400;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color .3s;
}

::selection {
  background: var(--coral);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--coral-l);
  border-radius: 3px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,248,246,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .4s;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--f-display);
  box-shadow: 0 4px 12px rgba(242,107,107,.25);
}

.logo-text {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-text small {
  font-size: .65rem;
  color: var(--muted);
  display: block;
  font-weight: 400;
  margin-top: -4px;
  font-family: var(--f-body);
}

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

.nav a {
  font-size: .84rem;
  color: var(--text2);
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  position: relative;
}

.nav a:hover {
  color: var(--coral);
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 600;
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(242,107,107,.2);
  transition: all .3s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,107,107,.3);
}

/* ===== HERO ===== */
.hero {
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,107,107,.06) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,168,222,.05) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--coral-g);
  border: 1px solid rgba(242,107,107,.15);
  font-size: .78rem;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 28px;
  font-family: var(--f-ui);
  animation: fadeUp .6s ease-out;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--navy);
  animation: fadeUp .6s ease-out .1s both;
}

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: var(--text2);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp .6s ease-out .2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp .6s ease-out .3s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
}

.hero-stat .label {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--f-ui);
}

.hero-search {
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp .6s ease-out .4s both;
}

.hero-search-box {
  position: relative;
}

.hero-search-box input {
  width: 100%;
  padding: 16px 54px 16px 22px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: .95rem;
  font-family: var(--f-body);
  outline: none;
  transition: all .4s;
  box-shadow: var(--shadow);
}

.hero-search-box input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-g);
}

.hero-search-box input::placeholder {
  color: var(--muted);
}

.hero-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.hero-search-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.hero-cats {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-cat {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-family: var(--f-ui);
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
}

.hero-cat:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--coral-g);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 48px 0;
}

.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.sec-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-title .icon {
  font-size: 1.3rem;
}

.sec-more {
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--f-ui);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .3s;
}

.sec-more:hover {
  color: var(--coral);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TODAY'S 1 QUESTION ===== */
.daily-section {
  background: var(--bg2);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.daily-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}

.daily-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.daily-label {
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.daily-date {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--f-ui);
}

.daily-question {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.6;
}

.daily-desc {
  font-size: .88rem;
  color: var(--text2);
  margin-bottom: 24px;
}

.daily-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.daily-opt {
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.daily-opt:hover {
  border-color: var(--coral-l);
  background: var(--coral-g);
  transform: translateY(-2px);
}

.daily-opt.selected {
  border-color: var(--coral);
  background: var(--coral-g);
}

.daily-opt .opt-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.daily-opt .opt-text {
  font-size: .88rem;
  font-weight: 500;
}

.daily-result {
  display: none;
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(242,107,107,.04), rgba(155,142,196,.04));
  border: 1px solid var(--border);
  border-radius: var(--r);
  animation: fadeUp .4s ease-out;
}

.daily-result.active {
  display: block;
}

.daily-result-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: .98rem;
}

.daily-result-text {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.8;
}

.daily-share {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: .75rem;
  font-family: var(--f-ui);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .3s;
}

.share-x {
  background: #000;
  color: #fff;
}

.share-line {
  background: #06c755;
  color: #fff;
}

.share-copy {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text2);
}

/* ===== TEST CARDS ===== */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.test-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all .4s;
  box-shadow: var(--shadow);
}

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

.test-thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.test-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .68rem;
  font-family: var(--f-ui);
  font-weight: 700;
  color: #fff;
}

.badge-hot {
  background: var(--coral);
}

.badge-new {
  background: var(--sky);
}

.badge-popular {
  background: var(--gold);
}

.badge-deep {
  background: var(--navy);
}

.test-body {
  padding: 18px 20px;
}

.test-cat {
  font-size: .72rem;
  font-family: var(--f-ui);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: .04em;
}

.test-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--navy);
}

.test-desc {
  font-size: .8rem;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.test-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.test-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--f-ui);
}

.test-meta-left span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.test-start-btn {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--grad);
  border: none;
  color: #fff;
  font-size: .78rem;
  font-family: var(--f-ui);
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
}

.test-start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(242,107,107,.25);
}

/* ===== SITUATION FINDER ===== */
.situation-section {
  background: var(--bg2);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.sit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.sit-card {
  padding: 22px 18px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .3s;
  text-align: center;
}

.sit-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-h);
}

.sit-card .sit-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  display: block;
}

.sit-card .sit-name {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--navy);
}

.sit-card .sit-count {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--f-ui);
}

/* ===== CATEGORIES ===== */
.cat-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cat-pill {
  padding: 10px 22px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--bg2);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-pill:hover,
.cat-pill.active {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.cat-pill.c1.active,
.cat-pill.c1:hover {
  background: var(--coral);
}

.cat-pill.c2.active,
.cat-pill.c2:hover {
  background: var(--sky);
}

.cat-pill.c3.active,
.cat-pill.c3:hover {
  background: var(--mint);
}

.cat-pill.c4.active,
.cat-pill.c4:hover {
  background: var(--lavender);
}

.cat-pill.c5.active,
.cat-pill.c5:hover {
  background: var(--gold);
}

.cat-pill.c6.active,
.cat-pill.c6:hover {
  background: var(--navy);
}

/* ===== DUO DIAGNOSIS ===== */
.duo-section {
  background: linear-gradient(135deg, #1a1a3e, #2d2d5e);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  color: #fff;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.duo-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,107,107,.15), transparent);
}

.duo-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,168,222,.1), transparent);
}

.duo-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.duo-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.duo-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.duo-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 20px 24px;
  min-width: 160px;
  backdrop-filter: blur(8px);
  transition: all .3s;
}

.duo-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.duo-card .dc-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  display: block;
}

.duo-card .dc-name {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.duo-card .dc-desc {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}

.duo-btn {
  padding: 14px 36px;
  border-radius: 100px;
  background: var(--grad);
  border: none;
  color: #fff;
  font-size: .95rem;
  font-family: var(--f-body);
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(242,107,107,.3);
}

.duo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(242,107,107,.4);
}

/* ===== RANKING ===== */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 20px;
  cursor: pointer;
  transition: all .3s;
  box-shadow: var(--shadow);
}

.rank-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-h);
}

.rank-num {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
}

.rank-num.r1 {
  color: var(--coral);
}

.rank-num.r2 {
  color: var(--gold);
}

.rank-num.r3 {
  color: var(--sky);
}

.rank-icon {
  font-size: 1.5rem;
}

.rank-info {
  flex: 1;
}

.rank-name {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}

.rank-stat {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--f-ui);
}

.rank-go {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--coral-g);
  color: var(--coral);
  font-size: .72rem;
  font-family: var(--f-ui);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .3s;
}

.rank-go:hover {
  background: var(--coral);
  color: #fff;
}

/* ===== TEST MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,26,62,.5);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.12);
  animation: modalIn .4s ease-out;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text2);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.modal-close:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

/* Test progress */
.test-progress {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
}

.test-progress-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 3px;
  transition: width .5s ease-out;
}

.test-q-num {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--f-ui);
  font-weight: 600;
  margin-bottom: 8px;
}

.test-q-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.6;
}

.test-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.test-answer {
  padding: 14px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .3s;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-answer:hover {
  border-color: var(--coral-l);
  background: var(--coral-g);
  transform: translateX(4px);
}

.test-answer .ans-label {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .3s;
}

.test-answer:hover .ans-label {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--coral-g);
}

/* ===== TEST RESULT ===== */
.test-result {
  text-align: center;
}

.test-result-emoji {
  font-size: 4rem;
  margin-bottom: 12px;
  display: block;
}

.test-result-type {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.test-result-sub {
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--f-ui);
  margin-bottom: 20px;
}

.test-result-desc {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.9;
  text-align: left;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.test-result-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.test-result-trait {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--f-ui);
}

.test-result-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.result-bar {
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.result-bar .rb-label {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--f-ui);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.result-bar .rb-track {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}

.result-bar .rb-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .8s ease-out;
}

.test-result-share {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.test-result-retake {
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text2);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--f-body);
  margin-top: 12px;
}

.test-result-retake:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* ===== MAKER CTA ===== */
.maker-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  text-align: center;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}

.maker-section h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.maker-section p {
  font-size: .9rem;
  color: var(--text2);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.maker-btn {
  padding: 14px 36px;
  border-radius: 100px;
  background: var(--grad-cool);
  border: none;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--f-body);
}

.maker-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,168,222,.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 24px 24px;
}

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

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand {
  flex: 1;
  min-width: 260px;
}

.footer-brand-name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
}

.footer-links {
  flex: 1;
  min-width: 140px;
}

.footer-links h4 {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  font-family: var(--f-ui);
  margin-bottom: 10px;
  letter-spacing: .1em;
}

.footer-links a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  padding: 3px 0;
  transition: color .3s;
}

.footer-links a:hover {
  color: var(--coral-l);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  background: var(--bg2);
  border: 1px solid var(--coral);
  border-radius: var(--r);
  padding: 14px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  display: none;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text);
}

.toast.active {
  display: flex;
  animation: fadeUp .4s ease-out;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(62,207,158,.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(62,207,158,0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== WORDPRESS: ARCHIVE ===== */
.archive-header {
  padding-top: 110px;
  text-align: center;
  margin-bottom: 40px;
}

.archive-header h1 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.archive-header p {
  font-size: .9rem;
  color: var(--text2);
  margin-top: 8px;
}

/* ===== WORDPRESS: PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--r);
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: .84rem;
  transition: all .3s;
}

.pagination a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.pagination .current {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

/* ===== WORDPRESS: SINGLE POST ===== */
.single-post {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.single-post h1 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.single-post .post-meta {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--f-ui);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.single-post .post-content {
  font-size: .95rem;
  line-height: 2;
  color: var(--text);
}

.single-post .post-content h2 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--coral-g);
}

.single-post .post-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}

.single-post .post-content p {
  margin-bottom: 20px;
}

.single-post .post-content ul,
.single-post .post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.single-post .post-content li {
  margin-bottom: 8px;
}

.single-post .post-content blockquote {
  border-left: 4px solid var(--coral);
  padding: 16px 20px;
  background: var(--coral-g);
  border-radius: 0 var(--r) var(--r) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text2);
}

.single-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .daily-options {
    grid-template-columns: 1fr;
  }

  .test-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .duo-cards {
    flex-direction: column;
    align-items: center;
  }

  .test-result-bars {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .hero-stats {
    gap: 24px;
  }

  .cat-pills {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .test-grid {
    grid-template-columns: 1fr;
  }

  .sit-grid {
    grid-template-columns: 1fr;
  }
}
