/**
 * AstroHub — Synastry visual system (Home polish)
 * Ivory field + navy tools + champagne gold + soft symbol depth + motion
 */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
	--astrohub-ivory: #f6f0e6;
	--astrohub-ivory-deep: #ebe2d2;
	--astrohub-sand: #f1e7d7;
	--astrohub-navy: #0a1a32;
	--astrohub-navy-mid: #153255;
	--astrohub-navy-soft: #2a4a73;
	--astrohub-gold: #c29a5f;
	--astrohub-gold-bright: #d4ae68;
	--astrohub-gold-soft: #e6d2a4;
	--astrohub-text: #15233a;
	--astrohub-text-soft: #5b6877;
	--astrohub-white: #fffdf8;
	--astrohub-radius: 18px;
	--astrohub-radius-sm: 12px;
	--astrohub-shadow: 0 20px 50px rgba(10, 26, 50, 0.1);
	--astrohub-shadow-gold: 0 16px 34px rgba(194, 154, 95, 0.24);
	--astrohub-content: 1180px;
	--astrohub-font-display: "Cormorant Garamond", "Times New Roman", serif;
	--astrohub-font-body: "Manrope", "Segoe UI", sans-serif;
	--astrohub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--astrohub-font-body);
	color: var(--astrohub-text);
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 253, 248, 0.95), transparent 60%),
		radial-gradient(circle at 88% 18%, rgba(194, 154, 95, 0.1), transparent 28%),
		radial-gradient(circle at 8% 72%, rgba(21, 50, 85, 0.06), transparent 34%),
		linear-gradient(180deg, #f8f3ea 0%, var(--astrohub-ivory) 38%, var(--astrohub-sand) 100%);
	line-height: 1.65;
}

/* Soft drifting zodiac / planet symbols on ivory (from notes) */
body::before {
	content: "";
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: -1;
	opacity: 0.055;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Ctext x='24' y='70' font-size='34' fill='%230a1a32'%3E%E2%99%88%3C/text%3E%3Ctext x='210' y='90' font-size='26' fill='%230a1a32'%3E%E2%98%89%3C/text%3E%3Ctext x='90' y='190' font-size='30' fill='%230a1a32'%3E%E2%99%8B%3C/text%3E%3Ctext x='250' y='230' font-size='28' fill='%230a1a32'%3E%E2%99%80%3C/text%3E%3Ctext x='40' y='300' font-size='24' fill='%230a1a32'%3E%E2%99%89%3C/text%3E%3Ctext x='180' y='320' font-size='22' fill='%230a1a32'%3E%E2%99%A4%3C/text%3E%3C/svg%3E");
	background-size: 360px 360px;
	animation: astrohub-drift 90s linear infinite;
}

body .site { overflow-x: clip; }

h1, h2, h3, h4, h5, h6,
.entry-title, .ast-archive-title, .woocommerce-loop-product__title {
	font-family: var(--astrohub-font-display);
	color: var(--astrohub-navy);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

a {
	color: var(--astrohub-navy-mid);
	transition: color 0.3s var(--astrohub-ease), opacity 0.3s var(--astrohub-ease);
}
a:hover, a:focus { color: var(--astrohub-gold); }

/* Header */
.main-header-bar, .ast-primary-header-bar, .site-header {
	background: rgba(246, 240, 230, 0.88) !important;
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(10, 26, 50, 0.06);
	box-shadow: none !important;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .menu-link {
	font-family: var(--astrohub-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--astrohub-navy) !important;
}
.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .menu-item.current-menu-item > .menu-link {
	color: var(--astrohub-gold) !important;
}

.site-title a, .ast-site-title-wrap .site-title a {
	font-family: var(--astrohub-font-display);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--astrohub-navy) !important;
}

/* Zodiac bar */
.astrohub-zodiac-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 24px;
	background: linear-gradient(100deg, #071426 0%, var(--astrohub-navy) 45%, var(--astrohub-navy-mid) 100%);
	color: var(--astrohub-gold-soft);
	font-size: 0.78rem;
}
.astrohub-zodiac-bar__signs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	flex: 1;
}
.astrohub-zodiac-bar__sign {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 34px;
	padding: 5px 6px;
	border-radius: 10px;
	color: var(--astrohub-gold-soft);
	text-decoration: none;
	transition: transform 0.35s var(--astrohub-ease), background 0.35s var(--astrohub-ease), color 0.35s ease;
}
.astrohub-zodiac-bar__sign:hover {
	transform: translateY(-3px);
	background: rgba(212, 174, 104, 0.14);
	color: #fff;
}
.astrohub-zodiac-bar__glyph { font-size: 1.05rem; line-height: 1; }
.astrohub-zodiac-bar__label { font-size: 0.56rem; letter-spacing: 0.04em; opacity: 0.85; }
.astrohub-zodiac-bar__social { display: flex; gap: 10px; align-items: center; }
.astrohub-zodiac-bar__social a {
	color: var(--astrohub-gold-soft);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.astrohub-zodiac-bar__social a:hover { color: #fff; }

/* Buttons — soft rectangle, not pill */
.astrohub-btn,
.wp-block-button__link,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	font-family: var(--astrohub-font-body);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 12px !important;
	border: 1px solid transparent;
	transition: transform 0.35s var(--astrohub-ease), box-shadow 0.35s var(--astrohub-ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.astrohub-btn--gold,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: linear-gradient(135deg, var(--astrohub-gold-bright), var(--astrohub-gold)) !important;
	color: var(--astrohub-navy) !important;
	box-shadow: var(--astrohub-shadow-gold);
}
.astrohub-btn--gold:hover,
.woocommerce a.button.alt:hover {
	transform: translateY(-2px);
	color: var(--astrohub-navy) !important;
}
.astrohub-btn--navy {
	background: var(--astrohub-navy) !important;
	color: var(--astrohub-gold-soft) !important;
}
.astrohub-btn--ghost {
	background: transparent !important;
	border-color: rgba(212, 174, 104, 0.55) !important;
	color: var(--astrohub-gold-bright) !important;
}
.astrohub-btn--line {
	background: transparent !important;
	border-color: rgba(10, 26, 50, 0.22) !important;
	color: var(--astrohub-navy) !important;
}
.astrohub-btn--line:hover {
	border-color: var(--astrohub-gold) !important;
	color: var(--astrohub-gold) !important;
}

/* Layout */
.astrohub-wrap {
	width: min(100% - 32px, var(--astrohub-content));
	margin-inline: auto;
}
.astrohub-section { padding: 84px 0; position: relative; }
.astrohub-section--soft {
	background: linear-gradient(180deg, rgba(255, 253, 248, 0.45), rgba(241, 231, 215, 0.55));
}
.astrohub-section--symbols {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%230a1a32' stroke-width='1' opacity='0.09'%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='210' cy='70' r='5'/%3E%3Cpath d='M120 40 L126 54 L141 54 L129 63 L134 78 L120 69 L106 78 L111 63 L99 54 L114 54 Z'/%3E%3Cpath d='M220 180 L230 205 M220 180 L210 205 M220 180 L245 180 M220 180 L195 180'/%3E%3Cpath d='M40 200 Q60 175 80 200 Q60 225 40 200'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 280px 280px;
}
.astrohub-section__eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--astrohub-gold);
}
.astrohub-section__title {
	margin: 0 0 12px;
	font-size: clamp(2.05rem, 4vw, 3.25rem);
}
.astrohub-section__lead {
	max-width: 40rem;
	margin: 0 auto 40px;
	color: var(--astrohub-text-soft);
	text-align: center;
}
.astrohub-section--center .astrohub-section__title,
.astrohub-section--center .astrohub-section__eyebrow {
	text-align: center;
	display: block;
}
.astrohub-divider {
	width: 72px;
	height: 1px;
	margin: 18px auto 28px;
	background: linear-gradient(90deg, transparent, var(--astrohub-gold), transparent);
}

/* Hero */
.astrohub-hero {
	position: relative;
	isolation: isolate;
	min-height: min(88vh, 820px);
	display: flex;
	align-items: center;
	padding: clamp(48px, 8vw, 96px) 0 56px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 70% 30%, rgba(194, 154, 95, 0.12), transparent 42%),
		radial-gradient(ellipse at 20% 80%, rgba(21, 50, 85, 0.07), transparent 40%),
		linear-gradient(165deg, #f9f4eb 0%, #f3eadb 55%, #ebe3d4 100%);
}
.astrohub-hero__atmosphere {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}
.astrohub-hero__orbit {
	position: absolute;
	right: max(-8%, -60px);
	top: 8%;
	width: min(52vw, 460px);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(194, 154, 95, 0.28);
	box-shadow: inset 0 0 0 1px rgba(10, 26, 50, 0.04);
	animation: astrohub-spin 64s linear infinite;
}
.astrohub-hero__orbit::before,
.astrohub-hero__orbit::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: var(--astrohub-gold);
}
.astrohub-hero__orbit::before {
	width: 10px; height: 10px; top: 8%; left: 48%;
	box-shadow: 0 0 0 6px rgba(194, 154, 95, 0.15);
}
.astrohub-hero__orbit::after {
	width: 7px; height: 7px; bottom: 18%; right: 12%;
	background: var(--astrohub-navy-mid);
}
.astrohub-hero__orbit--slow {
	width: min(38vw, 340px);
	top: 22%;
	right: max(2%, 20px);
	opacity: 0.55;
	animation-duration: 96s;
	animation-direction: reverse;
}
.astrohub-hero__spark {
	position: absolute;
	color: var(--astrohub-gold);
	opacity: 0.45;
	animation: astrohub-twinkle 4.8s ease-in-out infinite;
}
.astrohub-hero__spark--a { left: 12%; top: 22%; font-size: 1.1rem; }
.astrohub-hero__spark--b { left: 28%; bottom: 24%; font-size: 0.9rem; animation-delay: 1.2s; }
.astrohub-hero__spark--c { right: 42%; top: 16%; font-size: 1rem; animation-delay: 2.1s; }

.astrohub-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 40px;
	align-items: center;
}
.astrohub-brand-mark {
	margin: 0 0 14px;
	font-family: var(--astrohub-font-display);
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--astrohub-navy);
}
.astrohub-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.5rem, 5.6vw, 4.2rem);
	color: var(--astrohub-navy);
}
.astrohub-hero__title em {
	font-style: italic;
	color: var(--astrohub-gold);
}
.astrohub-hero__text {
	max-width: 32rem;
	margin: 0 0 28px;
	color: var(--astrohub-text-soft);
	font-size: 1.06rem;
}
.astrohub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.astrohub-hero__panel {
	padding: 30px 28px;
	border-radius: var(--astrohub-radius);
	background:
		radial-gradient(circle at 80% 0%, rgba(212, 174, 104, 0.18), transparent 40%),
		linear-gradient(150deg, rgba(7, 20, 38, 0.96), rgba(21, 50, 85, 0.92));
	border: 1px solid rgba(212, 174, 104, 0.3);
	box-shadow: 0 28px 60px rgba(10, 26, 50, 0.22);
	color: #f4efe6;
}
.astrohub-hero__panel-badge {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--astrohub-gold-soft);
	opacity: 0.9;
}
.astrohub-hero__panel h3 {
	margin: 0 0 8px;
	color: var(--astrohub-gold-soft);
	font-size: 1.75rem;
}
.astrohub-hero__panel p {
	margin: 0 0 18px;
	color: rgba(255, 253, 249, 0.78);
}
.astrohub-hero__form-row {
	display: grid;
	gap: 10px;
}
.astrohub-hero__form-row input,
.astrohub-tool-island input,
.astrohub-tool-island select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 11px;
	border: 1px solid rgba(217, 180, 107, 0.28);
	background: rgba(255, 253, 249, 0.08);
	color: #fff;
}
.astrohub-hero__form-row input::placeholder { color: rgba(255, 253, 249, 0.55); }

@media (min-width: 920px) {
	.astrohub-hero__inner { grid-template-columns: 1.15fr 0.85fr; }
}

/* Ticker */
.astrohub-ticker {
	overflow: hidden;
	border-block: 1px solid rgba(10, 26, 50, 0.07);
	background: rgba(255, 253, 248, 0.62);
	backdrop-filter: blur(6px);
}
.astrohub-ticker__track {
	display: flex;
	gap: 48px;
	width: max-content;
	padding: 15px 0;
	animation: astrohub-marquee 42s linear infinite;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
	color: var(--astrohub-navy);
}
.astrohub-ticker__item strong { color: var(--astrohub-gold); font-weight: 700; }
.astrohub-ticker:hover .astrohub-ticker__track { animation-play-state: paused; }

/* Zodiac grid */
.astrohub-zodiac-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.astrohub-zodiac-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 16px;
	border-radius: var(--astrohub-radius-sm);
	background: rgba(255, 253, 248, 0.72);
	border: 1px solid rgba(10, 26, 50, 0.06);
	box-shadow: 0 10px 28px rgba(10, 26, 50, 0.05);
	text-decoration: none;
	color: inherit;
	transition: transform 0.4s var(--astrohub-ease), border-color 0.35s ease, box-shadow 0.4s var(--astrohub-ease), background 0.35s ease;
}
.astrohub-zodiac-card:hover {
	transform: translateY(-5px);
	border-color: rgba(194, 154, 95, 0.5);
	box-shadow: 0 22px 44px rgba(10, 26, 50, 0.12);
	background: rgba(255, 253, 248, 0.95);
	color: inherit;
}
.astrohub-zodiac-card__glyph { font-size: 1.55rem; color: var(--astrohub-gold); }
.astrohub-zodiac-card__name {
	font-family: var(--astrohub-font-display);
	font-size: 1.3rem;
	color: var(--astrohub-navy);
}
.astrohub-zodiac-card__dates { font-size: 0.76rem; color: var(--astrohub-text-soft); }
@media (min-width: 700px) {
	.astrohub-zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.astrohub-zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tools band */
.astrohub-tools-band {
	position: relative;
	overflow: hidden;
	padding: 92px 0;
	background:
		radial-gradient(circle at 18% 20%, rgba(212, 174, 104, 0.16), transparent 36%),
		radial-gradient(circle at 88% 80%, rgba(42, 74, 115, 0.45), transparent 40%),
		linear-gradient(145deg, #071426, var(--astrohub-navy) 45%, var(--astrohub-navy-mid));
	color: #f4efe6;
}
.astrohub-tools-band__stars {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image: radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,253,248,0.55), transparent),
		radial-gradient(1.5px 1.5px at 80px 120px, rgba(212,174,104,0.55), transparent),
		radial-gradient(1.5px 1.5px at 160px 60px, rgba(255,253,248,0.4), transparent),
		radial-gradient(1.5px 1.5px at 240px 160px, rgba(212,174,104,0.4), transparent);
	background-size: 280px 200px;
	animation: astrohub-drift 70s linear infinite;
	pointer-events: none;
}
.astrohub-tools-band .astrohub-section__title,
.astrohub-tools-band .astrohub-section__lead { color: #f4efe6; }
.astrohub-tools-band .astrohub-section__lead { opacity: 0.78; }
.astrohub-tools-grid { display: grid; gap: 18px; position: relative; z-index: 1; }
.astrohub-tool-island {
	padding: 28px 24px;
	border-radius: var(--astrohub-radius);
	background: rgba(255, 253, 249, 0.045);
	border: 1px solid rgba(217, 180, 107, 0.26);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	transition: transform 0.4s var(--astrohub-ease), border-color 0.35s ease, background 0.35s ease;
}
.astrohub-tool-island:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 174, 104, 0.5);
	background: rgba(255, 253, 249, 0.07);
}
.astrohub-tool-island h3 {
	margin: 0 0 8px;
	color: var(--astrohub-gold-soft);
	font-size: 1.7rem;
}
.astrohub-tool-island p {
	margin: 0 0 18px;
	color: rgba(255, 253, 249, 0.74);
}
.astrohub-tool-island__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 8px;
	border: 1px solid rgba(217, 180, 107, 0.35);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--astrohub-gold-soft);
}
@media (min-width: 860px) {
	.astrohub-tools-grid,
	.astrohub-tools-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.astrohub-tools-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Explore / blog gateways */
.astrohub-explore-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.astrohub-explore {
	display: grid;
	gap: 8px;
	padding: 24px 20px;
	border-radius: var(--astrohub-radius-sm);
	text-decoration: none;
	color: inherit;
	background: rgba(255, 253, 248, 0.68);
	border: 1px solid rgba(10, 26, 50, 0.06);
	box-shadow: 0 12px 30px rgba(10, 26, 50, 0.05);
	transition: transform 0.4s var(--astrohub-ease), border-color 0.35s ease, box-shadow 0.4s var(--astrohub-ease);
}
.astrohub-explore:hover {
	transform: translateY(-4px);
	border-color: rgba(194, 154, 95, 0.45);
	box-shadow: 0 20px 40px rgba(10, 26, 50, 0.1);
	color: inherit;
}
.astrohub-explore__glyph {
	font-size: 1.45rem;
	color: var(--astrohub-gold);
}
.astrohub-explore__label {
	font-family: var(--astrohub-font-display);
	font-size: 1.45rem;
	color: var(--astrohub-navy);
}
.astrohub-explore__text {
	font-size: 0.9rem;
	color: var(--astrohub-text-soft);
	line-height: 1.5;
}
@media (min-width: 900px) {
	.astrohub-explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* News / editorial */
.astrohub-section--editorial {
	background: linear-gradient(180deg, rgba(255, 253, 248, 0.88), rgba(246, 240, 230, 0.96));
}
.astrohub-editorial__head {
	margin-bottom: 28px;
}
.astrohub-editorial-grid {
	display: grid;
	gap: 0;
	border-top: 1px solid rgba(10, 26, 50, 0.12);
	border-left: 1px solid rgba(10, 26, 50, 0.12);
}
.astrohub-editorial-card {
	position: relative;
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 14px;
	padding: 22px 18px;
	text-decoration: none;
	color: inherit;
	background: rgba(255, 253, 248, 0.54);
	border-right: 1px solid rgba(10, 26, 50, 0.12);
	border-bottom: 1px solid rgba(10, 26, 50, 0.12);
	transition: background 0.35s ease, transform 0.35s var(--astrohub-ease);
}
.astrohub-editorial-card:hover {
	background: rgba(255, 253, 248, 0.92);
	transform: translateY(-2px);
	color: inherit;
}
.astrohub-editorial-card--featured {
	background: rgba(255, 253, 248, 0.72);
	min-height: 260px;
	align-items: center;
}
.astrohub-editorial-card__rank {
	font-family: var(--astrohub-font-display);
	font-size: clamp(3.2rem, 8vw, 5rem);
	line-height: 0.9;
	color: #92a2cf;
}
.astrohub-editorial-card__type {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--astrohub-text-soft);
}
.astrohub-editorial-card h3 {
	margin: 0;
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	line-height: 1.08;
	color: #111826;
}
.astrohub-editorial-card__orb {
	position: absolute;
	right: 28px;
	top: 28px;
	width: 82px;
	height: 82px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #27a8f4, #1b2d56 65%);
	color: #f7f1e8;
	font-size: 2rem;
	box-shadow: 0 20px 40px rgba(10, 26, 50, 0.16);
}
@media (min-width: 860px) {
	.astrohub-editorial-grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
	.astrohub-editorial-card--featured {
		grid-row: span 2;
	}
}

/* Tarot home visual */
.astrohub-tarot-home {
	position: relative;
	overflow: hidden;
	padding: 90px 0;
	background:
		radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05), transparent 30%),
		radial-gradient(circle at 20% 25%, rgba(212,174,104,0.1), transparent 28%),
		linear-gradient(180deg, #030507 0%, #060b14 100%);
	color: #f4efe6;
}
.astrohub-tarot-home::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.55;
	background-image:
		radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.72), transparent),
		radial-gradient(1px 1px at 90px 120px, rgba(255,255,255,0.65), transparent),
		radial-gradient(1.2px 1.2px at 180px 60px, rgba(255,255,255,0.5), transparent),
		radial-gradient(1px 1px at 240px 170px, rgba(255,255,255,0.42), transparent);
	background-size: 260px 200px;
	animation: astrohub-drift 80s linear infinite;
	pointer-events: none;
}
.astrohub-tarot-home__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 28px;
	align-items: center;
}
.astrohub-tarot-home__copy .astrohub-section__title,
.astrohub-tarot-home__copy .astrohub-section__lead {
	color: #f4efe6;
	text-align: left;
	margin-left: 0;
}
.astrohub-tarot-home__copy .astrohub-divider {
	margin-left: 0;
}
.astrohub-tarot-fan {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	perspective: 1200px;
}
.astrohub-tarot-card {
	position: absolute;
	bottom: 0;
	width: 120px;
	height: 250px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 50% 18%, rgba(255,255,255,0.85) 0 2px, transparent 3px),
		linear-gradient(180deg, rgba(255,248,238,0.98), rgba(233,223,212,0.96));
	border: 8px solid #f2e8db;
	box-shadow: 0 22px 50px rgba(0,0,0,0.34);
	transform: translateX(var(--card-x, 0)) rotate(var(--card-r, 0deg));
}
.astrohub-tarot-card::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 2px solid rgba(10, 26, 50, 0.45);
	border-radius: 8px;
}
.astrohub-tarot-card::after {
	content: "◐";
	position: absolute;
	left: 50%;
	top: 16px;
	transform: translateX(-50%);
	font-size: 1rem;
	color: rgba(10, 26, 50, 0.72);
	letter-spacing: 0.25em;
}
.astrohub-tarot-card--1 { --card-x: -240px; --card-r: -14deg; }
.astrohub-tarot-card--2 { --card-x: -165px; --card-r: -10deg; }
.astrohub-tarot-card--3 { --card-x: -90px; --card-r: -6deg; }
.astrohub-tarot-card--4 { --card-x: -15px; --card-r: -2deg; }
.astrohub-tarot-card--5 { --card-x: 60px; --card-r: 3deg; }
.astrohub-tarot-card--6 { --card-x: 135px; --card-r: 8deg; }
.astrohub-tarot-card--7 { --card-x: 210px; --card-r: 13deg; }
.astrohub-tarot-card:nth-child(odd) {
	animation: astrohub-float-card 6.5s ease-in-out infinite;
}
.astrohub-tarot-card:nth-child(even) {
	animation: astrohub-float-card 7.2s ease-in-out infinite reverse;
}

/* Services */
.astrohub-services-grid { display: grid; gap: 18px; }
.astrohub-service-card {
	padding: 28px 24px;
	border-radius: var(--astrohub-radius);
	background: rgba(255, 253, 248, 0.88);
	border: 1px solid rgba(194, 154, 95, 0.35);
	box-shadow: var(--astrohub-shadow);
	transition: transform 0.4s var(--astrohub-ease), box-shadow 0.4s var(--astrohub-ease);
}
.astrohub-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 50px rgba(10, 26, 50, 0.12);
}
.astrohub-service-card h3 { margin: 0 0 8px; font-size: 1.65rem; }
.astrohub-service-card p { margin: 0 0 18px; color: var(--astrohub-text-soft); }
.astrohub-service-card__price {
	margin-bottom: 16px;
	font-family: var(--astrohub-font-display);
	font-size: 1.8rem;
	color: var(--astrohub-navy);
}
@media (min-width: 900px) {
	.astrohub-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tools pages */
.astrohub-page-hero { padding: 48px 0 24px; text-align: center; }
.astrohub-page-hero h1 { margin: 0 0 10px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.astrohub-tool-shell {
	margin: 24px auto 64px;
	padding: 28px;
	border-radius: var(--astrohub-radius);
	background: linear-gradient(145deg, #071426, var(--astrohub-navy-mid));
	border: 1px solid rgba(217, 180, 107, 0.3);
	color: #f4efe6;
	box-shadow: var(--astrohub-shadow);
}
.astrohub-tool-shell h2 { color: var(--astrohub-gold-soft); }
.astrohub-tool-placeholder {
	padding: 28px;
	border: 1px dashed rgba(217, 180, 107, 0.4);
	border-radius: var(--astrohub-radius-sm);
	background: rgba(255, 253, 249, 0.04);
	text-align: center;
}

/* Footer + sticky */
.astrohub-quotes {
	overflow: hidden;
	padding: 18px 0;
	background: #071426;
	color: var(--astrohub-gold-soft);
}
.astrohub-quotes__track {
	display: flex;
	gap: 64px;
	width: max-content;
	animation: astrohub-marquee 52s linear infinite;
	font-family: var(--astrohub-font-display);
	font-style: italic;
	font-size: 1.15rem;
}
.site-footer, .ast-footer-copyright {
	background: #071426 !important;
	color: rgba(244, 239, 230, 0.78) !important;
}
.site-footer a { color: var(--astrohub-gold-soft) !important; }

.astrohub-sticky-cta {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--astrohub-gold-bright), var(--astrohub-gold));
	color: var(--astrohub-navy) !important;
	font-weight: 700;
	font-size: 0.84rem;
	letter-spacing: 0.03em;
	text-decoration: none;
	box-shadow: var(--astrohub-shadow-gold);
	transition: transform 0.35s var(--astrohub-ease), box-shadow 0.35s ease;
}
.astrohub-sticky-cta::before { content: "✦"; font-size: 0.95rem; }
.astrohub-sticky-cta:hover,
.astrohub-sticky-cta:focus {
	color: var(--astrohub-navy) !important;
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(194, 154, 95, 0.38);
}

/* Reveal motion — only below-fold sections */
[data-astrohub-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.85s var(--astrohub-ease), transform 0.85s var(--astrohub-ease);
}
[data-astrohub-reveal].is-visible {
	opacity: 1;
	transform: none;
}
.astrohub-hero .astrohub-hero__copy,
.astrohub-hero .astrohub-hero__panel {
	animation: astrohub-hero-in 0.9s var(--astrohub-ease) both;
}
.astrohub-hero .astrohub-hero__panel { animation-delay: 0.12s; }

@keyframes astrohub-hero-in {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes astrohub-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes astrohub-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@keyframes astrohub-twinkle {
	0%, 100% { opacity: 0.25; transform: scale(1); }
	50% { opacity: 0.7; transform: scale(1.15); }
}
@keyframes astrohub-drift {
	from { background-position: 0 0; }
	to { background-position: 360px 180px; }
}
@keyframes astrohub-float-card {
	0%, 100% { transform: translateX(var(--card-x, 0)) rotate(var(--card-r, 0deg)) translateY(0); }
	50% { transform: translateX(var(--card-x, 0)) rotate(var(--card-r, 0deg)) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
	.astrohub-ticker__track,
	.astrohub-quotes__track,
	.astrohub-hero__orbit,
	.astrohub-hero__spark,
	body::before,
	.astrohub-tools-band__stars,
	.astrohub-tarot-home::before,
	.astrohub-tarot-card {
		animation: none !important;
	}
	[data-astrohub-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.astrohub-hero .astrohub-hero__copy,
	.astrohub-hero .astrohub-hero__panel {
		animation: none !important;
	}
	.astrohub-zodiac-card,
	.astrohub-btn,
	.astrohub-tool-island,
	.astrohub-explore,
	.astrohub-service-card,
	.astrohub-sticky-cta {
		transition: none !important;
	}
}

@media (max-width: 768px) {
	.astrohub-zodiac-bar { flex-direction: column; padding: 10px 12px; }
	.astrohub-zodiac-bar__label { display: none; }
	.astrohub-sticky-cta {
		left: 16px;
		right: 16px;
		bottom: 16px;
		justify-content: center;
	}
	.astrohub-section { padding: 60px 0; }
	.astrohub-hero { min-height: auto; }
	.astrohub-explore-grid { grid-template-columns: 1fr; }
	.astrohub-editorial-card--featured {
		min-height: 220px;
	}
	.astrohub-tarot-fan {
		min-height: 260px;
		transform: scale(0.72);
		transform-origin: center bottom;
	}
}
