/* Core Variables & Reset */
:root {
    --bg-color: #050a06;
    --bg-gradient: linear-gradient(135deg, #050a06, #091f10, #050a06);
    --text-color: #e5f5e5;
    --text-muted: #9ab99a;
    --primary-color: #1ed760;
    --primary-gradient: linear-gradient(135deg, #10943c, #1ed760);
    --accent-color: #0f3f1e;
    --glass-bg: rgba(15, 63, 30, 0.3);
    --glass-border: rgba(30, 215, 96, 0.2);
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s ease;
}

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.hide {
    display: none;
}

/* Starfield Container */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: transparent;
    overflow: hidden;
}

@keyframes animStar {
    from {
        transform: translateY(0px)
    }

    to {
        transform: translateY(-2000px)
    }
}

/* Smooth Fade/Slide Animations on Scroll */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(30, 215, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 215, 96, 0.5);
    color: #fff;
    text-shadow: none;
}

/* Topbar Ticker */
.topbar-ticker {
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    position: relative;
    z-index: 101;
}

.ticker-label {
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 15px;
    white-space: nowrap;
    z-index: 2;
}

.ticker-wrap {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    box-sizing: border-box;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker linear 30s infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content span {
    display: flex;
    align-items: center;
}

.ticker-content a {
    color: #fff;
    font-weight: 500;
}

.ticker-content a:hover {
    color: var(--bg-color);
    text-shadow: none;
}

.ticker-separator {
    margin: 0 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Translating -50% because we duplicated the items for seamless loop */
}

/* Header */
.site-header {
    background: rgba(5, 10, 6, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-title a {
    color: var(--primary-color);
}

.site-description {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation li {
    position: relative;
}

.main-navigation li a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 20px 0;
    display: block;
    position: relative;
}

.main-navigation li>a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-navigation li>a:hover::after,
.main-navigation li.current-menu-item>a::after {
    width: 100%;
}

/* Desktop Sub-menu */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(5, 10, 6, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 150;
    padding: 10px 0;
}

.main-navigation ul li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li {
    width: 100%;
    display: block;
}

.main-navigation ul ul li a {
    padding: 12px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul ul li>a::after {
    display: none;
}

.main-navigation ul ul li a:hover {
    background: rgba(30, 215, 96, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

.main-navigation .menu-item-has-children>a {
    padding-right: 15px;
}

.main-navigation .menu-item-has-children>a::before {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: var(--text-muted);
}

.main-navigation ul ul .menu-item-has-children>a::before {
    content: '▶';
    right: 15px;
}

.main-navigation ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/* Header Search */
.header-search {
    margin-left: 10px;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(30, 215, 96, 0.3);
}

.search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 15px;
    width: 150px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-field:focus {
    outline: none;
    width: 220px;
}

.search-submit {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.search-submit:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 215, 96, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(30, 215, 96, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Category Layouts */
.category-block {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.category-title span {
    background: var(--bg-color);
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    z-index: 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

/* Post Card */
.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.post-thumbnail {
    height: 180px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.placeholder-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #081a0c;
}

.mystic-icon {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.post-info {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.4;
}

.post-title a {
    color: #fff;
}

.post-title a:hover {
    color: var(--primary-color);
    text-shadow: none;
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Dynamic Layout Variants */
/* Layout 2: Featured left, smaller right */
.layout-2 .post-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.layout-2 .post-card:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.layout-2 .post-card:first-child .post-thumbnail {
    flex: 1 1 auto;
    height: auto;
    min-height: 200px;
}

.layout-2 .post-card:first-child .post-info {
    flex: 0 0 auto;
}

/* Layout 3: Horizontal list */
.layout-3 .post-grid {
    grid-template-columns: 1fr 1fr;
}

.layout-3 .post-card {
    display: flex;
    align-items: stretch;
}

.layout-3 .post-thumbnail {
    width: 160px;
    height: 100%;
    flex-shrink: 0;
    min-height: 120px;
    border-right: 1px solid var(--glass-border);
}

@media (max-width: 900px) {

    .layout-2 .post-grid,
    .layout-3 .post-grid {
        grid-template-columns: 1fr;
    }

    .layout-2 .post-card:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .layout-2 .post-card:first-child .post-thumbnail {
        height: 220px;
    }

    .layout-3 .post-card {
        flex-direction: column;
    }

    .layout-3 .post-thumbnail {
        width: 100%;
        height: 220px;
    }
}

/* Page & Article layouts */
.main-content-layout {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .main-content-layout {
        flex-direction: column;
    }
}

.single-view,
.page-view,
.archive-view {
    flex: 1;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .sidebar {
        width: 100%;
    }
}

.widget {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

.widget-title {
    margin-top: 0;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(30, 215, 96, 0.1);
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-color);
    font-size: 1rem;
}

.widget ul li a:hover {
    color: var(--primary-color);
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.entry-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.entry-thumbnail-main {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.entry-thumbnail-main img {
    width: 100%;
    height: auto;
    display: block;
}

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

.entry-content h2,
.entry-content h3 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content p {
    margin-bottom: 25px;
}

.tags-links {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.archive-header {
    text-align: center;
    margin: 40px 0 60px;
}

.archive-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Pagination */
.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-wrapper .page-numbers {
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 6px;
    transition: var(--transition);
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Numerology Template */
.mystic-title {
    font-size: 3.5rem;
    text-shadow: 0 0 25px rgba(30, 215, 96, 0.5);
    margin-bottom: 50px;
}

.calc-form-glass,
.numerology-result-glass {
    position: relative;
    background: rgba(10, 25, 15, 0.4);
    border: 1px solid rgba(30, 215, 96, 0.3);
    backdrop-filter: blur(25px);
    padding: 60px;
    border-radius: 25px;
    max-width: 700px;
    margin: 0 auto 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.calc-form-glass::before {
    content: '';
    position: absolute;
    top: -1px; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
}

.form-header { margin-bottom: 40px; }
.form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #e5f5e5;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.form-group label .required { color: var(--primary-color); }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.form-group input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(5, 15, 10, 0.6);
    box-shadow: 0 0 20px rgba(30, 215, 96, 0.15), inset 0 0 10px rgba(30, 215, 96, 0.05);
}

.btn-glow {
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(30, 215, 96, 0.3);
}
.btn-glow:hover {
    box-shadow: 0 10px 40px rgba(30, 215, 96, 0.6);
}

.result-title {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.result-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    text-align: center;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.result-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(30, 215, 96, 0.5);
    font-weight: 700;
    line-height: 1;
}

.result-desc {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(to bottom, #030604 0%, #0a1c10 100%);
    border-top: 1px solid rgba(30, 215, 96, 0.1);
    padding: 80px 0 20px;
    margin-top: 80px;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px rgba(30,215,96,0.6);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    font-size: 1.6rem;
    display: inline-block;
}

.footer-widget p {
    color: var(--text-muted);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 15px;
}

.footer-widget ul li a {
    color: var(--text-muted);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.site-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    font-size: 0.9rem;
}

/* Back to Top CSS (Custom Design) */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(30, 215, 96, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseBorder 2s infinite;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 0 35px rgba(30, 215, 96, 0.8);
    transform: translateY(-5px);
    border-color: transparent;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(30, 215, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 215, 96, 0);
    }
}

@media (max-width: 1024px) {
    .site-title {
        font-size: 1.4rem;
        z-index: 200;
        position: relative;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .mystic-title {
        font-size: 2.5rem;
    }

    .header-container {
        position: relative;
    }

    .main-navigation {
        flex-direction: row-reverse;
        gap: 15px;
    }

    /* Off-canvas menu styles */
    .main-navigation>ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(5, 10, 6, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 0 30px;
        border-left: 1px solid var(--glass-border);
        gap: 0;
        text-align: left;
        overflow-y: auto;
        align-items: stretch;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 99;
        display: flex;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-navigation>ul.toggled {
        right: 0;
    }

    .menu-toggle {
        z-index: 200;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .menu-toggle .toggle-icon {
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: var(--transition);
    }

    .menu-toggle.open .toggle-icon:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.open .toggle-icon:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .toggle-icon:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-navigation li a {
        padding: 18px 30px;
        display: block;
        font-size: 1rem;
    }

    .main-navigation li>a::after {
        display: none;
    }

    /* Mobile Submenu */
    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(30, 215, 96, 0.05);
        display: none;
        /* JS handle */
        padding: 0;
        min-width: auto;
    }

    .main-navigation ul ul li a {
        padding-left: 45px;
        font-size: 0.9rem;
        color: #ccc;
    }

    .main-navigation ul ul ul li a {
        padding-left: 60px;
    }

    .main-navigation .menu-item-has-children>a::before {
        top: 28px;
        right: 30px;
        font-size: 0.8rem;
    }

    .main-navigation li.active-submenu>a::before {
        transform: translateY(-50%) rotate(180deg);
        transition: var(--transition);
    }

    .header-search {
        margin-right: auto;
    }

    .search-field {
        width: 120px;
    }

    .search-field:focus {
        width: 160px;
    }

    .calc-form-glass,
    .numerology-result-glass {
        padding: 30px 20px;
    }
}

body.menu-open {
    overflow: hidden;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Styling Post Content Elements (Raw CSS) --- */
.entry-content {
    line-height: 1.8;
    font-size: 1.15rem;
    color: var(--text-color);
}

.entry-content p {
    margin-bottom: 30px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(30, 215, 96, 0.3);
}

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

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(30, 215, 96, 0.15);
    margin: 40px auto;
    display: block;
    border: 1px solid rgba(30, 215, 96, 0.2);
    transition: transform 0.4s ease;
}

.entry-content img:hover {
    transform: scale(1.02);
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 215, 96, 0.4);
    transition: var(--transition);
}

.entry-content a:hover {
    color: #fff;
    border-bottom-color: #fff;
    text-shadow: 0 0 10px rgba(30, 215, 96, 0.8);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 30px;
    padding-left: 30px;
}

.entry-content ul li {
    list-style: none;
    position: relative;
    margin-bottom: 12px;
}

.entry-content ul li::before {
    content: '✧';
    color: var(--primary-color);
    position: absolute;
    left: -25px;
    font-size: 1.2rem;
    line-height: 1.5;
}