/* ===== Horoscope Pages — Daily/Weekly/Today/Tomorrow ===== */

/* Zodiac Grid Redesign */
.horo-zodiac-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-bottom: 28px;
}
.horo-zodiac-grid__item {
	position: relative;
}
.horo-zodiac-grid__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px 8px;
	border-radius: var(--radius-md);
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	text-decoration: none;
	color: var(--color-text);
	transition: var(--transition);
	position: relative;
}
.horo-zodiac-grid__link:hover {
	border-color: var(--color-primary-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.horo-zodiac-grid__item.active .horo-zodiac-grid__link {
	border-color: var(--color-accent);
	background: linear-gradient(135deg, rgba(194,33,81,0.04), rgba(194,33,81,0.08));
	box-shadow: 0 0 0 2px rgba(194,33,81,0.15);
}
.horo-zodiac-grid__symbol {
	font-size: 28px;
	line-height: 1;
	filter: grayscale(0);
}
.horo-zodiac-grid__name {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-light);
}
.horo-zodiac-grid__item.active .horo-zodiac-grid__name {
	color: var(--color-accent);
}
.horo-zodiac-grid__dates {
	font-size: 10px;
	color: var(--color-text-muted);
	white-space: nowrap;
}

/* Period Nav Tabs */
.horo-nav {
	display: flex;
	gap: 4px;
	margin-bottom: 28px;
	padding: 4px;
	background: var(--color-bg-soft);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	flex-wrap: wrap;
}
.horo-nav__link {
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text-light);
	text-decoration: none;
	transition: var(--transition);
	white-space: nowrap;
}
.horo-nav__link:hover {
	background: var(--color-bg-card);
	color: var(--color-text);
}
.horo-nav__link.active {
	background: var(--color-bg-card);
	color: var(--color-primary);
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}

/* ===== General Forecast — Premium Card ===== */
.horo-forecast {
	position: relative;
	padding: 32px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	margin-bottom: 28px;
	overflow: hidden;
}
.horo-forecast__glow {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 180px;
	height: 180px;
	background: radial-gradient(circle, rgba(194,33,81,0.08) 0%, transparent 70%);
	pointer-events: none;
}
.horo-forecast__inner {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 24px;
	align-items: start;
}
.horo-forecast__moon {
	flex-shrink: 0;
}
.horo-forecast__moon svg,
.horo-forecast__moon .moon-svg {
	width: 56px;
	height: 56px;
	display: block;
	filter: drop-shadow(0 0 12px rgba(244,233,192,0.25));
}
.horo-forecast__body {
	min-width: 0;
}
.horo-forecast__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	margin-bottom: 4px;
}
.horo-forecast__date {
	display: block;
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 16px;
}
.horo-forecast__text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
}

/* ===== Planet Positions — Collapsible Bottom ===== */
.horo-bottom-planets {
	margin-top: 36px;
	padding: 16px 20px;
	background: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}
.horo-bottom-planets__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
	cursor: pointer;
	padding: 0;
	list-style: none;
	letter-spacing: 0.03em;
}
.horo-bottom-planets__summary::-webkit-details-marker { display: none; }
.horo-bottom-planets__summary::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid var(--color-text-muted);
	transition: transform 0.2s;
	margin-left: auto;
}
.horo-bottom-planets[open] > .horo-bottom-planets__summary::after {
	transform: rotate(180deg);
}
.horo-bottom-planets[open] > .horo-bottom-planets__summary {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}
.horo-bottom-planets__summary i {
	color: var(--color-teal);
	font-size: 12px;
}

/* ===== All Signs Grid — Premium Cards ===== */
.horo-daily-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 768px) {
	.horo-daily-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

.horo-daily-card {
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 18px;
	padding: 22px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: all 0.25s;
	overflow: hidden;
}
.horo-daily-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: var(--el-color, var(--color-border));
	border-radius: 3px 0 0 3px;
	transition: width 0.25s;
}
.horo-daily-card:hover {
	border-color: color-mix(in srgb, var(--el-color, var(--color-primary-light)) 30%, var(--color-border));
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.horo-daily-card:hover::before {
	width: 4px;
}

.horo-daily-card__icon {
	width: 60px;
	height: 60px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--el-color, #888) 6%, var(--color-bg-soft));
	border: 1px solid color-mix(in srgb, var(--el-color, #888) 15%, var(--color-border));
	transition: all 0.25s;
}
.horo-daily-card:hover .horo-daily-card__icon {
	background: color-mix(in srgb, var(--el-color, #888) 12%, var(--color-bg-soft));
	border-color: color-mix(in srgb, var(--el-color, #888) 30%, var(--color-border));
}
.horo-daily-card__svg {
	width: 28px;
	height: 28px;
	color: var(--el-color, var(--color-primary));
	opacity: 0.85;
	transition: opacity 0.25s;
}
.horo-daily-card:hover .horo-daily-card__svg {
	opacity: 1;
}

.horo-daily-card__body {
	min-width: 0;
}
.horo-daily-card__header {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.horo-daily-card__sign {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s;
}
.horo-daily-card__sign:hover {
	color: var(--el-color, var(--color-accent));
}
.horo-daily-card__date {
	font-size: 11px;
	color: var(--color-text-muted);
	letter-spacing: 0.02em;
}
.horo-daily-card__text {
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-text-light);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.horo-daily-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--el-color, var(--color-accent));
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: all 0.2s;
}
.horo-daily-card__more:hover {
	gap: 10px;
}
.horo-daily-card__more i {
	font-size: 10px;
}

/* ===== Dark Theme Premium Overrides ===== */
[data-theme="dark"] .horo-forecast {
	background: rgba(10,14,24,0.8);
	border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-forecast__glow {
	background: radial-gradient(circle, rgba(194,33,81,0.12) 0%, transparent 70%);
}
[data-theme="dark"] .horo-daily-card {
	background: rgba(10,14,24,0.6);
	border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-daily-card:hover {
	background: rgba(10,14,24,0.8);
	border-color: rgba(255,255,255,0.1);
	box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
[data-theme="dark"] .horo-daily-card__icon {
	background: color-mix(in srgb, var(--el-color, #888) 8%, rgba(255,255,255,0.03));
	border-color: color-mix(in srgb, var(--el-color, #888) 15%, rgba(255,255,255,0.06));
}
[data-theme="dark"] .horo-daily-card:hover .horo-daily-card__icon {
	background: color-mix(in srgb, var(--el-color, #888) 15%, rgba(255,255,255,0.04));
	border-color: color-mix(in srgb, var(--el-color, #888) 25%, rgba(255,255,255,0.08));
}
[data-theme="dark"] .horo-daily-card__svg {
	opacity: 0.75;
}
[data-theme="dark"] .horo-daily-card:hover .horo-daily-card__svg {
	opacity: 0.95;
}
[data-theme="dark"] .horo-bottom-planets {
	background: rgba(255,255,255,0.02);
	border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-nav {
	background: rgba(255,255,255,0.03);
	border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-nav__link:hover {
	background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-nav__link.active {
	background: rgba(255,255,255,0.08);
	box-shadow: none;
}

/* Lucky color dot */
.horo-daily-card__color {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 0 4px currentColor;
}

/* Today/Tomorrow — Single Sign View */
.horo-single {
	padding: 32px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.horo-single::after {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, color-mix(in srgb, var(--el-color, #888) 6%, transparent) 0%, transparent 70%);
	pointer-events: none;
}
.horo-single__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
	position: relative;
}
.horo-single__meta {
	flex: 1;
}
.horo-single__sign {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 4px;
}
.horo-single__date {
	font-size: 12px;
	color: var(--color-text-muted);
	letter-spacing: 0.02em;
}
.horo-single__text {
	font-size: 16px;
	line-height: 1.85;
	color: var(--color-text);
}
[data-theme="dark"] .horo-single {
	background: rgba(10,14,24,0.6);
	border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .horo-single::after {
	background: radial-gradient(circle, color-mix(in srgb, var(--el-color, #888) 8%, transparent) 0%, transparent 70%);
}

/* Weekly View */
.horo-weekly {
	display: grid;
	gap: 16px;
}
.horo-weekly__day {
	padding: 24px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: var(--transition);
}
.horo-weekly__day:first-child {
	border-color: var(--color-accent);
	background: linear-gradient(135deg, rgba(194,33,81,0.02), rgba(194,33,81,0.05));
}
.horo-weekly__day:hover {
	box-shadow: var(--shadow-md);
}
.horo-weekly__day-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 10px;
}
.horo-weekly__day-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-primary);
}
.horo-weekly__day:first-child .horo-weekly__day-name {
	color: var(--color-accent);
}
.horo-weekly__day-date {
	font-size: 13px;
	color: var(--color-text-muted);
}
.horo-weekly__day-text {
	font-size: 15px;
	line-height: 1.75;
	color: var(--color-text);
	margin: 0;
}

/* Zodiac Description Page */
.horo-profile {
	margin-bottom: 32px;
}
.horo-profile__hero {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 32px;
	padding: 32px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
	border-radius: var(--radius-lg);
	color: white;
	margin-bottom: 28px;
}
.horo-profile__image {
	width: 200px;
	height: 200px;
	border-radius: var(--radius-lg);
	object-fit: cover;
	border: 3px solid rgba(255,255,255,0.2);
}
.horo-profile__info h2 {
	margin: 0 0 12px;
	font-size: 28px;
}
.horo-profile__traits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.horo-profile__trait {
	padding: 6px 14px;
	background: rgba(255,255,255,0.15);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
}

/* Quick Stats */
.horo-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}
.horo-stat {
	padding: 16px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-align: center;
}
.horo-stat__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-muted);
	margin-bottom: 4px;
}
.horo-stat__value {
	font-size: 15px;
	font-weight: 700;
	color: var(--color-primary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.horo-zodiac-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}
	.horo-zodiac-grid__link {
		padding: 12px 4px;
	}
	.horo-zodiac-grid__symbol {
		font-size: 24px;
	}
	.horo-zodiac-grid__name {
		font-size: 10px;
	}
	.horo-zodiac-grid__dates {
		display: none;
	}
	.horo-nav {
		gap: 2px;
		padding: 3px;
	}
	.horo-nav__link {
		padding: 8px 12px;
		font-size: 13px;
	}
	.horo-forecast {
		padding: 24px;
	}
	.horo-forecast__inner {
		grid-template-columns: 44px 1fr;
		gap: 16px;
	}
	.horo-forecast__moon svg,
	.horo-forecast__moon .moon-svg {
		width: 44px;
		height: 44px;
	}
	.horo-daily-card {
		grid-template-columns: 48px 1fr;
		gap: 14px;
		padding: 18px;
	}
	.horo-daily-card__icon {
		width: 48px;
		height: 48px;
		border-radius: 12px;
	}
	.horo-daily-card__svg {
		width: 24px;
		height: 24px;
	}
	.horo-daily-card__sign {
		font-size: 15px;
	}
	.horo-daily-card__text {
		font-size: 13px;
		-webkit-line-clamp: 2;
	}
	.horo-single {
		padding: 20px;
	}
	.horo-single__header {
		gap: 12px;
	}
	.horo-single__sign {
		font-size: 18px;
	}
	.horo-weekly__day {
		padding: 18px;
	}
	.horo-profile__hero {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.horo-profile__image {
		margin: 0 auto;
		width: 140px;
		height: 140px;
	}
	.horo-profile__traits {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.horo-zodiac-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.horo-forecast {
		padding: 20px;
	}
	.horo-forecast__inner {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.horo-forecast__moon {
		display: none;
	}
	.horo-forecast__text {
		font-size: 15px;
	}
	.horo-daily-card {
		grid-template-columns: 44px 1fr;
		gap: 12px;
		padding: 16px;
	}
	.horo-daily-card::before {
		width: 0;
		height: 0;
	}
	.horo-daily-card {
		border-top: 2px solid var(--el-color, var(--color-border));
	}
	.horo-daily-card:hover {
		border-top-width: 3px;
	}
	.horo-daily-card__icon {
		width: 44px;
		height: 44px;
		border-radius: 10px;
	}
	.horo-daily-card__svg {
		width: 22px;
		height: 22px;
	}
	.horo-daily-card__text {
		-webkit-line-clamp: 2;
	}
}
