/* arcanadrama.com & divertisment.recomandam.ro/tarot/ - All rights reserved. TAROTPULSE - Design: EVIDWEB */

:root {
    --bg-color: #0b0712;
    --card-bg: #140d24;
    --accent-gold: #d4af37;
    --witch-purple: #4a154b;
    --text-color: #f1ebf7;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 50%, #1e1135 0%, #0b0712 100%);
    color: var(--text-color);
    font-family: 'Georgia', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
/* ==========================================================================
   Self-Reflection Page: Background Override
   ========================================================================== */
body.galaxy-bg {
    background:#000 !important;
}



/* ==========================================================================
   Website Menu (Unified Hamburger Navigation)
   ========================================================================== */
/* Menu NAV /.. */
.tarot-nav {
	padding: 20px 0;
	position: relative;
	font-family: sans-serif;
	width: 100%;             
	display: flex;           
	justify-content: flex-start; 
	align-items: center; /* Vertically balances hamburger, logo, and secondary links */
}

/* Base setup for hidden toggle element */
.menu-toggle {
	display: none;
}

/* Unified Hamburger Icon (Enlarged Geometry) */
.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 38px;       
	height: 26px;      
	cursor: pointer;
	z-index: 10;
	margin-right: 20px; /* MODIFIED: Changes from 'auto' to a clean 20px gap to sit right next to logo */
}

/* Hamburger Lines */
.hamburger span {
	display: block;
	height: 4px;       /* INCREASED: Thicker lines from 3px */
	width: 100%;
	background-color: #d4af37;
	border-radius: 4px;
	transition: all 0.3s ease;
}

/* ==========================================================================
   New Logo Styling Component Matrix
   ========================================================================== */
.logo-link {
	text-decoration: none;
	display: flex;
	align-items: center;
	font-weight: 800;
	font-size: 1.5rem;          /* Perfect height alignment with the 26px hamburger */
	letter-spacing: 2px;
	text-transform: uppercase;
	user-select: none;
	transition: opacity 0.2s ease;
}

.logo-link:hover {
	opacity: 0.85;              /* Subtle interaction glow effect on hover */
}

.logo-tarot {
	color: #d4af37;             /* Uses your theme gold accent color */
	font-weight: 900;
}

.logo-pulse {
	color: #ffffff;             /* Contrasting bright clean text white color */
	font-weight: 300;           /* Gives a sleeker aesthetic split profile */
}

/* Collapsible Menu Drawer Box */
.menu-list {
	display: none;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0; 
	background-color: #1a1a1a;
	width: 240px;      /* INCREASED: Broader side panel drawer width from 200px */
	padding: 20px 0;   /* INCREASED: Roomier inner vertical layout */
	box-shadow: 0px 6px 15px rgba(0,0,0,0.6); /* Slightly deeper shadow for depth */
	border-radius: 6px;
	gap: 6px;          /* INCREASED: Added structural breathing room between row elements */
	align-items: flex-start; 
	z-index: 9;
	list-style: none;
	margin: 0;
}

/* Menu list rows */
.menu-list li {
	width: 100%;
}

/* Navigation Links inside Drawer */
.menu-list a {
	text-align: left; 
	display: block;   
	width: 100%;      
	padding: 12px 24px; 
	box-sizing: border-box;
	font-size: 1.35em;  
	color: #d4af37;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

/* Hover color setup for links */
.menu-list a:hover {
	color: #ffffff; 
	opacity: 1;     
	background-color: rgba(214, 175, 55, 0.1); 
	text-decoration: none;
}

.menu-list a.highlight {
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}

.menu-list a.highlight:hover {
	color: #d4af37; 
}

/* When checkbox is checked, display the menu drawer */
.menu-toggle:checked ~ .menu-list {
	display: flex;
}

/* Animate hamburger into an 'X' when open (Adjusted transforms to map cleanly to the larger pixel geometry) */
.menu-toggle:checked ~ .hamburger span:nth-child(1) {
	transform: translateY(11px) rotate(45deg); /* MODIFIED for larger spacing layout */
}
.menu-toggle:checked ~ .hamburger span:nth-child(2) {
	opacity: 0;
}
.menu-toggle:checked ~ .hamburger span:nth-child(3) {
	transform: translateY(-11px) rotate(-45deg); /* MODIFIED for larger spacing layout */
}


/* ==========================================================================
   New Simple Right Menu Link Styles
   ========================================================================== */
.right-menu-links {
	margin-left: auto; /* Pushes this whole group of links to the far right side */
	display: flex;
	gap: 18px; /* Adds space between your simple links */
	align-items: center;
}

.right-menu-links a {
	color: #d4af37; /* Uses your theme gold accent color */
	text-decoration: none;
	font-size: 1rem;
	font-weight: normal;
	letter-spacing: 0.5px;
	white-space: nowrap; /* Prevents text links from breaking into two lines */
	transition: color 0.2s ease, opacity 0.2s ease;
}

.right-menu-links a:hover {
	color: #ffffff; /* Bright white highlight on hover */
	text-decoration: underline;
}

/* Responsive safeguard for tablets and mobile phones */
@media screen and (max-width: 900px) {
	.right-menu-links {
		display: none; /* Hides the duplicate text rows on smaller screens to avoid overlapping */
	}
}
/* ../ Menu NAV */



h1 {
    color: var(--accent-gold);
    margin-top: 40px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    font-size: 2.2rem;
    text-align: center;
}

.subtitle {
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.8;
    text-align: center;
    letter-spacing: 1px;
}

.tarot-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    perspective: 1200px;
}

/* ==========================================================================
   Generic Page Load Entrance Effect (With Distinct Mystical Delay Gaps)
   ========================================================================== */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
        filter: brightness(0.6) blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1) blur(0);
    }
}

.card-slot {
	opacity: 0; 
    animation: cardEntrance 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Automatically staggers up to 13 cards without needing custom HTML classes */
.card-slot:nth-child(1)  { animation-delay: 0.1s; }
.card-slot:nth-child(2)  { animation-delay: 0.2s; }
.card-slot:nth-child(3)  { animation-delay: 0.3s; }
.card-slot:nth-child(4)  { animation-delay: 0.4s; }
.card-slot:nth-child(5)  { animation-delay: 0.5s; }
.card-slot:nth-child(6)  { animation-delay: 0.6s; }
.card-slot:nth-child(7)  { animation-delay: 0.7s; }
.card-slot:nth-child(8)  { animation-delay: 0.8s; }
.card-slot:nth-child(9)  { animation-delay: 0.9s; }
.card-slot:nth-child(10) { animation-delay: 1.0s; }
.card-slot:nth-child(11) { animation-delay: 1.1s; }
.card-slot:nth-child(12) { animation-delay: 1.2s; }
.card-slot:nth-child(13) { animation-delay: 1.3s; }

.slot-title {
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.card {
    width: 170px;
    height: 290px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 14px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}


/* Witchy Card Back Design */
.card-back {
    /*background: linear-gradient(135deg, #1d0f2b 0%, #0d0614 100%); */
    background:#000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0;
}

.card-back-art {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*gap: 15px;*/
}

.witch-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 8px rgba(214, 175, 55, 0.6));
}

.card-back-stars {
    color: rgba(214, 175, 55, 0.3);
    font-size: 0.8rem;
    letter-spacing: 4px;
}

/* Card Front Full Image Theme Styling */
.card-front {
    background-color: var(--card-bg);
    transform: rotateY(180deg);
    text-align: center;
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.card-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to top, rgba(11, 7, 18, 0.95) 0%, rgba(11, 7, 18, 0.2) 60%, rgba(11, 7, 18, 0.4) 100%); */
    z-index: 1;
}

.card-inner-border {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 5px;
}

.card-name {
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-family: 'Cinzel', 'Georgia', serif;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.9), 0px 0px 8px var(--accent-gold);
}

.btn-reset {
    background: linear-gradient(135deg, #5a189a 0%, #3c096c 100%);
    color: var(--text-color);
    border: 0;
    padding: 12px 35px;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    font-family: 'Georgia', serif;
}

.btn-reset:hover {
    background: linear-gradient(135deg, #7b2cbf 0%, #5a189a 100%);
    box-shadow: 0 0 15px rgba(214, 175, 55, 0.4);
    transform: translateY(-1px);
}

.readings-summary {
    max-width: 650px;
    margin-top: 40px;
    background-color: rgba(20, 13, 36, 0.85);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(214, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
}

.readings-summary h3 {
    margin-top: 0;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(214, 175, 55, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.reading-text {
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.reading-text strong {
    color: var(--accent-gold);
}




/* ==========================================================================
   Reverse Card
   ========================================================================== */
.reversed-render {
    transform: rotate(180deg) !important;
}





/* ==========================================================================
   Isolated Major Arcana Meanings Module Grid Layout
   ========================================================================== */
.tarot-dict-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 60px auto 20px auto;
    box-sizing: border-box;
}

.tarot-dict-wrapper .dict-title {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Cinzel', 'Georgia', serif;
}

.tarot-dict-wrapper .dict-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.tarot-dict-wrapper .dict-card-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(214, 175, 55, 0.3);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tarot-dict-wrapper .dict-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(214, 175, 55, 0.25);
    padding-bottom: 8px;
    margin: 0;
}

.tarot-dict-wrapper .dict-card-name {
    font-family: 'Cinzel', 'Georgia', serif;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.tarot-dict-wrapper .dict-card-num {
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    font-family: sans-serif;
}

.tarot-dict-wrapper .dict-card-meta {
    font-size: 0.8rem;
    color: #ffe082;
    font-style: italic;
}

.tarot-dict-wrapper .dict-card-section {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.tarot-dict-wrapper .dict-card-section strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Reversal Physical Graphic Transform Override */
.reversed-render {
    transform: rotate(180deg) !important;
}


/* ==========================================================================
   Special Layout Style: Intense Shadow-Work Dictionary Cards
   ========================================================================== */
.tarot-dict-wrapper .dict-card-item.shadow-work-card {
    background-color: #2b0b14 !important; /* Deep dark crimson background */
    border: 1px solid rgba(235, 64, 52, 0.4) !important; /* Muted crimson edge accent line */
    box-shadow: 0 4px 20px rgba(235, 64, 52, 0.15) !important; /* Subtle inner red aura glow */
}

/* Accent adjustments inside the shadow-work blocks */
.tarot-dict-wrapper .dict-card-item.shadow-work-card .dict-card-name {
    color: #ffb3b3 !important; /* Soft rose gold white text for enhanced readability */
    text-shadow: 0 0 8px rgba(235, 64, 52, 0.5);
}

.tarot-dict-wrapper .dict-card-item.shadow-work-card .dict-card-num {
    color: #ff6b6b !important; /* Brighter red badge indicator text layout value */
}

.tarot-dict-wrapper .dict-card-item.shadow-work-card .dict-card-meta {
    color: #ff9999 !important; /* Adjusted element string visibility layers */
    opacity: 0.85;
}

.tarot-dict-wrapper .dict-card-item.shadow-work-card .dict-card-section strong {
    color: #ff8080 !important; /* Gives 'Upright Meaning:' label indicators a crimson balance */
}







/* ==========================================================================
   5-Card Cross Board Layout Engine Architecture (Perfect Cross Alignment)
   ========================================================================== */
.tarot-board-5card {
    display: grid;
    grid-template-columns: 1fr 200px 1fr; /* Set precise center pixel dimensions */
    grid-template-rows: 340px 340px; 
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    justify-items: center; /* FIXED: Universally centers all content blocks horizontally inside cells */
    align-items: center;   /* FIXED: Universally centers all content blocks vertically inside cells */
}

/* Row-by-Row Grid Line Alignments */
.board-zone-north  { grid-column: 2; grid-row: 1; }
.board-zone-center { grid-column: 2; grid-row: 2; position: relative; width: 200px; height: 320px; }

/* FIXED ALIGNMENTS: Centers cards 2 and 3 exactly on the horizontal axis of the center stack */
.board-zone-west   { grid-column: 1; grid-row: 2; justify-self: center; align-self: center; }
.board-zone-east   { grid-column: 3; grid-row: 2; justify-self: center; align-self: center; }

/* Base Situation Card Layer (Underlay Center) */
.card-stack-base {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

/* Immediate Obstacle Diagonal Card Layer (Shifted up by -200px to cross dead-center) */
.card-stack-diagonal {
    position: absolute;
    top: -200px; 
    left: 0;
    z-index: 10;
    /* FIX: We add !important to ensure the 45-degree angle wins over the entry keyframes layout rules */
    transform: rotate(45deg) !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-stack-diagonal .card {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-stack-diagonal.flipped {
    transform: rotate(45deg) rotateY(180deg) !important;
}

/* ==========================================================================
   Card 5 Internal Text Alignment Correction
   ========================================================================== */
#front-card5 .card-inner-border {
    transform: rotate(-45deg) !important;
    transform-origin: center center;
    width: 140%;
    height: 140%;
    position: absolute;
    bottom: -15%;
    left: -20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 35px !important;
}

#front-card5 .card-name {
    font-size: 0.95rem !important;
    white-space: nowrap;
    text-align: center;
}

/* ==========================================================================
   Responsiveness safeguards for mobile views
   ========================================================================== */
@media (max-width: 768px) {
    .tarot-board-5card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px; /* Comfortable gap for scrolling and tapping card elements on phones */
    }

    /* Converts the center slot component into a clean flex column wrapper on mobile */
    .tarot-board-5card .board-zone-center {
        height: auto;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    /* 
       FIXED MOBILITY MATRIX:
       Pulls both center layers out of their absolute stacking positions back into the regular document flow.
       This forces Card 5 to display visibly on mobile screens right under Card 1.
    */
    .card-stack-base,
    .card-stack-diagonal {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        z-index: auto !important;
    }

    /* Flattens 3D card flips on mobile to allow standard, error-free rotation views */
    .card-stack-diagonal .card.flipped {
        transform: rotateY(180deg) !important;
    }

    /* Resets the 45-degree text counter-rotation so card titles read straight up on mobile views */
    #front-card5 .card-inner-border {
        transform: none !important;
        width: 100%;
        height: 100%;
        position: relative;
        bottom: 0;
        left: 0;
        padding-bottom: 15px !important;
    }

    #front-card5 .card-name {
        font-size: 1rem !important;
    }
}








/* ==========================================================================
   13-Card Zodiac Circular Layout Grid Architecture (Tarot Movie 2024)
   ========================================================================== */
.tarot-board-zodiac {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 1100px;
    margin: 40px auto;
    display: block;
    background: radial-gradient(circle inside, rgba(20,13,36,0.3) 0%, rgba(11,7,18,0.9) 70%);
    border-radius: 50%;
}

.tarot-board-zodiac .card {
    width: 135px;
    height: 230px;
}

.tarot-board-zodiac .card-slot {
    position: absolute;
    width: 140px;
    height: 270px;
    /* Circular layout trigonometry calculation mapping blocks to 360 degrees */
    top: calc(50% - 135px + (400px * sin(var(--house-index) * 30deg)));
    left: calc(50% - 70px + (400px * cos(var(--house-index) * 30deg)));
    transform-origin: center center;
    text-align: center;
    z-index: 5;
}

.tarot-board-zodiac .slot-title {
    font-size: 0.75rem;
    white-space: nowrap;
    margin-bottom: 6px;
    color: #ffe082;
}

/* Desktop Absolute-Centered Formatting coordinates for Card 13 */
.tarot-board-zodiac .board-zone-center {
    position: absolute;
    top: calc(50% - 145px);
    left: calc(50% - 70px);
    width: 140px;
    height: 290px;
    transform: none !important;
    z-index: 20;
}

.tarot-board-zodiac .unique-center-card {
    box-shadow: 0 0 35px rgba(255, 51, 51, 0.4);
    border: 2px solid #ff3333;
}

/* ==========================================================================
   Mobile Responsive 2-Column Grid Fallback Transforms
   ========================================================================== */
@media (max-width: 1024px) {
    .tarot-board-zodiac {
        display: grid;
        /* Creates two equal columns side by side */
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        border-radius: 0;
        background: none;
        gap: 25px 15px; /* Vertical and horizontal element separation spacing */
        padding: 10px;
        box-sizing: border-box;
    }
    
    .tarot-board-zodiac .card-slot {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 165px;
        height: auto;
        margin: 0 auto;
    }
    
    .tarot-board-zodiac .card {
        width: 100%;
        height: 250px; /* Slightly scaled height profile optimization for mobile aspect ratios */
    }
    
    /* Pulls Card 13 out of order and spans it full-width at the very top of the mobile screen */
    .tarot-board-zodiac .board-zone-center {
        grid-column: span 2;
        width: 100% !important;
        max-width: 180px;
        margin: 0 auto 30px auto;
        order: -1; 
    }
}

/* Tight adjustment override safeguards for ultra-narrow viewport screens under 360px wide */
@media (max-width: 360px) {
    .tarot-board-zodiac .slot-title {
        font-size: 0.65rem;
    }
    .tarot-board-zodiac .card {
        height: 210px;
    }
}





/* ==========================================================================
   7-Card Horseshoe Arch Grid Architecture (Desktop Configuration)
   ========================================================================== */
.tarot-board-horseshoe {
    position: relative;
    width: 100%;
    /* Expanded maximum width to comfortably support wider spacing coordinates */
    max-width: 1160px; 
    height: 650px;
    margin: 40px auto;
    display: block;
}

.tarot-board-horseshoe .card {
    width: 125px;
    height: 215px;
}

.tarot-board-horseshoe .card-slot {
    position: absolute;
    width: 130px;
    height: 250px;
    
    /* 
       DESKTOP SPACING FIX:
       Expanded horizontal radius modifier to 460px (up from 400px).
       This mathematically spreads the columns out, completely resolving the overlapping 
       closeness between Card 1 (Past) and Card 2 (Present) on the left wing of the horseshoe.
    */
    left: calc(50% - 65px + (500px * cos((var(--arc-index) * 25deg) + 215deg)));
    top: calc(50% - 100px + (280px * sin((var(--arc-index) * 25deg) + 215deg)));
    
    transform-origin: center center;
    text-align: center;
    z-index: 5;
}

.tarot-board-horseshoe .slot-title {
    font-size: 0.72rem;
    white-space: nowrap;
    margin-bottom: 5px;
    color: #ffe082;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Enhances the glow border outline layers uniquely for the final Card 7 */
.tarot-board-horseshoe .unique-outcome-card {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
    border-color: #ffe082 !important;
}

/* ==========================================================================
   Mobile Responsive Matrix Engine: Locked 2-Column Grid Framework
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .tarot-board-horseshoe {
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important; /* Force layout to run as 2 equal fractions per row */
        height: auto !important;
        gap: 30px 25px !important; /* Generates wide horizontal column gutters */
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    /* Strips absolute positioning parameters and normalizes inline flex flows */
    .tarot-board-horseshoe .card-slot,
    .tarot-board-horseshoe .node-1, .tarot-board-horseshoe .node-2, .tarot-board-horseshoe .node-3,
    .tarot-board-horseshoe .node-4, .tarot-board-horseshoe .node-5, .tarot-board-horseshoe .node-6,
    .tarot-board-horseshoe .node-7 {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 165px !important; 
        height: auto !important;
        margin: 0 auto !important;
        transform: none !important;
        
        /* 
           FIXED INNER LAYOUT RESET: 
           Changes container to block mode inside mobile views. This overrides the generic 
           flex rules on line 125, allowing the cards to snap into the grid columns properly.
        */
        display: block !important; 
        order: initial !important; /* Follows natural HTML numerical layout stream sequence */
    }
    
    .tarot-board-horseshoe .card {
        width: 100% !important;
        max-width: 165px !important;
        height: 260px !important; 
    }
    
    /* 
       THE SOLITARY CENTERED BOTTOM CARD FIX:
       Instructs the node-7 card element container block to occupy both grid tracks, 
       rendering it by itself right under the two columns above.
    */
    .tarot-board-horseshoe .card-slot.node-7 {
        grid-column: span 2 !important;
        max-width: 170px !important;
        margin: 15px auto 0 auto !important;
        width: 100% !important;
    }
}

/* Ultra-compact device viewports styling adjustments */
@media screen and (max-width: 360px) {
    .tarot-board-horseshoe {
        gap: 20px 15px !important; 
        padding: 8px !important;
    }
    .tarot-board-horseshoe .card {
        height: 220px !important;
    }
    .tarot-board-horseshoe .slot-title {
        font-size: 0.65rem !important;
    }
}





/* ==========================================================================
   Birth Card Calculator Grid Adjustments
   ========================================================================== */
#birth-cards-display-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

#birth-cards-display-container .card-slot {
    flex: 0 1 auto;
}

@media (max-width: 600px) {
    #birth-cards-display-container {
        flex-direction: column !important;
        gap: 40px;
    }
}







/* ==========================================================================
   Witchy Seekers Testimonial Framework 
   ========================================================================== */
.seekers-testimonial-section {
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px 10px;
    box-sizing: border-box;
}

.seekers-title {
    color: #d4af37;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.seekers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.seeker-card {
    background-color: #140d24;
    border: 1px solid rgba(214, 175, 55, 0.15);
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Elegant background aura on card hover */
.seeker-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(214, 175, 55, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.seeker-card:hover {
    border-color: rgba(214, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(214, 175, 55, 0.1);
}

.seeker-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.seeker-quote {
    color: #ebebeb;
    font-family: 'Georgia', serif;
    font-style: italic;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Subtle elegant quote indicator */
.seeker-quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: rgba(214, 175, 55, 0.08);
    font-family: serif;
    line-height: 1;
}

.seeker-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px dashed rgba(214, 175, 55, 0.15);
    padding-top: 15px;
    position: relative;
    z-index: 2;
}

.seeker-name {
    color: #ffe082;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
}

.seeker-sign {
    color: #ffb3b3;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 179, 179, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   Responsive Viewport Constraints
   ========================================================================== */
@media (max-width: 800px) {
    .seekers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seekers-title {
        font-size: 1.5rem;
    }
}
