@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Eczar:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ephesis&display=swap');

h5 {
    color: #DBF77E;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* Results Page Styles */

/* Enhanced Outro Section */
.enhanced-outro {
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}

.outro-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: linear-gradient(120deg, rgba(219,247,126,0.06) 0%, rgba(108,92,231,0.04) 100%);
    pointer-events: none;
    border-radius: 24px;
    filter: blur(0.5px);
}

.glass-section {
    background: rgba(255,255,255,0.09);
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(219,247,126,0.07);
    border: 1px solid rgba(219, 247, 126, 0.12);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(7px);
}

/* Glassy card for outro and stats */
.glassy-card {
    background: rgba(255,255,255,0.09);
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(219,247,126,0.07);
    border: 1px solid rgba(219, 247, 126, 0.12);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(7px);
}

.outro-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
    position: relative;
    z-index: 2;
}

.outro-header .outro-icon {
    font-size: 2.2rem;
    color: #DBF77E;
    opacity: 0.7;
    margin-right: 0.5rem;
}

.outro-title {
    font-family: 'Playfair Display', serif;
    color: #DBF77E;
    font-size: 1.7rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.outro-subtitle {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.8);
    font-size: 1.08rem;
    margin-bottom: 0;
    font-style: italic;
}

.fun-stats-section, .recommendations {
    margin-bottom: 2.2rem;
}

.outro-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1.2rem 0;
}

.outro-separator .sep-star {
    font-size: 1.4rem;
    color: #DBF77E;
    opacity: 0.4;
    filter: drop-shadow(0 1px 6px #dbf77e33);
    animation: float-emoji 3.5s ease-in-out infinite;
}

.outro-message {
    margin-top: 2.2rem;
    text-align: center;
    padding: 2.2rem 2.5rem 1.2rem 2.5rem;
}

.outro-message .outro-icon {
    font-size: 2.1rem;
    color: #DBF77E;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    display: block;
}

.closing-title {
    font-family: 'Playfair Display', serif;
    color: #DBF77E;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.closing-message {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}

.outro-quote {
    margin: 2rem auto 0.5rem auto;
    max-width: 95%;
    background: rgba(255,255,255,0.07);
    border-left: 4px solid #DBF77E;
    padding: 1.2rem 1.5rem 1.1rem 2.1rem;
    border-radius: 1.1rem;
    box-shadow: 0 2px 16px 0 rgba(219,247,126,0.06);
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    color: #e6f7a4;
    position: relative;
    z-index: 2;
    text-align: center;
}

.outro-quote .quote-icon {
    font-size: 2.1rem;
    color: #DBF77E;
    position: absolute;
    top: 0.4rem;
    left: 0.8rem;
    opacity: 0.13;
    pointer-events: none;
}

.outro-quote .quote-text {
    margin-left: 2.1rem;
    display: block;
    font-style: italic;
    letter-spacing: 0.2px;
    margin-bottom: 0.2rem;
}

.outro-quote .quote-attribution {
    font-size: 0.98rem;
    color: #c9e86c;
    margin-top: 0.4rem;
    display: block;
    margin-left: 2.1rem;
}

.inner-desires-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(120deg, rgba(219,247,126,0.07) 0%, rgba(100, 100, 180, 0.06) 100%);
    pointer-events: none;
    border-radius: 24px;
    filter: blur(0.5px);
}

.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.2rem 0 1.2rem 0;
    z-index: 2;
}

.section-separator .sep-star {
    font-size: 1.6rem;
    color: #DBF77E;
    opacity: 0.55;
    filter: drop-shadow(0 1px 6px #dbf77e33);
    animation: float-emoji 3.5s ease-in-out infinite;
}

.inner-desires-quote {
    margin: 2.5rem auto 1.5rem auto;
    max-width: 540px;
    background: rgba(255,255,255,0.08);
    border-left: 4px solid #DBF77E;
    padding: 1.5rem 2rem 1.2rem 2.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(219,247,126,0.08);
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    color: #e6f7a4;
    position: relative;
    z-index: 2;
}

.inner-desires-quote .quote-icon {
    font-size: 2.5rem;
    color: #DBF77E;
    position: absolute;
    top: 0.6rem;
    left: 1rem;
    opacity: 0.18;
    pointer-events: none;
}

.inner-desires-quote .quote-text {
    margin-left: 2.2rem;
    display: block;
    font-style: italic;
    letter-spacing: 0.2px;
    margin-bottom: 0.4rem;
}

.inner-desires-quote p {
    margin-bottom: 0.5rem;
}

.enhanced-inner-desires p {
    margin-bottom: 0.6rem;
}

.results-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    min-height: 100vh;
}

/* Technical Analysis Styles */
.technical-analysis {
    padding: 2rem 0;
    position: relative;
}

.technical-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.technical-section:hover {
    transform: translateY(-2px);
}

.technical-section:last-child {
    border-bottom: none;
}

.planet-title {
    font-family: 'Playfair Display', serif;
    color: #DBF77E;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.planet-emoji {
    font-size: 1.2rem;
    color: #DBF77E;
    line-height: 1;
    animation: float-emoji 3s ease-in-out infinite;
}

@keyframes float-emoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.technical-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    letter-spacing: 0.2px;
    text-align: left;
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.technical-content b {
    color: #DBF77E;
}

.technical-content p {
    margin-bottom: 0.6rem;
}

.technical-content:last-child {
    margin-bottom: 0;
}

.results-container {
    color: #fff;
    background: rgb(0 0 0 / 28%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.2rem 2rem 1.2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(2, 0, 19, 0.4), /* Outer shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.results-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
}

.results-container h2 .title-text {
    background: linear-gradient(to right, #DBF77E, #c9e86c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Reading Navigation */
.reading-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    font-family: 'Inter', sans-serif;
    width: 160px;
}

.tree {
    margin: 0;
    font-size: 0.85rem;
    width: 100%;
}

.tree input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.tree input ~ ul { display: none; }

.tree input:checked ~ ul { display: block; }

.tree li {
    line-height: 1.2;
    position: relative;
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin-bottom: 0.25rem;
}

.tree ul li { 
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin-left: -0.8rem;
}

.tree > li:last-child { margin-bottom: 0; }

/* Navigation Tree Styles */
.tree_label {
    position: relative;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    width: 200px;
}

/* Hover state */
.tree_label:hover {
    color: #DBF77E;
    background: rgba(255, 255, 255, 0.05);
}

/* Active state */
.tree_label.active {
    color: #DBF77E;
    font-weight: 600;
}

/* Dot indicator */
.tree_label:before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tree_label.active:before {
    background: #DBF77E;
    box-shadow: 0 0 10px rgba(219, 247, 126, 0.5);
    transform: translateY(-50%) scale(1.2);
}

/* Expand/collapse indicator - hidden */
.tree_label:after {
    display: none;
}

/* Nested items */
.tree ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove default list markers */
li {
    list-style-type: none;
}

/* Ensure no default markers appear */
ul li::before,
ol li::before {
    display: none;
}

.tree ul li {
    padding: 0;
    margin: 0;
    position: relative;
}

.tree > li {
    margin-bottom: 0.25rem;
}

/* Submenu styles */
.tree ul {
    padding-left: 1rem;
    margin: 0.25rem 0 0.5rem 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tree ul .tree_label {
    font-size: 0.9rem;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.tree ul .tree_label:before {
    left: 0.25rem;
    width: 4px;
    height: 4px;
}

.tree ul .tree_label.active {
    color: #DBF77E;
    font-weight: 500;
}

/* Tree Branches */
.tree {
    position: relative;
}

.tree ul {
    position: relative;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

/* Vertical line */
.tree ul::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(219, 247, 126, 0.3) 10%, 
        rgba(219, 247, 126, 0.3) 90%, 
        transparent 100%);
    z-index: 1;
}

/* Horizontal line */
.tree li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.2rem;
    width: 1rem;
    height: 1px;
    background: rgba(219, 247, 126, 0.3);
    z-index: 1;
}

/* Hide lines for root level items */
.tree > li::before {
    display: none;
}

/* Active state for branches */
.tree_label.active ~ ul::before {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(219, 247, 126, 0.5) 10%, 
        rgba(219, 247, 126, 0.5) 90%, 
        transparent 100%);
}

.tree_label.active ~ ul li::before {
    background: rgba(219, 247, 126, 0.5);
}

/* Connect the dots */
.tree_label {
    position: relative;
    z-index: 2;
}

/* Ensure proper spacing */
.tree > li {
    position: relative;
    margin-bottom: 0.25rem;
}

/* Style for nested lists */
.tree ul ul {
    margin-left: 1rem;
}

label.tree_label:after { border-bottom: 0; }

:checked ~ label.tree_label:after {
    content: '–';
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0 4px 0 0;
    border-top: 1px solid rgba(219, 247, 126, 0.1);
    border-right: 1px solid rgba(219, 247, 126, 0.1);
    border-bottom: 0;
    border-left: 0;
    bottom: 0.8em;
    top: 0.8em;
    height: auto;
}

.tree li:last-child:before {
    height: 1em;
    bottom: auto;
}

.tree > li:last-child:before { display: none; }

/* Sub-dots */
.sub-dots {
    position: absolute;
    left: 20px;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-dot-group:hover .sub-dots {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.sub-dot {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding-block: 5px;
    transition: all 0.3s ease;
}

.sub-dot .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1A1A1A;
    border: 1px solid rgba(219, 247, 126, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sub-dot:hover .dot {
    width: 10px;
    height: 10px;
    background: rgba(219, 247, 126, 0.2);
    border-color: rgba(219, 247, 126, 0.5);
    transform: scale(1.2);
}

.sub-dot .dot-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding-left: 15px;
}

.sub-dot:hover .dot-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .reading-nav {
        display: none;
    }
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.mobile-nav-btn {
    background: rgba(219, 247, 126, 0.15);
    border: 1px solid rgba(219, 247, 126, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: #DBF77E;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(219, 247, 126, 0.1);
}

.mobile-nav-btn:hover {
    background: rgba(219, 247, 126, 0.25);
    border-color: rgba(219, 247, 126, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 247, 126, 0.2);
}

.nav-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.nav-text {
    font-size: 0.9rem;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 19, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: rgba(2, 0, 19, 0.98);
    border-right: 1px solid rgba(219, 247, 126, 0.2);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(219, 247, 126, 0.1);
}

.mobile-nav-header h3 {
    color: #DBF77E;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #DBF77E;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close:hover {
    background: rgba(219, 247, 126, 0.1);
    transform: scale(1.1);
}

.mobile-nav-menu {
    padding: 1rem 0;
}

.mobile-nav-section {
    margin-bottom: 1.5rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.mobile-nav-item:hover {
    background: rgba(219, 247, 126, 0.1);
    color: #DBF77E;
    border-left-color: #DBF77E;
    transform: translateX(5px);
}

.mobile-nav-item:active {
    background: rgba(219, 247, 126, 0.15);
    transform: translateX(3px);
}

.mobile-nav-icon {
    color: #DBF77E;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.mobile-nav-label {
    flex: 1;
    font-weight: 500;
}

/* Show mobile navigation on mobile devices */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .reading-nav {
        display: none;
    }
    
    /* Adjust mobile nav for smaller screens */
    .mobile-nav-content {
        max-width: 100%;
    }
    
    .mobile-nav-header {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .mobile-nav-header h3 {
        font-size: 1.2rem;
    }
    
    .mobile-nav-item {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-nav-icon {
        font-size: 0.8rem;
        min-width: 18px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .mobile-nav-toggle {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .mobile-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
    }
    
    .mobile-nav-header {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
    }
    
    .mobile-nav-header h3 {
        font-size: 1.1rem;
    }
    
    .mobile-nav-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .mobile-nav-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Reading Container Styles */
.reading-container {
    margin: 2rem 0;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(219, 247, 126, 0.1);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: rgba(2, 0, 19, 0.8);
    background-blend-mode: normal;
    background-size: auto;
}

/* Energy Cards Title */
.energy-cards-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

.energy-cards-title-text {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #DBF77E, #c9e86c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.reading-chapter {
    width: 100%;
    border-bottom: 1px solid rgba(219, 247, 126, 0.1);
    scroll-margin-top: 2rem;
}

.reading-chapter:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reading-chapter h3 {
    color: #DBF77E;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
    display: inline-block;
    font-weight: 100;
    font-style: italic;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
    text-align: left;
}

.reading-chapter h3:before {
    content: attr(data-chapter);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    color: #DBF77E;
    opacity: 0.7;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-top: 10px;
}

.technical-analysis h3 {
    padding: 0;
}

.reading-chapter h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(219, 247, 126, 0) 0%,
        rgba(219, 247, 126, 0.4) 50%,
        rgba(219, 247, 126, 0.8) 100%
    );
}

/* Add chapter number styling */
.reading-chapter h3 {
    display: flex;
    align-items: center;
}

.chapter-content {
    padding: 1rem 0;
}

.chapter-content h1 {
    font-size: 2rem;
    color: #DBF77E;
    margin-bottom: 1.5rem;
}

.chapter-content h2 {
    font-size: 1.8rem;
    color: #DBF77E;
    margin: 2rem 0 1rem;
}

.chapter-content h3 {
    font-size: 1.5rem;
    color: #DBF77E;
    margin: 1.5rem 0 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.chapter-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Answers Summary Styles */
.answers-summary {
    margin: 3rem 0;
}

.summary-toggle {
    background: rgba(219, 247, 126, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.summary-toggle:hover {
    background: rgba(219, 247, 126, 0.15);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.answers-content {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.reading-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(219, 247, 126, 0.1);
}

.reading-card h3 {
    color: #DBF77E;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.reading-card p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.reading-card strong {
    color: #DBF77E;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.btn.primary {
    background: linear-gradient(to right, #DBF77E, #c9e86c);
    color: #020013;
    box-shadow: 0 10px 25px rgba(219, 247, 126, 0.3);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(219, 247, 126, 0.2);
}

.btn.cosmic {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary:hover {
    box-shadow: 0 15px 30px rgba(219, 247, 126, 0.4);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn.cosmic:hover {
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .results-section {
        padding: 1rem;
    }

    .results-container {
        padding: 0rem;
    }

    .results-container h2 {
        font-size: 2rem;
    }

    .reading-container {
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .answers-content {
        grid-template-columns: 1fr;
    }

    .reading-nav {
        display: none;
    }

    .reading-chapter {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .reading-chapter h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-container {
    animation: fadeIn 0.8s ease-out;
}

/* Zodiac Symbol Styling */
.zodiac-symbol {
    font-size: 2rem;
    color: #DBF77E;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(219, 247, 126, 0.3);
    border-radius: 50%;
    border-top-color: #DBF77E;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.chapter-intro-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.zodiac-circle-graphic {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: none;
    flex: 0 0 auto;
    padding: 0;
}

.zodiac-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.zodiac-svg-pill {
    fill: rgba(255, 255, 255, 0.08);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1px;
    transition: fill 0.3s, stroke 0.3s, box-shadow 0.3s;
    r: 28;
}

.zodiac-svg-pill-active {
    fill: #7F71DA;
    stroke: #7F71DA;
    box-shadow: 0 4px 15px rgba(127, 113, 218, 0.4);
}

.zodiac-svg-icon {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.zodiac-svg-icon-active {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.zodiac-svg circle.center-element {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.1);
}

.chapter-intro-text {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 900px) {
    .chapter-intro-flex {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }
    .zodiac-circle-graphic {
        margin-bottom: 0;
        width: 300px;
        height: 300px;
    }

    .zodiac-svg-pill {
        r: 28;
    }
    .sun-moon-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    .zodiac-circle-graphic {
        width: 280px;
        height: 280px;
    }
    .zodiac-svg-pill {
        r: 30;
    }
}

@media (max-width: 480px) {
    .zodiac-circle-graphic {
        width: 250px;
        height: 250px;
    }
    .zodiac-svg-pill {
        r: 32;
    }
    .sun-moon-icon {
        display: none;
    }
}

.debug-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.debug-birthdate {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(219, 247, 126, 0.8);
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Responsive adjustments for debug title */
@media (max-width: 768px) {
    .debug-title {
        font-size: 2.5rem;
    }
    .debug-birthdate {
        font-size: 1rem;
    }
    .pillar-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .debug-title {
        font-size: 2rem;
    }
    .debug-birthdate {
        font-size: 0.9rem;
    }
    .pillar-section-title {
        font-size: 1.5rem;
    }
}

.sun-moon-icon {
    /* Reinstating original golden outline filter and adding transparency */
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) hue-rotate(30deg) brightness(1.5);
    transition: filter 0.3s, transform 0.3s;
    opacity: 0.7;
}

.sun-moon-icon:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) hue-rotate(40deg) brightness(1.8) drop-shadow(0 0 30px #DBF77E);
}

/* Responsive adjustments for central icon */
@media (max-width: 900px) {
    .sun-moon-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .sun-moon-icon {
        width: 40px;
        height: 40px;
    }
}

/* Three Pillars Section Styles */
.three-pillars-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    padding: 2rem;
    position: relative;
}

.three-pillars-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
}

.pillar-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    transition: transform 0.3s ease;
}

.pillar-item:nth-child(1) {
    margin-top: -6rem;
}

.pillar-item:nth-child(2) {
    margin-top: -3rem;
}

.pillar-item:nth-child(3) {
    margin-top: 0;
}

.pillar-item:hover {
    transform: translateY(-5px);
}

.pillar-img {
    width: 150px;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(219, 247, 126, 0.1));
    transition: filter 0.3s ease;
}

.pillar-item:hover .pillar-img {
    filter: drop-shadow(0 0 20px rgba(219, 247, 126, 0.3));
}

.pillar-text {
    color: #DBF77E;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    order: -1;
    position: relative;
    padding-bottom: 0.5rem;
}

.pillar-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(to right,
        rgba(219, 247, 126, 0) 0%,
        rgba(219, 247, 126, 0.4) 50%,
        rgba(219, 247, 126, 0) 100%
    );
}

.pillar-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 180px;
    opacity: 1;
}

@media (max-width: 768px) {
    .three-pillars-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1rem;
    }

    .three-pillars-section::before {
        display: none;
    }

    .pillar-item {
        width: 100%;
        margin-bottom: 1rem;
        margin-top: 0 !important;
    }

    .pillar-img {
        width: 120px;
        max-height: 160px;
    }

    .pillar-text {
        margin-top: 0.5rem;
    }

    .pillar-description {
        margin-top: 0.5rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pillar-img {
        width: 100px;
        max-height: 140px;
    }
}

.pillar-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #DBF77E;
    text-align: right !important;
    margin-bottom: 0 !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-shadow: 0 0 15px rgba(219, 247, 126, 0.4);
}

.pillar-section-subtitle{
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.8px;
    text-align: right;
}

.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 0 2rem;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right,
        rgba(219, 247, 126, 0) 0%,
        rgba(219, 247, 126, 0.2) 50%,
        rgba(219, 247, 126, 0) 100%
    );
}

.separator-icon {
    color: #DBF77E;
    font-size: 1.2rem;
    opacity: 0.9;
    transform: rotate(0deg);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .section-separator {
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    .separator-icon {
        font-size: 1rem;
    }
}

.scrolling-keywords {
    width: calc(100% + 4rem);
    overflow: hidden;
    padding: 2.5rem 0;
    background: linear-gradient(to right,
        rgba(2, 0, 19, 0.95) 0%,
        rgba(2, 0, 19, 0.85) 50%,
        rgba(2, 0, 19, 0.95) 100%
    );
    margin: 3rem -2rem;
    position: relative;
    border-top: 1px solid rgba(219, 247, 126, 0.1);
    border-bottom: 1px solid rgba(219, 247, 126, 0.1);
}

.scrolling-keywords::before,
.scrolling-keywords::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.scrolling-keywords::before {
    left: 0;
    background: linear-gradient(to right, rgba(2, 0, 19, 0.95), transparent);
}

.scrolling-keywords::after {
    right: 0;
    background: linear-gradient(to left, rgba(2, 0, 19, 0.95), transparent);
}

.keywords-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.keywords-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 3rem;
}

.keywords-content span {
    color: rgba(219, 247, 126, 0.7);
    font-size: 1.2rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.keywords-content span:not(:nth-child(even)) {
    color: rgba(219, 247, 126, 0.9);
}

.keywords-content span:hover {
    color: #DBF77E;
    text-shadow: 0 0 20px rgba(219, 247, 126, 0.4);
    transform: translateY(-2px);
}

.keywords-content span:nth-child(even) {
    font-size: 0.8rem;
    opacity: 0.9;
    transform: translateY(2px);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .scrolling-keywords {
        width: calc(100% + 2rem);
        margin: 2rem -1rem;
    }

    .keywords-content {
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .keywords-content span {
        font-size: 1rem;
    }

    .keywords-content span:nth-child(even) {
        font-size: 0.7rem;
    }
}

/* Beneath the Surface Subsection Styles */
.subsection {
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 2.2rem;
    color: #DBF77E;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-align: right;
    position: relative;
    padding-bottom: 1rem;
}

.subsection-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(219, 247, 126, 0) 0%,
        rgba(219, 247, 126, 0.4) 50%,
        rgba(219, 247, 126, 0.8) 100%
    );
}

.subsection-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    text-align: right;
    font-style: italic;
}

/* Inner World Styles */
.inner-world-intro {
    margin: 2rem 0;
    text-align: center;
}

.inner-world-intro p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.6;
    background: linear-gradient(to right, rgba(219, 247, 126, 0.4), rgba(219, 247, 126, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
}

/* Personal Narrative Styles */
.personal-narrative {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(2, 0, 19, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(219, 247, 126, 0.1);
}

/* Trait Map Styles */
.trait-map {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(2, 0, 19, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(219, 247, 126, 0.2);
}

.trait-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .trait-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trait-column {
        padding: 1.2rem;
    }

    .trait-symbol {
        font-size: 2rem;
    }

    .trait-title {
        font-size: 1.1rem;
    }

    .trait-description {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .trait-prompt {
        font-size: 0.9rem;
    }
}

.trait-column {
    background: rgba(219, 247, 126, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(219, 247, 126, 0.3);
    transition: transform 0.3s ease;
}

.trait-column:hover {
    transform: translateY(-5px);
    border-color: #dbf77e3f;
}

.trait-item {
    text-align: center;
}

.trait-symbol {
    font-size: 2.5rem;
    color: #DBF77E;
    margin-bottom: 1rem;
}

.trait-title {
    font-size: 1.2rem;
    color: #DBF77E;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.trait-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.trait-prompt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

/* Ready to Answer Text Styles */
.ready-to-answer {
    margin: 1.1rem 0;
    text-align: center;
}

.ready-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background: linear-gradient(to right, rgba(219, 247, 126, 0.1), rgba(219, 247, 126, 0.2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    display: inline-block;
}

/* Emotions & Healing Content Styles */
.mouse-orb {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(219, 247, 126, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.02s ease-out;
    z-index: 0; /* Behind text, in front of background */
}

.glass-section:hover .mouse-orb {
    opacity: 1;
}

.glass-section {
    background: rgb(255 255 255 / 4%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.2rem 2rem 1.2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(2, 0, 19, 0.4), /* Outer shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(219, 247, 126, 0.10) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(0, 128, 255, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.97;
}

.glass-section .emotions-healing-text {
    font-size: 1.18rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.9;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.9rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(2,0,19,0.10);
    letter-spacing: 0.01em;
    font-weight: 400;
    transition: color 0.2s;
}

.glass-section .emotions-healing-text:last-child {
   margin-bottom: 0;
}

.glass-section .emotions-healing-text:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    color: #DBF77E;
    letter-spacing: 0.01em;
    margin-bottom: 1.8rem;
    background: linear-gradient(90deg, #DBF77E 10%, #fff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Remove text-fill-color for cross-browser compatibility */
    text-shadow: none;
    font-weight: 600;
}

/* Section separator between content blocks */
.healing-section-separator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 2rem 0;
    z-index: 2;
    position: relative;
}
.healing-section-separator .sep-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(219,247,126,0.15), rgba(219,247,126,0.07) 70%, rgba(219,247,126,0));
    border: none;
    border-radius: 2px;
}
.healing-section-separator .sep-icon {
    margin: 0 1.5rem;
    font-size: 1.8rem;
    color: #DBF77E;
    opacity: 0.9;
    filter: blur(0.1px);
    text-shadow: 0 0 8px rgba(219,247,126,0.15);
}

/* Emotional Affinity Map */
.emotional-affinity-map {
    background: linear-gradient(135deg, rgba(2,0,19,0.95) 0%, rgba(30,34,60,0.96) 100%);
    border-radius: 26px;
    border: 1.2px solid rgba(219,247,126,0.2);
    box-shadow: 0 4px 24px 0 rgba(219,247,126,0.06), 0 1.5px 6px 0 rgba(2,0,19,0.13);
    margin-bottom: 2.2rem;
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.emotional-affinity-map .map-title {
    margin-bottom: 1.7rem;
    text-align: center;
}

.map-title h4 {
    color: #DBF77E;
    font-size: 1.28rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(219,247,126,0.10);
}

.map-title p {
    color: rgba(255,255,255,0.85);
    font-size: 1.01rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.orbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.3rem;
    justify-items: center;
    align-items: center;
    margin-bottom: 2.1rem;
    margin-top: 0.8rem;
}
@media (max-width: 900px) {
    .orbs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.emotion-orb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.09rem, 2vw, 1.35rem);
    width: clamp(70px, 14vw, 110px);
    height: clamp(70px, 14vw, 110px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(219,247,126,0.10) 0%, rgba(0,128,255,0.08) 100%);
    box-shadow: 0 2px 18px 0 rgba(219,247,126,0.11), 0 0.5px 2px 0 rgba(2,0,19,0.11);
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.3s, background 0.3s, transform 0.15s;
    z-index: 1;
    outline: none;
    border: 2px solid transparent;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(2,0,19,0.08);
    margin-bottom: 0.2rem;
}

.emotion-orb.joy {
    background: linear-gradient(135deg, #DBF77E 0%, #a5e8f7 100%);
    box-shadow: 0 0 25px 0 rgba(219,247,126,0.25), 0 2px 18px 0 rgba(2,0,19,0.11);
    color: #1e223c;
}
.emotion-orb.sorrow {
    background: linear-gradient(135deg, #a5e8f7 0%, #b2b2ff 100%);
    box-shadow: 0 0 25px 0 rgba(165,232,247,0.20), 0 2px 18px 0 rgba(2,0,19,0.11);
    color: #1e223c;
}
.emotion-orb.fear {
    background: linear-gradient(135deg, #b2b2ff 0%, #f7b5a5 100%);
    box-shadow: 0 0 25px 0 rgba(178,178,255,0.20), 0 2px 18px 0 rgba(2,0,19,0.11);
    color: #1e223c;
}
.emotion-orb.tenderness {
    background: linear-gradient(135deg, #f7b5a5 0%, #DBF77E 100%);
    box-shadow: 0 0 25px 0 rgba(247,181,165,0.20), 0 2px 18px 0 rgba(2,0,19,0.11);
    color: #1e223c;
}

.emotion-orb:hover, .emotion-orb:focus {
    box-shadow: 0 0 40px 0 #DBF77E, 0 8px 32px 0 rgba(2,0,19,0.18);
    border-color: #DBF77E;
    transform: scale(1.07);
    outline: none;
}

.emotion-orb.active {
    box-shadow: 0 0 50px 0 #DBF77E, 0 12px 40px 0 rgba(2,0,19,0.22);
    border-color: #DBF77E;
    transform: scale(1.13);
    outline: none;
}

.fixed-insight {
    background-color: rgba(2,0,19,0.95);
    border-radius: 16px;
    box-shadow: 0 2px 10px 0 rgba(219,247,126,0.07);
    padding: 1.2rem 1.5rem;
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.07rem;
    color: #fff;
    font-weight: 400;
    text-align: center;
    transition: box-shadow 0.3s, background 0.3s;
    border: 1.2px solid rgba(219,247,126,0.2);
}

.fixed-insight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.07rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
    transition: opacity 0.3s ease;
    letter-spacing: 0.01em;
    font-weight: 400;
}

@media (max-width: 900px) {
    .glass-section,
    .emotional-affinity-map {
        padding: 1.2rem 0.7rem 1.3rem 0.7rem;
        border-radius: 19px;
    }
    .healing-section-separator {
        margin: 2rem 0 1.5rem 0;
    }
    .orbs-grid {
        gap: 1.3rem;
    }
}
@media (max-width: 600px) {
    .glass-section,
    .emotional-affinity-map {
        border-radius: 13px;
    }
    .healing-section-separator {
        margin: 1.2rem 0 1rem 0;
    }
    .orbs-grid {
        gap: 1rem;
    }
}

/* Constellation Map */
.constellation-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 3rem 0;
    background: rgba(2, 0, 19, 0.3);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(219, 247, 126, 0.1);
}

.constellation-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(219, 247, 126, 0.02) 0%, transparent 70%);
}

.star-path {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(219, 247, 126, 0.3), transparent);
    transform-origin: left center;
    z-index: 1;
}

.star-path[data-path="career"] {
    width: 25%;
    top: 40%;
    left: 15%;
    transform: rotate(-15deg);
}

.star-path[data-path="relationships"] {
    width: 35%;
    top: 55%;
    left: 40%;
    transform: rotate(10deg);
}

.star-path[data-path="personal-growth"] {
    width: 40%;
    top: 35%;
    left: 40%;
    transform: rotate(-5deg);
}

.constellation-point {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.constellation-point::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(219, 247, 126, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.constellation-point:hover::before {
    transform: scale(2);
}

.point-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #DBF77E;
    box-shadow: 0 0 15px rgba(219, 247, 126, 0.5);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from { box-shadow: 0 0 10px rgba(219, 247, 126, 0.5); }
    to { box-shadow: 0 0 20px rgba(219, 247, 126, 0.8); }
}

.point-label {
    position: absolute;
    white-space: nowrap;
    color: #DBF77E;
    font-size: 0.9rem;
    font-weight: 500;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.constellation-point:hover .point-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.path-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(2, 0, 19, 0.9));
    z-index: 3;
}

.path-info {
    display: none;
    animation: fadeIn 0.5s ease;
}

.path-info.active {
    display: block;
}

.path-info h5 {
    color: #DBF77E;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.path-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Influence Grid */
.influence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.influence-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(219, 247, 126, 0.1);
    transition: all 0.3s ease;
}

.influence-item:hover {
    transform: translateY(-3px);
    background: rgba(219, 247, 126, 0.05);
    border-color: rgba(219, 247, 126, 0.2);
}

.influence-icon {
    font-size: 1.8rem;
    color: #DBF77E;
    min-width: 40px;
    text-align: center;
    padding-top: 0.2rem;
}

.influence-details h6 {
    color: #DBF77E;
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

.influence-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Forecast Timeline */
.forecast-timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 1rem;
    list-style: none; /* Ensure no list markers */
}

.forecast-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(219, 247, 126, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    list-style: none; /* Remove any list markers */
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(2, 0, 19, 0.8);
    border: 2px solid #DBF77E;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #DBF77E;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-marker::after {
    opacity: 1;
}

.timeline-content h6 {
    color: #DBF77E;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .constellation-container {
        height: 400px;
    }
    
    .influence-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content h6 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
}

/* Love Style Chart */
.love-style-chart {
    margin-block: 2.5rem;
    padding: 2rem;
    background: rgba(2, 0, 19, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(219, 247, 126, 0.2);
}

.love-style-title {
    font-family: 'Playfair Display', serif;
    color: #DBF77E;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.style-item {
    margin-bottom: 1.5rem;
}

.style-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #fff;
}

.style-bar-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 8px;
}

.style-bar {
    height: 100%;
    border-radius: 4px;
    background-color: #DBF77E; /* Default color */
}

.style-bar.nurturer {
    background: linear-gradient(90deg, #DBF77E, #A5E8F7);
}

.style-bar.explorer {
    background: linear-gradient(90deg, #A5E8F7, #B2B2FF);
}

.style-bar.protector {
    background: linear-gradient(90deg, #B2B2FF, #F7B5A5);
}

.style-description {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

.love-style-cta {
    text-align: center;
    margin-top: 2rem;
}

.love-style-cta a {
    color: #DBF77E;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-bottom: 1px solid #DBF77E;
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.love-style-cta a:hover {
    color: #fff;
    border-color: #fff;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 25% 30%, rgba(219, 247, 126, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 75% 70%, rgba(219, 247, 126, 0.07) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.glass-section .emotions-healing-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.7rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(2,0,19,0.08);
}

.glass-section .emotions-healing-text:last-child {
    margin-bottom: 0;
}

.glass-section .emotions-healing-text:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    color: #DBF77E;
    letter-spacing: 0.01em;
    margin-bottom: 1.7rem;
    background: linear-gradient(90deg, #DBF77E 10%, #fff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Remove text-fill-color for cross-browser compatibility */
    text-shadow: none;
    font-weight: 600;
}

/* Section separator between content blocks */
.healing-section-separator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0 2.2rem 0;
    z-index: 2;
    position: relative;
}
.healing-section-separator .sep-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(to right, rgba(219,247,126,0.12), rgba(219,247,126,0.06) 70%, rgba(219,247,126,0));
    border: none;
}
.healing-section-separator .sep-icon {
    margin: 0 1.5rem;
    font-size: 1.6rem;
    color: #DBF77E;
    opacity: 0.9;
    filter: blur(0.2px);
}

/* Visual trait map and affinity map unified styles */
.emotional-affinity-map {
    background: linear-gradient(135deg, rgba(2,0,19,0.94) 0%, rgba(2,0,19,0.91) 100%);
    border-radius: 22px;
    border: 1.2px solid rgba(219,247,126,0.10);
    box-shadow: 0 4px 24px 0 rgba(219,247,126,0.04), 0 1.5px 6px 0 rgba(2,0,19,0.10);
    margin-bottom: 2.2rem;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.emotional-affinity-map .map-title,
.trait-columns .map-title {
    margin-bottom: 1.5rem;
}

.map-title h4 {
    color: #DBF77E;
    font-size: 1.22rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.map-title p {
    color: rgba(255,255,255,0.85);
    font-size: 0.97rem;
    margin-bottom: 0;
}

/* Responsive tweaks for premium look */
@media (max-width: 900px) {
    .glass-section,
    .emotional-affinity-map, .trait-columns {
        padding: 1.2rem 0.7rem 1.3rem 0.7rem;
        border-radius: 17px;
    }
    .healing-section-separator {
        margin: 2rem 0 1.5rem 0;
    }
}
@media (max-width: 600px) {
    .glass-section,
    .emotional-affinity-map, .trait-columns {
        padding: 1.2rem 0.7rem 1.3rem 0.7rem;
        border-radius: 12px;
    }
    .healing-section-separator {
        margin: 1.2rem 0 1rem 0;
    }
}


.map-title {
    text-align: center;
    margin-bottom: 2rem;
}

.map-title h4 {
    color: #DBF77E;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.map-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.emotional-orbs {
    position: relative;
    width: 100%;
    padding: 1rem;
}

.orbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.emotion-orb {
    width: calc(20vw);
    height: calc(20vw);
    min-width: 60px;
    min-height: 60px;
    max-width: 120px;
    max-height: 120px;
}

.emotion-orb .orb-text {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

@media (max-width: 768px) {
    .orbs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
        align-items: center;
    }
    
    .emotion-orb {
        width: calc(30vw);
        height: calc(30vw);
        min-width: 60px;
        min-height: 60px;
        max-width: 120px;
        max-height: 120px;
    }
    
    .emotion-orb .orb-text {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
}

.orb-container {
    position: relative;
}

.emotion-orb {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(219, 247, 126, 0.1);
}

.emotion-orb .orb-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin: 0;
}

.emotion-orb .orb-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(219, 247, 126, 0.1) 0%, rgba(219, 247, 126, 0) 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.emotion-orb.joy {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.1), rgba(255, 255, 0, 0.05));
}

.emotion-orb.sorrow {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.1), rgba(0, 128, 255, 0.05));
}

.emotion-orb.fear {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
}

.emotion-orb.tenderness {
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1), rgba(255, 192, 203, 0.05));
}

.emotion-orb:hover {
    transform: scale(1.05);
    border-color: #DBF77E;
}

.emotion-orb.active {
    border-color: #DBF77E;
    transform: scale(1.05);
}

.fixed-insight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* Floating Bubbles Styles */
.floating-bubbles {
    margin-top: 2rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.floating-bubbles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(219, 247, 126, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 75%, rgba(0, 128, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-header h5 {
    margin-bottom: 0.8rem;
    display: inline-block;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.bubbles-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem;
    perspective: 1000px;
    margin-top: -20px;
}

.bubble {
    position: relative;
    width: 220px;
    height: 120px;
    background: rgba(2, 0, 19, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(2, 0, 19, 0.3);
    border: 1px solid rgba(219, 247, 126, 0.1);
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.bubble:hover,
.bubble.selected {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(2, 0, 19, 0.4), 0 0 25px rgba(219, 247, 126, 0.15);
    border-color: rgba(219, 247, 126, 0.3);
    background: rgba(2, 0, 19, 0.9);
}

.bubble::after {
    content: '';
    position: absolute;
    left: 18px;
    bottom: -27px;
    width: 22px;
    height: 22px;
    background: inherit;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(2,0,19,0.15);
    border: 1px solid rgba(219,247,126,0.09);
    z-index: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bubble tail hover/selected states */
.bubble:hover::after,
.bubble.selected::after {
    border: 1px solid rgba(219,247,126,1);
}

/* Smallest bubble hover/selected states */
.bubble:hover::before,
.bubble.selected::before {
    border: 1px solid rgba(219,247,126,1);
}

/* Keep outline when selected */
.bubble.selected {
    outline: 1px solid rgba(219, 247, 126, 0.3);
}

.bubble::before {
    content: '';
    position: absolute;
    left: 5px;
    bottom: -34px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(2,0,19,0.10);
    border: 1px solid rgba(219,247,126,0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Adjust for mobile */
@media (max-width: 900px) {
    .bubble::after {
        left: 12px;
        bottom: -18px;
        width: 16px;
        height: 16px;
    }
    .bubble::before {
        left: 2px;
        bottom: -26px;
        width: 8px;
        height: 8px;
    }
}


.bubble-1 {
    background: linear-gradient(135deg, rgba(219, 247, 126, 0.05) 0%, rgba(219, 247, 126, 0.03) 100%);
}

.bubble-2 {
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.05) 0%, rgba(255, 192, 203, 0.03) 100%);
}

.bubble-3 {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05) 0%, rgba(0, 128, 255, 0.03) 100%);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(2deg);
    }
    100% {
        transform: translateY(0px) rotateX(0deg);
    }
}

.bubble-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    gap: 1rem;
    text-align: left;
}

.bubble-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #DBF77E;
}

.bubble-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bubble:hover {
    transform: translateY(-8px) rotateX(4deg) scale(1.02);
    box-shadow: 0 12px 40px rgba(2, 0, 19, 0.4);
    border-color: #DBF77E;
}

.bubble:active {
    transform: translateY(0px) rotateX(0deg);
}

.bubble.active {
    transform: translateY(-12px) rotateX(6deg) scale(1.05);
    border-color: #DBF77E;
    box-shadow: 0 15px 50px rgba(2, 0, 19, 0.5);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .bubbles-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .bubble {
        width: 180px;
        height: 100px;
    }
    
    .bubble-content p {
        font-size: 0.85rem;
    }
    
    .bubble-icon {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .emotional-orbs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emotion-orb {
        width: 120px;
        height: 120px;
    }
    
    .emotion-orb .orb-text {
        font-size: 1rem;
    }
}

.emotions-healing-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}

.emotions-healing-text:last-child {
    margin-bottom: 0;
}

.narrative-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    text-align: left;
    margin: 0;
}

.narrative-text p {
    margin-bottom: 1.5rem;
}

/* Typewriter Effect */
.typewriter-container {
    margin-bottom: 3rem;
    min-height: 100px;
}

.typewriter-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5) !important;
    border-left: 2px solid rgba(219, 247, 126, 0.3);
    padding-left: 1.5rem;
}

/* Energy Cards */
.energy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.energy-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.36,1.6,.64,1);
}

.energy-card:active {
    transform: scale(0.97) rotateZ(-2deg);
}

.energy-card:hover .flip-hint,
.energy-card:focus .flip-hint {
    opacity: 1;
}

/* Remove flip on hover so it only flips on click (JS) */
/* .energy-card:hover .card-inner {
    transform: rotateY(180deg);
} */

.energy-card:hover {
    transform: translateY(-2px) scale(1.03) rotateZ(1deg);
    z-index: 2;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 16px;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-front {
    background: rgba(219, 247, 126, 0.1);
    border: 1px solid rgba(219, 247, 126, 0.2);
}

.card-back {
    background: rgba(219, 247, 126, 0.15);
    border: 1px solid rgba(219, 247, 126, 0.3);
    transform: rotateY(180deg);
}

.card-front h5 {
    color: #DBF77E;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.card-front p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.card-back p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
}

/* Flip Hint for Energy Cards */
.flip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    opacity: 0.95;
    font-size: 1rem;
    color: #DBF77E;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.3s;
}

.flip-icon {
    width: 22px;
    height: 22px;
    animation: flip-rotate 1.2s infinite linear;
    opacity: 0.95;
}

@keyframes flip-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flip-hint-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    color: #DBF77E;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

/* Vignette Block */
.vignette-block {
    background: rgba(2, 0, 19, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(219, 247, 126, 0.1);
    font-style: italic;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* Try This Section */
.try-this-section {
    margin: 2rem 0;
}

.try-this-section h5 {
    color: #DBF77E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.try-this-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.try-this-card {
    background: rgba(219, 247, 126, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(219, 247, 126, 0.1);
    transition: all 0.3s ease;
}

.try-this-card.bubble:hover,
.bubble.selected {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(2, 0, 19, 0.4), 0 0 25px rgba(219, 247, 126, 0.15);
    border-color: rgba(219, 247, 126, 0.3);
    background: rgba(2, 0, 19, 0.9);
    outline: 1px solid rgba(219, 247, 126, 0.3);
}

.try-this-card.bubble:hover::after,
.bubble.selected::after {
    border-color: rgba(219,247,126,0.3);
    box-shadow: 0 0 15px rgba(219, 247, 126, 0.2);
}

.try-this-card.bubble:hover::before,
.bubble.selected::before {
    border-color: rgba(219,247,126,0.2);
    box-shadow: 0 0 10px rgba(219, 247, 126, 0.15);
}

.try-this-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
}

/* Oracle Affirmation */
.oracle-affirmation {
    background: rgb(255 255 255 / 4%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(2, 0, 19, 0.4), /* Outer shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
    text-align: center;
}

.oracle-affirmation::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(219, 247, 126, 0.10) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(0, 128, 255, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.97;
}

.oracle-affirmation p {
    color: #DBF77E;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.6;
}

.chapter-transition {
    text-align: center;
}

.chapter-transition .soft-divider {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(219, 247, 126, 0.2);
    margin: 1rem 0;
}

.chapter-transition .transition-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.8;
    display: inline-block;
    width: fit-content;
    max-width: 80%;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .energy-cards,
    .try-this-cards {
        grid-template-columns: 1fr;
    }

    .metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .metric-label {
        min-width: auto;
    }

    .subsection-title {
        font-size: 1.8rem;
    }

    .oracle-affirmation p {
        font-size: 1.2rem;
    }

    .flip-hint {
        font-size: 0.95rem;
    }
    .flip-icon {
        width: 18px;
        height: 18px;
    }
}

.typewriter-welcome {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
    letter-spacing: 0.01em;
    font-weight: 400;
    background: none;
}

.typewriter-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #DBF77E 0%, #c9e86c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: 0.03em;
    margin-right: 0.2em;
    text-shadow: 0 2px 12px rgba(219, 247, 126, 0.12);
}

.fancy-name {
    font-family: 'Ephesis', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #DBF77E 0%, #c9e86c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 2px 12px rgba(219, 247, 126, 0.12);
    margin-right: 0.1em;
    vertical-align: middle;
    font-style: normal;
    padding-right: 10px;
    padding-left: 5px;
    position: relative;
    transition: text-shadow 0.3s cubic-bezier(.36,1.6,.64,1), filter 0.3s cubic-bezier(.36,1.6,.64,1);
    cursor: pointer;
    /* For shimmer */
    overflow: hidden;
    border-radius: 12px;
}
.fancy-name::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border-radius: 12px;
}
.fancy-name:hover, .fancy-name:focus {
    text-shadow:
        0 0 8px #DBF77E,
        0 0 16px #c9e86c,
        0 0 24px #DBF77E,
        0 2px 12px rgba(219, 247, 126, 0.22);
    filter: brightness(1.15) saturate(1.2);
}
.fancy-name:hover::after, .fancy-name:focus::after {
    opacity: 1;
    animation: shimmer-move 1.2s linear forwards;
}
@keyframes shimmer-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.welcome-name, .typewriter-welcome {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    background: none;
    font-weight: 100;
    letter-spacing: 0em;
}

/* --- OUTRO CHAPTER STYLES --- */
.outro-chapter {
    padding: 3rem 2rem 3.5rem 2rem;
    position: relative;
    overflow: visible;
    z-index: 2;
    animation: fadeIn 1.2s cubic-bezier(.36,1.6,.64,1);
}

.outro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 10px;
}

.outro-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.outro-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #DBF77E;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 24px rgba(127,113,218,0.18);
}

.outro-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.fun-stats-section {
    background: linear-gradient(120deg, rgba(127,113,218,0.13) 0%, rgba(219,247,126,0.10) 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 4px 32px 0 rgba(127,113,218,0.10);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: visible;
    border: 1.5px solid rgba(219,247,126,0.13);
}

.fun-stats-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #DBF77E;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(219,247,126,0.10);
}

.fun-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
    justify-items: center;
    align-items: stretch;
}

.fun-stat-card {
    background: linear-gradient(120deg, rgba(219,247,126,0.13) 0%, rgba(127,113,218,0.10) 100%);
    border-radius: 18px;
    box-shadow: 0 2px 18px 0 rgba(127,113,218,0.10);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 300px;
    position: relative;
    border: 1.5px solid rgba(219,247,126,0.13);
    transition: transform 0.18s cubic-bezier(.36,1.6,.64,1), box-shadow 0.18s;
    cursor: pointer;
    overflow: visible;
}

.fun-stat-card:hover {
    transform: translateY(-6px) scale(1.04) rotateZ(-1deg);
    box-shadow: 0 8px 32px 0 rgba(219,247,126,0.18), 0 2px 12px 0 rgba(127,113,218,0.13);
    border-color: #DBF77E;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 0 12px #DBF77E44);
    animation: statIconPulse 2.5s infinite alternate;
}

@keyframes statIconPulse {
    0% { filter: drop-shadow(0 0 8px #DBF77E44); }
    100% { filter: drop-shadow(0 0 18px #DBF77E99); }
}

.stat-label {
    color: #fff;
    font-size: 1.15rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.stat-highlight {
    color: #DBF77E;
    font-weight: 700;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-value {
    color: #7F71DA;
    font-weight: 700;
    font-size: 1.2em;
    text-shadow: 0 2px 8px #7F71DA33;
}

/* Outro Message Styles */
.outro-message {
    background: linear-gradient(120deg, rgba(219,247,126,0.13) 0%, rgba(127,113,218,0.10) 100%);
    border-radius: 24px;
    box-shadow: 0 4px 32px 0 rgba(127,113,218,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-top: 2rem;
    position: relative;
    border: 1.5px solid rgba(219,247,126,0.13);
    text-align: center;
    overflow: visible;
}

.closing-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #DBF77E;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(219,247,126,0.10);
}

.closing-message {
    color: #fff;
    font-size: 1.18rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 2.2rem;
    line-height: 1.7;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(127,113,218,0.10);
}

.outro-quote {
    margin-top: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #DBF77E;
    font-style: italic;
    text-shadow: 0 2px 12px rgba(219,247,126,0.10);
    background: none;
}

.outro-quote p {
    margin-bottom: 0.5rem;
    color: #DBF77E;
    font-size: 1.25rem;
    font-style: italic;
}

.quote-attribution {
    display: block;
    color: #7F71DA;
    font-size: 1.05rem;
    margin-top: 0.2rem;
    font-style: normal;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

/* Decorative confetti for celebration */
.outro-chapter::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='3' fill='%23DBF77E'/%3E%3Ccircle cx='80' cy='30' r='2' fill='%237F71DA'/%3E%3Ccircle cx='50' cy='80' r='2.5' fill='%23DBF77E'/%3E%3Ccircle cx='70' cy='60' r='1.5' fill='%237F71DA'/%3E%3Ccircle cx='30' cy='70' r='2' fill='%23DBF77E'/%3E%3C/svg%3E");
    opacity: 0.13;
    background-repeat: repeat;
    background-size: 120px 120px;
    border-radius: 32px;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
    .outro-chapter {
        padding: 2rem 0.5rem 2.5rem 0.5rem;
        border-radius: 22px;
    }
    .fun-stats-section, .outro-message {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
        border-radius: 16px;
    }
    .fun-stats-grid {
        gap: 1.2rem 1.2rem;
    }
}
@media (max-width: 600px) {
    .outro-chapter {
        border-radius: 12px;
    }
    .fun-stats-section, .outro-message {
        padding: 1rem 0.2rem 1rem 0.2rem;
        border-radius: 10px;
    }
    .fun-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .fun-stat-card {
        min-width: 0;
        max-width: 100%;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .outro-title {
        font-size: 1.5rem;
    }
    .closing-title {
        font-size: 1.2rem;
    }
    .closing-message {
        font-size: 1rem;
    }
}

/* Cosmic Recommendations Section */
.cosmic-recommendations-section {
    background: linear-gradient(120deg, rgba(127,113,218,0.10) 0%, rgba(219,247,126,0.08) 100%);
    border-radius: 20px;
    box-shadow: 0 2px 18px 0 rgba(127,113,218,0.08);
    padding: 2.2rem 1.2rem 2rem 1.2rem;
    margin: 2.5rem 0 1.5rem 0;
    max-width: 700px;
    width: 100%;
    position: relative;
    border: 1.2px solid rgba(219,247,126,0.10);
    text-align: center;
    overflow: visible;
}
.recommendations-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #DBF77E;
    margin-bottom: 0.7rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(219,247,126,0.10);
}
.recommendations-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.08rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.7rem;
    letter-spacing: 0.01em;
}
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    justify-items: center;
    align-items: stretch;
}
.recommendation-card {
    background: linear-gradient(120deg, rgba(219,247,126,0.13) 0%, rgba(127,113,218,0.10) 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(127,113,218,0.08);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    max-width: 260px;
    position: relative;
    border: 1.2px solid rgba(219,247,126,0.10);
    transition: transform 0.16s cubic-bezier(.36,1.6,.64,1), box-shadow 0.16s;
    cursor: pointer;
    overflow: visible;
}
.recommendation-card:hover {
    transform: translateY(-4px) scale(1.03) rotateZ(-1deg);
    box-shadow: 0 6px 24px 0 rgba(219,247,126,0.13), 0 2px 8px 0 rgba(127,113,218,0.10);
    border-color: #DBF77E;
}
.rec-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 8px #DBF77E33);
    animation: statIconPulse 2.5s infinite alternate;
}
.rec-type {
    font-size: 0.95rem;
    color: #7F71DA;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.2rem;
    letter-spacing: 0.01em;
}
.rec-title {
    color: #fff;
    font-size: 1.13rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-align: center;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.rec-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.98rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.1rem;
    text-align: center;
}
@media (max-width: 900px) {
    .cosmic-recommendations-section {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        border-radius: 14px;
    }
    .recommendations-grid {
        gap: 1rem 1rem;
    }
}
@media (max-width: 600px) {
    .cosmic-recommendations-section {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
        border-radius: 8px;
    }
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .recommendation-card {
        min-width: 0;
        max-width: 100%;
        padding: 1rem 0.5rem 0.7rem 0.5rem;
    }
    .recommendations-title {
        font-size: 1.1rem;
    }
}

/* Film Strip Styles - Vertical Layout */
.film-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem 2rem;
    justify-content: center;
    align-items: stretch;
    padding: 1.2rem 0.5rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.film-frame {
    background: linear-gradient(120deg, rgba(219,247,126,0.13) 0%, rgba(127,113,218,0.10) 100%);
    border: 2.5px solid #DBF77E;
    border-radius: 12px;
    box-shadow: 0 4px 18px 0 rgba(127,113,218,0.10);
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 0.7rem;
    position: relative;
    transition: transform 0.18s cubic-bezier(.36,1.6,.64,1), box-shadow 0.18s;
    margin-bottom: 0;
    z-index: 1;
}
.film-frame:hover {
    transform: scale(1.04) translateY(-4px) rotateZ(-1deg);
    box-shadow: 0 8px 32px 0 #DBF77E44, 0 2px 12px 0 #7F71DA22;
    border-color: #7F71DA;
}
.film-emoji {
    font-size: 2.7rem;
    width: 60px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(219,247,126,0.13) 0%, rgba(127,113,218,0.10) 100%);
    box-shadow: 0 2px 10px 0 #7F71DA33;
    margin-right: 1.1rem;
    flex-shrink: 0;
    color: #fff;
    text-shadow: 0 2px 8px #7F71DA44, 0 0 12px #DBF77E55;
}
.film-info {
    text-align: left;
}
.film-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.1rem;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.film-meta {
    font-size: 0.9rem;
    color: #7F71DA;
    font-family: 'Inter', sans-serif;
    opacity: 0.85;
}
.film-frame::before, .film-frame::after {
    content: '';
    display: block;
    width: 18px;
    height: 8px;
    background: #DBF77E;
    border-radius: 4px;
    position: absolute;
    left: -18px;
    opacity: 0.18;
}
.film-frame::before {
    top: 12px;
}
.film-frame::after {
    bottom: 12px;
}
@media (max-width: 700px) {
    .film-strip {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 1rem;
        padding: 0.7rem 0.2rem;
        max-width: 98vw;
    }
    .film-frame {
        padding: 0.5rem 0.5rem 0.5rem 0.3rem;
    }
    .film-emoji {
        width: 44px;
        height: 66px;
        margin-right: 0.7rem;
        font-size: 2.3rem;
    }
    .film-title {
        font-size: 0.92rem;
    }
    .film-meta {
        font-size: 0.75rem;
    }
    .film-frame::before, .film-frame::after {
        width: 12px;
        left: -12px;
    }
}

.music-playlist {
    background: linear-gradient(120deg, rgba(30,34,60,0.98) 0%, rgba(2,0,19,0.96) 100%);
    border-radius: 18px;
    box-shadow: 0 2px 18px 0 rgba(127,113,218,0.10);
    padding: 1.5rem 1rem 1.2rem 1rem;
    margin: 2rem 0 2.5rem 0;
    max-width: 700px;
    width: 100%;
    position: relative;
    border: 1.2px solid rgba(127,113,218,0.13);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}
.playlist-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #DBF77E;
    margin-bottom: 1.1rem;
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 2px 10px rgba(219,247,126,0.10);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.playlist-track {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: rgba(127,113,218,0.07);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 6px 0 rgba(127,113,218,0.06);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
    position: relative;
}
.playlist-track:last-child {
    margin-bottom: 0;
}
.playlist-track:hover {
    background: linear-gradient(90deg, #DBF77E22 0%, #7F71DA22 100%);
    box-shadow: 0 4px 16px 0 #DBF77E33;
    transform: scale(1.02) translateX(4px);
}
.playlist-play {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DBF77E 0%, #7F71DA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181818;
    font-size: 1.2rem;
    margin-right: 0.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px #7F71DA33;
    transition: background 0.18s, color 0.18s;
}
.playlist-track:hover .playlist-play {
    background: linear-gradient(135deg, #7F71DA 0%, #DBF77E 100%);
    color: #fff;
}
.playlist-play::before {
    content: '\25B6'; /* Unicode play symbol */
    font-size: 1.1rem;
    margin-left: 2px;
    color: #fff;
    text-shadow: 0 2px 8px #7F71DA44, 0 0 12px #DBF77E55;
}
.playlist-songinfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 2 1 0;
    min-width: 0;
    margin-right: 0.5rem;
}
/* Book Recommendation Styling */
.book-recommendation {
    perspective: 2000px;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.book-container {
    width: 200px;
    height: 300px;
    position: relative;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1;
}

.book-container.open {
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.book {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left center;
    cursor: pointer;
}

.book-container.open .book {
    transform: rotateY(-160deg) translateX(20px);
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.book-cover-front, .book-spine, .book-pages, .book-page {
    position: absolute;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    backface-visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.book-cover-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #DBF77E;
    font-family: 'Playfair Display', serif;
    transform: translateZ(5px);
    border: 1px solid rgba(219, 247, 126, 0.15);
    overflow: hidden;
}

.book-container.open .book-cover-front {
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.book-cover-content {
    transform: translateZ(10px);
    padding: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-cover-title {
    position:absolute;
    top: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    max-height: 3.6em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.book-cover-author {
    position:absolute;
    bottom: 80px;
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
    margin-top: 0.5rem;
    color: rgba(219, 247, 126, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.flip-hint {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.book-container:hover .flip-hint {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flip-emoji {
    font-size: 1rem;
    display: inline-block;
    animation: book-bounce 1.5s infinite ease-in-out;
}

@keyframes book-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.book-spine {
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, #0a0a1a 0%, #1a1a3a 100%);
    transform: rotateY(90deg) translateZ(-10px) translateX(-10px);
    border-right: 1px solid rgba(219, 247, 126, 0.1);
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.book-container.open .book-spine {
    transform: rotateY(90deg) translateZ(-10px) translateX(10px);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
}

.book-pages {
    width: 100%;
    height: 96%;
    top: 2%;
    left: 0;
    background: #f5f5f0;
    transform: translateZ(-5px);
    border-radius: 0 3px 3px 0;
    border-left: 1px solid #e0d8c0;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.book-container.open .book-pages {
    transform: translateZ(-5px) translateX(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.book-page {
    width: 95%;
    height: 90%;
    top: 5%;
    left: 2.5%;
    background: #fff9e6;
    transform: translateZ(1px);
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: #333;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    pointer-events: none;
}

.book-container.open .book-page {
    opacity: 1;
    transform: translateZ(1px) translateX(10px);
    pointer-events: auto;
}

.book-page-content {
    height: 100%;
    padding: 1.5rem;
    position: relative;
    overflow-y: auto;
    box-sizing: border-box;
}

.close-book {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.8rem;
    height: 1.8rem;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-book:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
    transform: scale(1.1);
}

.book-title {
    color: #2a2a72;
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    padding-right: 1.5rem;
    line-height: 1.3;
}

.book-meta {
    color: #7a7a8c;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-style: italic;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
}

.book-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    text-align: left;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

/* Book Description Overlay */
.book-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-container.open .book-description {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.book-description-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.book-description .book-title {
    color: #2a2a72;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    padding-right: 1.8rem;
}

.book-description .book-meta {
    color: #7a7a8c;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.book-description .book-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    max-height: calc(100% - 120px);
    padding-right: 0.8rem;
    margin-right: 0;
}

.close-description {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 25;
}

.close-description:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

.close-description span {
    font-size: 1.1rem;
    line-height: 1;
}

/* Adjust book when description is shown */
.book-container.open .book {
    filter: blur(2px);
    opacity: 0.9;
    transform: scale(0.98);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .book-description {
        padding: 1.2rem;
    }
    
    .book-description .book-title {
        font-size: 1.2rem;
        margin-top: 0.3rem;
    }
    
    .book-description .book-desc {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Custom scrollbar for book description */
.book-desc::-webkit-scrollbar {
    width: 4px;
}

.book-desc::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}

.book-desc::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.book-desc::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

.flip-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(219, 247, 126, 0.10);
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    color: #DBF77E;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(219, 247, 126, 0.08);
    border: 1px dashed #DBF77E;
    opacity: 0.92;
    pointer-events: none;
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .book-recommendation {
        gap: 1.5rem;
    }
    
    .book-container {
        width: 180px;
        height: 270px;
    }
    
    .book-cover-title {
        font-size: 1.2rem;
    }
    
    .book-cover-author {
        font-size: 0.8rem;
    }
    
    .book-page {
        padding: 0;
        font-size: 0.8rem;
    }
    
    .book-title {
        font-size: 1.1rem;
    }
    
    .book-meta, .book-desc {
        font-size: 0.75rem;
    }
    
    .flip-hint {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .book-recommendation {
        gap: 1.2rem;
    }
    
    .book-container {
        width: 160px;
        height: 240px;
        margin: 0.3rem;
    }
    
    .book-cover-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .book-cover-author {
        font-size: 0.75rem;
    }
    
    .flip-hint {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
        bottom: 0.8rem;
    }
    
    .book-page-content {
        padding: 1rem 0.8rem;
    }
    
    .book-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .book-meta {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.6rem;
    }
    
    .book-desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .close-book {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.9rem;
    }
}

.playlist-song {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.1rem;
    background: linear-gradient(90deg, #DBF77E 0%, #7F71DA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.playlist-artist {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #7F71DA;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}
.playlist-duration {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #DBF77E;
    opacity: 0.85;
    flex-shrink: 0;
    margin-left: auto;
    letter-spacing: 0.01em;
    text-align: right;
}
@media (max-width: 600px) {
    .music-playlist {
        padding: 1rem 0.3rem 0.7rem 0.3rem;
        max-width: 99vw;
    }
    .playlist-track {
        gap: 0.5rem;
        padding: 0.5rem 0.5rem;
    }
    .playlist-song {
        font-size: 0.98rem;
    }
    .playlist-artist {
        font-size: 0.85rem;
    }
    .playlist-duration {
        font-size: 0.85rem;
    }
    .playlist-play {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
        font-size: 1rem;
    }
}

/* Enhanced Trip Recommendations Section */
.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trip-card-enhanced {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(219,247,126,0.05) 100%);
    border: 1px solid rgba(219,247,126,0.15);
    border-radius: 20px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.trip-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(219,247,126,0.1), transparent);
    transition: left 0.6s ease;
}

.trip-card-enhanced:hover::before {
    left: 100%;
}

.trip-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(219,247,126,0.3);
    box-shadow: 0 20px 60px rgba(219,247,126,0.15);
}

.trip-card-header {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    margin-bottom: 1.5rem;
}

.trip-icon-container {
    position: relative;
    flex-shrink: 0;
}

.trip-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #DBF77E, #c9e86c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(219,247,126,0.3));
    animation: float 3s ease-in-out infinite;
}

.trip-vibe-badge {
    position: absolute;
    top: -8px;
    right: -75px;
    background: linear-gradient(135deg, #DBF77E, #c9e86c);
    color: #020013;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(219,247,126,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.trip-card-enhanced:hover .trip-vibe-badge {
    transform: scale(1);
}

.trip-location {
    flex: 1;
}

.trip-title {
    font-family: 'Playfair Display', serif;
    color: #DBF77E;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    letter-spacing: 0.5px;
}

.trip-country {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

.trip-card-body {
    margin-top: 1.5rem;
}

.trip-description {
    margin-bottom: 1.2rem;
}

.trip-description p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.trip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(219,247,126,0.1);
    color: #DBF77E;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(219,247,126,0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(219,247,126,0.2);
    transform: translateY(-2px);
}

.trip-action {
    text-align: center;
}

.trip-explore-btn {
    background: linear-gradient(135deg, #DBF77E, #c9e86c);
    color: #020013;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(219,247,126,0.3);
    position: relative;
    overflow: hidden;
}

.trip-explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.trip-explore-btn:hover::before {
    left: 100%;
}

.trip-explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(219,247,126,0.4);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.trip-explore-btn:hover .btn-icon {
    transform: translateX(3px);
}

.trip-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(219,247,126,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.trip-card-enhanced:hover .trip-card-glow {
    opacity: 1;
}

.trip-insight {
    background: rgba(219,247,126,0.05);
    border: 1px solid rgba(219,247,126,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.insight-icon {
    font-size: 1.5rem;
    color: #DBF77E;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.trip-insight p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Vibe-specific styling */
.trip-card-enhanced[data-vibe="adventure"] {
    border-color: rgba(255, 165, 0, 0.3);
}

.trip-card-enhanced[data-vibe="adventure"] .trip-icon {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trip-card-enhanced[data-vibe="relaxation"] {
    border-color: rgba(0, 191, 255, 0.3);
}

.trip-card-enhanced[data-vibe="relaxation"] .trip-icon {
    background: linear-gradient(135deg, #00BFFF, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trip-card-enhanced[data-vibe="culture"] {
    border-color: rgba(255, 215, 0, 0.3);
}

.trip-card-enhanced[data-vibe="culture"] .trip-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trip-card-enhanced[data-vibe="spiritual"] {
    border-color: rgba(138, 43, 226, 0.3);
}

.trip-card-enhanced[data-vibe="spiritual"] .trip-icon {
    background: linear-gradient(135deg, #8A2BE2, #9370DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trip-card-enhanced[data-vibe="romance"] {
    border-color: rgba(255, 105, 180, 0.3);
}

.trip-card-enhanced[data-vibe="romance"] .trip-icon {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 900px) {
    .trip-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
    }
    
    .trip-card-enhanced {
        padding: 1.5rem;
    }
    
    .trip-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .trip-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trip-card-enhanced {
        padding: 1.2rem;
    }
    
    .trip-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .trip-icon {
        font-size: 2rem;
    }
    
    .trip-title {
        font-size: 1.2rem;
    }
    
    .trip-features {
        justify-content: center;
    }
    
    .trip-insight {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* Animation for trip cards */
@keyframes tripCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.trip-card-enhanced {
    animation: tripCardFloat 6s ease-in-out infinite;
}

.trip-card-enhanced:nth-child(2) {
    animation-delay: 1s;
}

.trip-card-enhanced:nth-child(3) {
    animation-delay: 2s;
}

.trip-card-enhanced:nth-child(4) {
    animation-delay: 3s;
}

/* Elemental Summary Styles */
.elemental-summary {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(219, 247, 126, 0.02) 100%);
    border: 1px solid rgba(219, 247, 126, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.elemental-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.dominant-elements h5,
.contributing-signs h5 {
    color: #DBF77E;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.element-pair {
    display: flex;
    gap: 1rem;
}

.element-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.element-item.dominant {
    background: linear-gradient(135deg, rgba(219, 247, 126, 0.15) 0%, rgba(219, 247, 126, 0.05) 100%);
    border: 1px solid rgba(219, 247, 126, 0.3);
}

.element-item.secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.element-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.element-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.element-name {
    color: #DBF77E;
    font-weight: 600;
    font-size: 1.1rem;
}

.element-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.signs-grid {
    display: flex;
    flex-direction: row;
    gap: 4rem;
}

.signs-group h6 {
    color: #DBF77E;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.signs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sign-tag {
    background: linear-gradient(135deg, rgba(219, 247, 126, 0.2) 0%, rgba(219, 247, 126, 0.1) 100%);
    color: #DBF77E;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(219, 247, 126, 0.3);
    transition: all 0.3s ease;
}

.sign-tag:hover {
    background: linear-gradient(135deg, rgba(219, 247, 126, 0.3) 0%, rgba(219, 247, 126, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 247, 126, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .elemental-breakdown {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .element-pair {
        flex-direction: column;
    }

    .element-item {
        padding: 0.8rem;
    }

    .element-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .signs-list {
        gap: 0.4rem;
    }

    .sign-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}