/*
Theme Name: LoveRadar Theme
Theme URI: https://loveradar.app
Author: LoveRadar Team
Author URI: https://loveradar.app
Description: Premium dark aesthetic theme for LoveRadar.
Version: 1.0.1
Text Domain: loveradar-theme
*/
:root {
    --bg-color: #0b0714;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-gradient: linear-gradient(135deg, #ff718e, #fdad88);
    --gold: #d4af37;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Card Design System */
    --card-bg: #0d1b2a;
    --card-radius: 20px;
    --gold-70: rgba(200, 160, 100, 0.7);
    --gold-35: rgba(200, 160, 100, 0.35);
    --gold-12: rgba(200, 160, 100, 0.12);
    --gold-06: rgba(200, 160, 100, 0.06);
    --text-hero: rgba(255, 255, 255, 0.92);
    --text-accent: var(--gold-70);
    --text-ghost: var(--gold-12);
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
    --space-2xl: 3rem;
    --deco-star-sm: 0.5rem;
    --deco-star-md: 0.7rem;
    --deco-star-lg: 1rem;
    --deco-border-inset: 10px;
    --deco-border-width: 1.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('assets/website-bg-starry-city.webp') center bottom / cover no-repeat;
    padding: 2.5rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.mobile-only {
    display: none;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(11,7,20,0.85) 0%, rgba(11,7,20,0.3) 50%, rgba(11,7,20,0.95) 100%);
    z-index: 1;
}

.header, .main-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

/* HEADER */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.lang-selector {
    display: flex;
    gap: 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.lang-selector a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-selector a.active, .lang-selector a:hover {
    color: var(--gold);
}

.lang-selector a.no-translation {
    text-decoration: line-through !important;
    opacity: 0.3 !important;
    pointer-events: none !important;
}

.lang-selector .dot {
    color: var(--text-secondary);
}

/* LANG DROPDOWN */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 20, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(30, 20, 45, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
}

.lang-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.logo-container {
    margin-bottom: -1rem;
    animation: float 6s ease-in-out infinite;
}

.logo {
    width: 95px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(255, 113, 142, 0.4));
}

.app-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.6));
}

.slider-container {
    position: relative;
    height: 70px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
}

.slide p {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 400;
    display: inline-block;
    
    /* Faded gradient text effect */
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, #ffffff 7%, #ffffff 93%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.pagination {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    opacity: 0.6;
}

.page-dot {
    width: 14px;
    height: 14px;
    transform: rotate(-90deg); /* Start filling from the top */
    overflow: visible;
}

.dot-bg {
    fill: rgba(255, 255, 255, 0.2);
}

.dot-fill {
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 16;
    stroke-dasharray: 50.265; /* 2 * PI * 8 */
    stroke-dashoffset: 50.265;
    transition: stroke-dashoffset 0.3s ease;
}

.page-dot.filling .dot-fill {
    animation: pieFill 3.5s linear forwards;
}

.page-dot:last-child.filling .dot-fill {
    animation-duration: 5.5s;
}

.page-dot.active .dot-fill {
    stroke-dashoffset: 0;
}

@keyframes pieFill {
    0% { stroke-dashoffset: 50.265; }
    100% { stroke-dashoffset: 0; }
}

.hero-center-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ACTION SECTION */
.action-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    border-radius: 40px;
    background: rgba(30, 20, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.btn-download:hover {
    background: rgba(45, 30, 65, 0.6);
    border-color: rgba(255, 113, 142, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 113, 142, 0.25);
}

.btn-download:active {
    transform: translateY(0);
}

.btn-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-blog span {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.3s ease;
}

.btn-blog:hover {
    color: var(--text-primary);
}

.btn-blog:hover span {
    text-decoration-color: #ff718e;
}

.blog-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

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



.android-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.btn-download:hover .android-icon {
    fill: #ff718e;
}

/* FOOTER */
.footer {
    background-color: #06040a;
    padding: 3rem 1.5rem 3rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* CRYPTO BANNER */
.crypto-banner {
    padding: 4rem 1.5rem;
    background: #06040a;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.crypto-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.crypto-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cstyle%3Etext%7Bfont-family:monospace;font-size:16px;fill:rgba(37,211,102,0.9)%7D.a1%7Banimation:f 2s infinite%7D.a2%7Banimation:f 3s infinite 1s%7D.a3%7Banimation:f 4s infinite 2s%7D.a4%7Banimation:f 1.5s infinite 0.5s%7D@keyframes f%7B0%25,100%25%7Bopacity:0.1%7D50%25%7Bopacity:1%7D%7D%3C/style%3E%3Ctext x='20' y='30' class='a1'%3EX%3C/text%3E%3Ctext x='80' y='20' class='a2'%3E0%3C/text%3E%3Ctext x='140' y='40' class='a3'%3E9%3C/text%3E%3Ctext x='190' y='10' class='a4'%3EW%3C/text%3E%3Ctext x='50' y='70' class='a3'%3EZ%3C/text%3E%3Ctext x='110' y='80' class='a1'%3E1%3C/text%3E%3Ctext x='170' y='60' class='a2'%3EQ%3C/text%3E%3Ctext x='10' y='100' class='a4'%3EV%3C/text%3E%3Ctext x='70' y='120' class='a1'%3E4%3C/text%3E%3Ctext x='130' y='110' class='a3'%3EC%3C/text%3E%3Ctext x='180' y='130' class='a1'%3E7%3C/text%3E%3Ctext x='30' y='160' class='a4'%3EK%3C/text%3E%3Ctext x='90' y='180' class='a2'%3EM%3C/text%3E%3Ctext x='150' y='170' class='a1'%3ER%3C/text%3E%3Ctext x='190' y='190' class='a3'%3EY%3C/text%3E%3Ctext x='100' y='150' class='a4'%3E2%3C/text%3E%3Ctext x='160' y='100' class='a2'%3E5%3C/text%3E%3Ctext x='40' y='190' class='a1'%3E8%3C/text%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.crypto-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(6, 4, 10, 0.4); /* Dark glass tint */
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(37, 211, 102, 0.05);
    z-index: 2;
}

.crypto-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.crypto-icon {
    width: 36px;
    height: 36px;
    color: #25D366;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.5));
}

.crypto-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(37, 211, 102, 0.2);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 2;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.crypto-title {
    color: #25D366;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.crypto-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 650px;
}

.crypto-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3), transparent);
    margin: 2rem auto;
    max-width: 400px;
}

.crypto-subtitle {
    font-size: 0.85rem;
    color: #25D366;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.crypto-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.crypto-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.crypto-feature svg {
    flex-shrink: 0;
}

.legal-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.legal-text a {
    color: #ff718e;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 113, 142, 0.4);
    transition: all 0.3s ease;
}

.legal-text a:hover {
    color: #fdad88;
    border-bottom-color: #fdad88;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mobile-badge-col {
    display: none;
}

.desktop-badge {
    margin-top: 1.5rem;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(3px); }
}

.cards-hint {
    animation: hint-pulse 2.5s infinite ease-in-out;
}

@media (max-width: 900px) {
    .footer-links-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .desktop-badge {
        display: none !important;
    }
    
    .mobile-badge-col {
        display: block;
    }
}

.footer-col h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    height: 32px;
    display: flex;
    align-items: center;
}

/* FOOTER BRAND */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand-slogan {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1329 0%, var(--bg-color) 100%);
    padding: 7rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}



.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col a:not(.footer-store-badge):hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-store-badge {
    display: inline-block;
}

.footer-store-badge img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-store-badge:hover img {
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    text-align: center;
}

/* ANIMATIONS */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* RESPONSIVE */
@media (min-width: 1024px) {
    .app-title { font-size: 5.5rem; margin-bottom: 2.5rem; }
    .slide p { font-size: 1.4rem; }
    .security-text { font-size: 1.4rem; }
    .btn-download { padding: 1.25rem 4rem; font-size: 1.25rem; }
    .logo { width: 115px; }
    .slider-container { height: 80px; }
}

@media (max-width: 768px) {
    .hero-section { background: none; }
    .mobile-only { display: block; }
    .app-title { font-size: 4rem; }
    .slide p { font-size: 1.1rem; }
    .footer-security-section { padding: 3rem 1.5rem; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-section { padding: 1.5rem 1rem 3rem; }
    .app-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
    .slide p { font-size: 1rem; }
    .logo { width: 80px; }
    .btn-download { width: 100%; padding: 1rem 1.5rem; }
    .footer { padding: 2rem 1.5rem; }
    .crypto-banner { padding: 8rem 1rem; }
    .crypto-container { padding: 2rem 1.5rem; }
    .crypto-text { font-size: 0.85rem; }
    .crypto-features { gap: 1rem; flex-direction: column; }
    .crypto-feature { justify-content: center; }
    .footer-links-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand-header { flex-direction: column; justify-content: center; height: auto; gap: 0.5rem; }
    .footer-col h4 { justify-content: center; margin-bottom: 1rem; }
    .footer-col a:hover { transform: translateX(0) scale(1.05); }
    
    .header-inner {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
}

/* Center language selector on front page */
.header-front .header-inner {
    justify-content: center;
}
.header-front .lang-selector {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

/* -------------------------------------
   GLOBAL PAGES (Blog, Single, Page)
   ------------------------------------- */

.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 2rem 1.5rem;
    z-index: 100;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.header-nav-logo {
    width: 32px;
    height: 32px;
}

.header-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.primary-nav a:hover {
    color: var(--text-primary);
}

.static-bg {
    position: fixed;
    z-index: -1;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #fff7f2; /* Very warm, cozy cream base */
    background-image: 
        radial-gradient(ellipse at 80% -10%, rgba(255, 206, 179, 0.4) 0%, transparent 60%), /* Cozy warm peach */
        radial-gradient(ellipse at 0% 40%, rgba(255, 189, 201, 0.3) 0%, transparent 70%), /* Soft romantic blush */
        radial-gradient(ellipse at 100% 80%, rgba(235, 201, 162, 0.35) 0%, transparent 60%), /* Soft golden glow */
        radial-gradient(ellipse at 20% 110%, rgba(255, 219, 219, 0.4) 0%, transparent 60%); /* Rose tint */
}
.static-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.generic-page-container {
    max-width: calc(1000px + 3rem);
    margin: 6.5rem auto 6rem;
    padding: 0 1.5rem;
    min-height: 50vh;
    color: #1a1a1a;
}

.lr-breadcrumbs {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.lr-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}
.lr-breadcrumbs a:hover {
    color: #ff718e;
}
.lr-breadcrumbs .separator {
    color: #ccc;
    font-size: 0.8rem;
}
.lr-breadcrumbs .current {
    color: #1a1a1a;
    font-weight: 500;
}

.entry-title, .page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    color: #0b0714;
    line-height: 1.2;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2, .entry-content h3 {
    font-family: 'Playfair Display', serif;
    margin: 3rem 0 1.5rem;
    color: var(--gold);
}

.entry-content h2 { font-size: 2.2rem; }
.entry-content h3 { font-size: 1.8rem; }

.entry-content a {
    color: #ff718e;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,113,142,0.3);
    transition: all 0.3s;
}
.entry-content a:hover {
    border-bottom-color: #ff718e;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: #ff718e;
}

.blog-card-excerpt {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Inner Pages Light Theme Header Adjustments */
.site-header:not(.header-front) .lang-selector a {
    color: #666;
}
.site-header:not(.header-front) .lang-selector a.active, 
.site-header:not(.header-front) .lang-selector a:hover {
    color: var(--gold);
}
.site-header:not(.header-front) .lang-selector .dot {
    color: #ccc;
}
.site-header:not(.header-front) .primary-nav a {
    color: #666;
}
.site-header:not(.header-front) .primary-nav a:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .header-right .primary-nav { display: none; }
    .entry-title, .page-title { 
        font-size: 2.5rem; 
        text-align: center;
    }
    .lr-breadcrumbs, .entry-meta {
        justify-content: center;
        text-align: center;
    }
    .generic-page-container { margin-top: 13rem; }
    
    .site-header:not(.header-front) .header-inner {
        flex-direction: column-reverse; /* Puts language selector above the logo */
        gap: 1.5rem;
    }
    .site-header:not(.header-front) .header-left,
    .site-header:not(.header-front) .header-right {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .header-logo-link {
        flex-direction: column;
        gap: 0;
    }
    .header-nav-title {
        margin-top: -0.5rem;
    }
}

/* Feature Questions Section - Premium Light Grid Pattern */
.feature-questions {
    padding: 8rem 2rem;
    position: relative;
    /* Soft pearlescent base */
    background-color: #fdfbfb;
    background-image: radial-gradient(ellipse at 50% 0%, #ffffff 0%, #f4f3f7 100%);
    overflow: hidden;
}

/* Deep Resonating Waves representing psychological depth */
.feature-questions::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    /* Organic resonating frequency waves */
    background-image: url('./assets/images/bg-waves.svg?v=4');
    opacity: 0.45; /* Soften the waves */
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    /* Softly fade at edges */
    mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
}

/* Ambient Organic Glow */
.radar-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(140, 90, 180, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: ambientPulse 8s ease-in-out infinite alternate;
}

.radar-ring {
    display: none; /* Hide the hard circles */
}

@keyframes ambientPulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.feature-container {
    position: relative;
    z-index: 2; /* Above noise */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5rem;
    justify-content: space-between;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-text h2 {
    font-size: 3.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Playfair Display', 'Georgia', serif;
    background: linear-gradient(135deg, #44304c 0%, #836787 100%); /* Soft elegant deep plum/mauve */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.feature-text p {
    font-size: 1.15rem;
    color: #6a627a; /* Elegant deep mauve-grey */
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #352d45; /* Deep violet-ink */
    font-weight: 500;
}

.feature-visual {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.cards-stack {
    position: relative;
    width: 340px; /* Slightly wider for editorial feel */
    height: 520px;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY CARDS — Dark, ornamental, per-card accent color
   ═══════════════════════════════════════════════════════ */

.q-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--card-radius);
    background: var(--card-bg);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 0 var(--deco-border-width) var(--card-accent, var(--gold-35));
    transition: transform 0.5s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s ease;
    transform-origin: center bottom;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

.q-card-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
}

/* ═══ DECORATIVE FRAME — outer ═══ */
.q-card-inner::before {
    content: '';
    position: absolute;
    inset: var(--deco-border-inset);
    border: var(--deco-border-width) solid var(--card-accent, var(--gold-35));
    border-radius: calc(var(--card-radius) - 6px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* ═══ DECORATIVE FRAME — inner ═══ */
.q-card-inner::after {
    content: '';
    position: absolute;
    inset: calc(var(--deco-border-inset) + 4px);
    border: 1px solid var(--card-accent, var(--gold-12));
    border-radius: calc(var(--card-radius) - 10px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

/* ═══ IMAGE — invisible ═══ */
.q-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
}

/* ═══ CARD NUMBER ═══ */
.q-num {
    position: absolute;
    top: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--card-accent, var(--gold-35));
    font-family: 'Playfair Display', serif;
    opacity: 0.6;
}

/* ═══ STAR DECORATIONS ═══ */
.q-star {
    position: absolute;
    z-index: 2;
    color: var(--card-accent, var(--gold-12));
    font-size: var(--deco-star-sm);
    pointer-events: none;
    opacity: 0.3;
}
.q-star--l { left: 1.5rem; top: 30%; }
.q-star--r { right: 1.5rem; top: 30%; }
.q-star--lt { left: 2rem; top: 45%; font-size: var(--deco-star-sm); opacity: 0.2; }
.q-star--rt { right: 2rem; top: 45%; font-size: var(--deco-star-sm); opacity: 0.2; }

/* ═══ TOP LINE ═══ */
.q-topline {
    position: absolute;
    top: 3rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-accent, var(--gold-12)), transparent);
    z-index: 2;
    opacity: 0.3;
}

/* ═══ BOTTOM LINE ═══ */
.q-botline {
    position: absolute;
    bottom: 4.5rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-accent, var(--gold-12)), transparent);
    z-index: 2;
    opacity: 0.2;
}

/* ═══ CATEGORY TITLE ═══ */
.q-cat {
    color: var(--card-accent, var(--text-accent));
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 3;
    line-height: 1.3;
}

/* ═══ DIVIDER ═══ */
.q-divider {
    width: 60px;
    height: 2px;
    background: var(--card-accent, var(--gold-35));
    position: relative;
    z-index: 3;
    margin: 0 auto var(--space-md);
    opacity: 0.5;
    border-radius: 1px;
}

/* ═══ DESCRIPTION ═══ */
.q-desc {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin: 0 0 var(--space-md);
    position: relative;
    z-index: 3;
    max-width: 280px;
}

/* ═══ SAMPLE QUESTIONS ═══ */
.q-questions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 3;
}
.q-sample {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
    font-style: italic;
}

/* ═══ CTA BUTTON ═══ */
.q-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: 1.5px solid var(--card-accent, var(--gold-35));
    border-radius: 50px;
    color: var(--card-accent, var(--gold-70));
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    margin-bottom: var(--space-sm);
}
.q-cta:hover {
    background: var(--card-accent, var(--gold-35));
    color: var(--card-bg);
}

/* ═══ TAGS ═══ */
.q-tags {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-md);
    right: var(--space-md);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    z-index: 3;
}
.q-tag {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--card-accent, var(--gold-35));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    opacity: 0.5;
}

/* ═══ BOTTOM DIAMOND ═══ */
.q-botdiamond {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 0.35rem;
    color: var(--card-accent, var(--gold-35));
    opacity: 0.4;
}

/* ═══ CORNER ORNAMENTS ═══ */
.q-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 2;
    pointer-events: none;
}
.q-corner::before,
.q-corner::after {
    content: '';
    position: absolute;
    background: var(--card-accent, var(--gold-12));
    opacity: 0.3;
}
.q-corner::before { width: var(--deco-border-width); height: 100%; left: 50%; }
.q-corner::after { width: 100%; height: var(--deco-border-width); top: 50%; }
.q-corner--tl { top: calc(var(--deco-border-inset) + 2px); left: calc(var(--deco-border-inset) + 2px); }
.q-corner--tr { top: calc(var(--deco-border-inset) + 2px); right: calc(var(--deco-border-inset) + 2px); }
.q-corner--bl { bottom: calc(var(--deco-border-inset) + 2px); left: calc(var(--deco-border-inset) + 2px); }
.q-corner--br { bottom: calc(var(--deco-border-inset) + 2px); right: calc(var(--deco-border-inset) + 2px); }

/* ═══ SVG DECORATION CONTAINER ═══ */
.q-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.q-deco svg {
    width: 100%;
    height: 100%;
}

/* Card Stack Positioning (Initially spread out) */
.card-hidden {
    transform: translateY(40px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.card-back {
    transform: translateY(15px) translateX(-10px) rotateZ(-3deg);
    opacity: 1;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-middle {
    transform: translateY(5px) translateX(10px) rotateZ(3deg);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card-front {
    transform: translateY(-5px) rotateZ(0deg);
    z-index: 3;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.08);
}

/* Hover */
.cards-stack:hover .card-front {
    transform: translateY(-20px) rotateZ(-2deg);
    box-shadow:
        0 40px 80px rgba(0,0,0,0.55),
        0 0 40px rgba(232,160,80,0.06);
}
.cards-stack:hover .card-middle {
    transform: translateY(0px) translateX(45px) rotateZ(8deg);
}
.cards-stack:hover .card-back {
    transform: translateY(15px) translateX(-45px) rotateZ(-8deg);
}
.cards-stack:hover .card-hidden {
    transform: translateY(40px);
    opacity: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-questions {
        padding: 6rem 1.5rem;
    }
    .feature-container {
        flex-direction: column;
        gap: 3rem;
    }
    .feature-text {
        text-align: center;
        max-width: 100%;
    }
    .feature-list {
        display: inline-flex;
        align-items: flex-start;
        margin: 0 auto;
    }
    .feature-list li {
        text-align: left;
    }
    .feature-visual {
        height: 450px;
        width: 100%;
    }
    .cards-stack {
        width: 280px;
        height: 420px;
    }
    .q-card-inner {
        padding: 2.5rem 1.5rem;
    }
    .q-text {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .feature-questions {
        padding: 4rem 1.25rem;
    }
    .feature-text h2 {
        font-size: 1.8rem;
    }
    .feature-text p {
        font-size: 1rem;
    }
    .cards-stack {
        width: 250px;
        height: 380px;
    }
    .q-card-inner {
        padding: 2rem 1.5rem;
    }
    .q-text {
        font-size: 1.15rem;
    }
}
