@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols&display=swap');

*, *::before, *::after {
	box-sizing: border-box;
}

:root {
	font-size: 14px;
}

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	background-color: #B90000;
	margin: 0;
	padding: 0;
}

/* ── Phase 2 full-width layout ── */

#page-wrap {
	width: 100%;
}

#banner {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	width: 100%;
}

#banner-logo {
	flex: 0 0 auto;
	width: max-content;
}

a.banner-logo-link,
div.banner-logo-link {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	width: max-content;
	text-decoration: none;
	padding: 8px 10px 4px 10px;
}

.logo-title {
	display: block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 3.143rem;
	font-weight: bold;
	color: #F5E8CC;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow:
		-1px -1px 0 #6b0000,
		 1px -1px 0 #6b0000,
		-1px  1px 0 #6b0000,
		 1px  1px 0 #6b0000,
		 2px  2px 3px rgba(0,0,0,0.5);
	line-height: 1.1;
}

.logo-subtitle {
	display: block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-style: oblique 10deg;
	color: #FFFFFF;
	text-align: right;
	letter-spacing: 1px;
	margin-top: -8px;
}

#banner-member {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: flex-start;
	text-align: right;
	padding-top: 4px;
	padding-right: 8px;
    display: none;
}

#main {
	width: 100%;
}

.curve-top {
    height: 10px;
    width: 100%;
    background: linear-gradient(to right, #FDDC95 calc(100% - 350px), #000000 calc(100% - 350px));
}

.curve-bottom {
    height: 10px;
    width: 100%;
    background: #FDDC95;
}

.zodiac-curve,
.curve-cream {
	height: 10px;
	width: 100%;
	background: #FDDC95;
}

#main-inner {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	background-color: #FDDC95;
}

#content {
	flex: 1;
	padding: 0 5px 5px 5px;
	background-color: #FDDC95;
	text-align: center;
	vertical-align: top;
}

#sidebar {
	flex: 0 0 350px;
	background-color: #000000;
	text-align: center;
}

#promo-sidebar {
	flex: 0 0 350px;
	background-color: #FDDC95;
	text-align: center;
}

#nav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background-color: #000000;
}

#nav a {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 25px;
	padding: 0 8px;
	box-sizing: border-box;
	color: #FFFFFF;
	text-decoration: none;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #000000;
	border-bottom: 1px solid #1a1a1a;
	text-align: left;
}

#nav a::before {
	content: '★';
	flex-shrink: 0;
	color: #800000;
	font-family: 'Noto Sans Symbols', sans-serif;
	font-size: 1rem;
}

#nav a:hover {
	color: #B90000;
	background-color: #0d0d0d;
}

#nav a:hover::before,
#nav a:active::before {
	color: #FFFFFF;
}

.promo-block {
	width: calc(100% - 20px);
	margin: 0 auto 6px auto;
	border-radius: 8px;
	overflow: hidden;
	background-color: #BC0000;
}

a.promo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 22px;
	padding: 0 8px;
	background: linear-gradient(to bottom, #DC0000 0%, #BC0000 100%);
	color: #FFFFFF;
	text-decoration: none;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
}

a.promo-header::after {
	content: '★';
	color: #FDDC95;
	font-family: 'Noto Sans Symbols', sans-serif;
	font-size: 1rem;
	flex-shrink: 0;
	display: inline-block;
	transform: rotate(-30deg);
}

a.promo-header:hover {
	background: linear-gradient(to bottom, #FF0E0E 0%, #E80A0A 100%);
}

a.promo-header:hover::after {
	color: #FFFFFF;
}

.promo-text {
	background-color: #FFFFFF;
	border-left: 1px solid #BC0000;
	border-right: 1px solid #BC0000;
	border-radius: 8px 8px 0 0;
	padding: 4px 5px;
	text-align: left;
}

#amazon-link {
	margin-top: 5px;
	text-align: center;
}

#footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 4px 8px;
	width: 100%;
	box-sizing: border-box;
}

/* ── end Phase 2 full-width layout ── */

td {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
}

th {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
}

.bodystyle {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
}

.small {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
}

.medium {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1rem;
}

.big {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.286rem;
}

.xbig {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.714rem;
}

.expanded {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
	line-height: 16px;
	letter-spacing: 2px;
}

.justified {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: justify;
}

.footer {
	font-family: "Times New Roman", Times, serif;
	font-size: 0.857rem;
	color: #999999;
}

.box1 {
	padding: 3px;
	border-width: thin;
	border-style: solid;
	border-color: #CCCCCC #666666 #666666 #CCCCCC;
}

.box2 {
	font-style: italic;
	word-spacing: 2pt;
	padding: 3px;
	border-width: thin;
	border-style: solid;
}

.mediumcream {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	color: #FFFFCC;
}
.smallcream {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.857rem;
	color: #FFFFCC;
}
.normal {
	background-color: #FFFFFF;
}

table.normal {
	width: 90%;
}
.warning {
	font-size: 1rem;
	font-weight: bold;
	color: #B90000;
}

.row0 { background-color: #FFFFFF; }
.row1 { background-color: #EEEEEE; }
.paging { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.952rem; font-style: normal; color: #000000; }


.warning { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-weight: bold; color: #CC0000}

.statusCreated {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-style: normal; color: #000000; }

.statusProcessed {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-style: normal; color:#0000CC; }

.statusSent {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-style: normal; color:#006600; }

.statusFailed {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-style: normal; color:#990000; }

.statusCancelled {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.762rem; font-style: normal; color:#999999; }


/* B2 — psychic reader list: float → flexbox */
ul#psychics {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

ul#psychics li {
	background-color: #FDDC95;
	border: 1px solid #B90000;
	flex: 0 0 120px;
	height: 230px;
	min-height: 230px;
	list-style: none;
}

ul#psychics li a img {
	display: block;
	height: 160px;
	width: 120px;
}

img#profile {
	border: 0;
}

ul#psychics li div.reader {
	width: 100%;
	height: 70px;
	margin-top: 5px;
}

ul#psychics li div p {
	font-size: 0.75em;
	margin: 0;
	width: 100%;
	padding: 0;
	text-align: center;
}

p.reader_name {
	font-size: 0.8em;
	font-weight: bolder;
}

p.reader_code {
	position: relative;
	top: 5px;
	font-weight: bold;
}

img.reader_status {
	/*position: absolute;
	bottom: 6px;
	left: -1px;*/
	position: relative;
	float: left;
	left: 26px;
	top: 10px;
}

#image_page_home {
    background: url("/images/xhtml/page_images/lynne_photo.jpg") no-repeat scroll left top rgba(0, 0, 0, 0);
    float: left;
    height: 170px;
    width: 125px;
}

.image_page {
    margin: 0 4px 4px 0;
    text-indent: -9999px;
}

/* ── Phase 2: homepage-specific layout ── */

#hero-row {
	display: flex;
	flex-direction: row;
	width: 100%;
}

#hero-image {
	flex: 1;
	background: url('/images/homepage/flash1.jpg') center center / cover no-repeat;
}

#hero-nav {
	flex: 0 0 350px;
	background-color: #000000;
	text-align: center;
}

#hero-nav #nav {
	background-color: #000000;
}

#zodiac-bar {
	width: 100%;
	background-color: #FFFFFF;
	line-height: 0;
}

#zodiac-bar .zodiac-signs {
	padding: 4px 0 0 0;
}

#zodiac-bar .zodiac-curve {
	width: 100%;
}

#welcome-box {
	width: 100%;
	border: 1px solid #000000;
	border-radius: 8px;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #D80000;
}

#welcome-header {
	height: 24px;
	background: linear-gradient(to bottom, #A30000 0%, #D80000 100%);
	color: #FFFFFF;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.143rem;
	font-weight: bold;
	letter-spacing: 2px;
	display: flex;
	align-items: center;
	padding: 0 0 0 14px;
	width: 100%;
	box-sizing: border-box;
}

#welcome-body {
	background-color: #FFFFFF;
	border-radius: 8px 8px 0 0;
	padding: 8px 10px;
	text-align: left;
}

#banner-ad {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* ── end Phase 2: homepage-specific layout ── */

/* ── Phase 3: additional layout rules ── */

/* B1 — popup wrapper */
#pop-wrap {
	max-width: 580px;
	margin: 0 auto;
	background-color: #FDDC95;
}

/* B4 — inner content table responsive guard */
#content table {
	max-width: 100%;
	box-sizing: border-box;
}

/* B5 — image_page text-indent fix */
.image_page {
	margin: 0 4px 4px 0;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

/* page-box — standard layout for simple page.* content templates */
.page-box {
	background: #B90000;
	border-radius: 8px;
	overflow: hidden;
	text-align: left;
}
.page-box-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 26px;
	padding: 0 10px;
	background: linear-gradient(to bottom, #aa0000 0%, #d80000 100%);
}
.page-box-header-title {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-style: italic;
	color: #ffffff;
	font-size: 1.143rem;
	text-decoration: none;
}
.page-box-header-date {
	font-family: 'Noto Sans Symbols', Verdana, Arial, Helvetica, sans-serif;
	font-style: italic;
	color: #fddc95;
	font-size: 1rem;
	white-space: nowrap;
}
.page-box-header-sign {
	font-family: 'Noto Sans Symbols', Verdana, Arial, Helvetica, sans-serif;
	color: #ffffff;
	font-weight: bold;
	font-size: 1.143rem;
	font-style: normal;
}
.page-box-body {
	background: #ffffff;
	border-radius: 8px 8px 0 0;
	padding: 10px;
}
.page-box-ad {
	text-align: center;
	padding: 5px 0 10px 0;
}
.testimonials-heading {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 0.929rem;
	color: #800000;
	border-bottom: 2px solid #b90000;
	padding-bottom: 4px;
	margin: 16px 0 12px 0;
}
.testimonial {
	background: #ffffff;
	border-left: 4px solid #b90000;
	margin: 8px 0;
	padding: 8px 12px;
}
.testimonial p {
	margin: 0 0 4px 0;
	font-size: 0.857rem;
	font-style: italic;
	color: #333333;
}
.testimonial-cite {
	display: block;
	font-style: normal;
	font-weight: bold;
	font-size: 0.786rem;
	color: #800000;
	text-align: right;
	margin-top: 6px;
}
.testimonials-footer {
	font-size: 0.786rem;
	color: #555555;
	font-style: italic;
	border-top: 1px solid #cccccc;
	padding-top: 8px;
	margin-top: 12px;
}

/* zodiac-signs — shared zodiac icon grid (partial) */
.zodiac-signs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	padding: 10px 0;
}
.zodiac-signs a {
	display: block;
	flex: 0 1 calc(100% / 12);
}
.zodiac-signs a img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 0.15s;
}
.zodiac-signs a:hover img {
	opacity: 0.75;
}

/* form-layout — CSS form replacing table-based label+input rows */
.form-layout {
	max-width: 540px;
	padding: 10px;
}
.form-layout p.form-intro {
	margin: 0 0 10px 0;
}
.form-layout .form-row {
	display: flex;
	align-items: baseline;
	margin-bottom: 6px;
	gap: 8px;
}
.form-layout .form-label {
	flex: 0 0 140px;
	font-size: 0.786rem;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
}
.form-layout .form-field {
	flex: 1;
}
.form-layout .form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
}
.form-layout .form-message {
	margin-bottom: 8px;
}

/* newsletter signup form */
.newsletter-form-wrap {
	max-width: 500px;
}
.newsletter-form-header,
.newsletter-form-footer {
	line-height: 0;
}
.newsletter-form-header img,
.newsletter-form-footer img {
	display: block;
	max-width: 100%;
}
.newsletter-form-body {
	background: #FFFC9C;
	border-left: 4px solid #FB8500;
	border-right: 4px solid #FB8500;
	padding: 10px 12px;
}
.newsletter-form-body .form-row {
	display: flex;
	align-items: baseline;
	margin-bottom: 6px;
	gap: 8px;
}
.newsletter-form-body .form-label {
	flex: 0 0 160px;
	font-size: 0.857rem;
}

/* horoscope sign page — dots separator */
.horoscope-divider {
	border: none;
	border-top: 2px dotted #999999;
	margin: 10px 0;
}

/* tarot reading card layout */
.tarot-reading {
	display: flex;
	gap: 16px;
	justify-content: center;
	padding: 16px 0;
}
.tarot-card {
	flex: 1;
	text-align: center;
}
.tarot-card-label {
	font-weight: bold;
	margin-bottom: 8px;
}
.tarot-card img {
	display: block;
	margin: 0 auto;
}
.tarot-card-name {
	font-weight: bold;
	margin-top: 6px;
}
.tarot-card-text {
	text-align: left;
	font-size: 0.786rem;
	margin-top: 6px;
}

/* register/account billing-shipping two-column grid */
.billing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.billing-col .form-layout {
	max-width: 100%;
	padding: 6px 4px;
}
.billing-col .form-label {
	flex: 0 0 120px;
	font-size: 0.714rem;
}

/* ── end Phase 3 ── */

/* ── Phase 8: mobile layout (phones only) ── */

#nav-toggle {
	display: none;
}

#nav .mobile-home-link {
	display: none;
}

@media (max-width: 480px) {

	body {
		overflow-x: hidden;
	}

	#page-wrap {
		max-width: 100vw;
		overflow-x: hidden;
	}

	#banner,
	#main,
	#main-inner,
	#hero-row,
	#zodiac-bar,
	#footer {
		max-width: 100%;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	#banner-ad img {
		width: 100%;
	}

	/* hamburger button */
	#nav-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		position: absolute;
		top: 8px;
		right: 10px;
		width: 44px;
		height: 44px;
		background: none;
		border: none;
		cursor: pointer;
		z-index: 100;
		padding: 8px;
	}

	#nav-toggle span {
		display: block;
		width: 26px;
		height: 3px;
		background-color: #F5E8CC;
		border-radius: 2px;
		transition: transform 0.25s, opacity 0.25s;
	}

	#nav-toggle.open span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	#nav-toggle.open span:nth-child(2) {
		opacity: 0;
	}
	#nav-toggle.open span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	#nav-toggle:hover {
		background-color: rgba(255,255,255,0.15);
	}

	/* banner needs position context for the hamburger */
	#banner {
		position: relative;
		flex-wrap: wrap;
		justify-content: center;
	}

	#banner-logo {
		width: 100%;
		text-align: center;
	}

	a.banner-logo-link,
	div.banner-logo-link {
		margin: 0 auto;
	}

	.logo-title {
		font-size: 2rem;
	}

	/* hide members area */
	#banner-member {
		display: none;
	}

	/* mobile nav dropdown */
	#nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 99;
		padding-top: 50px;
		box-sizing: border-box;
		overflow-y: auto;
	}

	#nav.open {
		display: flex;
	}

	#nav .mobile-home-link {
		display: flex;
	}

	#nav a {
		height: 44px;
		font-size: 1.143rem;
		padding: 0 16px;
	}

	/* homepage: stack hero row */
	#hero-row {
		flex-direction: column;
	}

	#hero-image {
		min-height: 180px;
		width: 100%;
	}

	#hero-nav {
		flex: none;
		width: 100%;
	}

	/* hide inline nav on homepage (hamburger provides it) */
	#hero-nav #nav {
		display: none;
	}
	#hero-nav #nav.open {
		display: flex;
	}

	/* stack content and sidebar/promos vertically */
	#main-inner {
		flex-direction: column;
	}

	#content {
		width: 100%;
	}

	#sidebar {
		flex: none;
		width: 100%;
		background-color: transparent;
	}

	#promo-sidebar {
		flex: none;
		width: 100%;
	}

	/* hide sidebar nav on subpages (hamburger duplicates it) */
	#sidebar #nav {
		display: none;
	}
	#sidebar #nav.open {
		display: flex;
	}

	/* curve backgrounds: remove 350px sidebar split */
	.curve-top,
	.curve-bottom {
		background: #FDDC95;
	}

	/* zodiac signs: 2 rows of 6, scaled to fill width */
	.zodiac-signs {
		flex-wrap: wrap;
		justify-content: space-around;
		gap: 4px;
		padding: 4px;
	}
	.zodiac-signs a {
		flex: 0 0 calc((100% - 20px) / 6);
	}

	/* billing grid: single column */
	.billing-grid {
		grid-template-columns: 1fr;
	}

	/* tarot cards: wrap on small screens */
	.tarot-reading {
		flex-wrap: wrap;
	}

	/* form label stacking */
	.form-layout .form-row {
		flex-direction: column;
		gap: 2px;
	}
	.form-layout .form-label {
		flex: none;
	}

	/* psychic reader cards: 2 per row */
	ul#psychics li {
		flex: 0 0 calc(50% - 4px);
		height: auto;
		min-height: auto;
	}

	ul#psychics li a img {
		width: 100%;
		height: auto;
	}

	/* footer stack */
	#footer {
		flex-direction: column;
		text-align: center;
		gap: 4px;
	}
}

/* ── end Phase 8 ── */
