/* Chinese Zodiac Calculator - China Highlights Style */
:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #EF4444;
    --surface: #FFFFFF;
    --surface-2: #F8FAFC;
    --surface-3: #F1F5F9;
    --surface-grey: #E5E7EB;
    --text: #1F2937;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --accent: #DC2626;
    --white: #FFFFFF;
    --radius: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header - Clean Minimal */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Mobile menu toggle - hidden on desktop */
.nav-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.nav-menu-toggle:hover {
    background: var(--surface-2);
    color: var(--primary);
}

.nav-menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-open {
    display: none;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-close {
    display: inline;
}

.nav-menu-icon-close {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 32px;
    width: auto;
    max-width: 260px;
    display: block;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--surface-2);
}

/* Categories Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
    transition: color 0.2s, background 0.2s;
}

.nav-dropdown-trigger:hover {
    color: var(--primary);
    background: var(--surface-2);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.35rem;
    min-width: 240px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 0.35rem;
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
    background: var(--surface-2);
}

.nav-dropdown-menu .cat-icon {
    font-size: 1.1rem;
}

/* Hero Banner - KEEP SAME (purple gradient, original style) */
.hero-banner {
    position: relative;
    min-height: 480px;
    background: linear-gradient(145deg, #4C1D95 0%, #5B21B6 20%, #7C3AED 50%, #8B5CF6 80%, #A78BFA 100%);
    overflow: hidden;
}

.banner-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 28%),
        radial-gradient(circle at 80% 70%, rgba(251,191,36,0.08) 0%, transparent 35%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L30 60 M0 30 L60 30' stroke='rgba(255,255,255,0.06)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    pointer-events: none;
}

.banner-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
}

.banner-glow-1 {
    width: 420px;
    height: 420px;
    background: rgba(251, 191, 36, 0.22);
    top: -120px;
    right: -80px;
}

.banner-glow-2 {
    width: 320px;
    height: 320px;
    background: rgba(196, 181, 253, 0.25);
    bottom: -100px;
    left: -60px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #5B21B6;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

.slider-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 4rem;
    position: relative;
}

.slider-track {
    position: relative;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.slide-figure {
    flex: 0 0 300px;
}

.zodiac-frame {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.main-zodiac-img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25));
}

.slide-text {
    flex: 1;
}

.slide-title {
    background: rgba(30, 41, 59, 0.92);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    border-radius: 8px;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.slide-subtitle {
    color: rgba(254, 252, 251, 0.95);
    font-size: 1.15rem;
    max-width: 480px;
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.slide-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #F59E0B;
    color: #1E293B;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
}

.slide-cta:hover {
    background: #FBBF24;
    transform: translateY(-2px);
}

.slider-previews {
    position: absolute;
    bottom: 1.5rem;
    right: 4rem;
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.preview-item {
    width: 72px;
    height: 95px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid transparent;
}

.preview-item:hover,
.preview-item.active {
    opacity: 1;
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Page Intro */
.page-intro {
    padding: 2.5rem 0 1.5rem;
    background: var(--surface);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-intro-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 800px;
}

/* CTA Banner - Red */
.cta-banner {
    background: var(--primary);
    padding: 1.25rem 0;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-banner-content h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.cta-banner-content p {
    color: rgba(255,255,255,0.9);
    margin: 0.25rem 0 0 0;
}

.cta-banner-btn {
    padding: 0.6rem 1.5rem;
    background: white;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.cta-banner-btn:hover {
    opacity: 0.9;
}

/* Calculator - Advanced Hero Card */
.calculator-section {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}

.calc-hero-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    overflow: hidden;
}

.calc-hero-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.25rem 2rem;
    text-align: center;
}

.calc-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
}

.calc-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.calc-hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5;
}

.calc-form-card {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.calc-form-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.calc-date-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.calc-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-field select {
    padding: 0.75rem 1.1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    min-width: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-field select:hover {
    border-color: var(--primary-light);
}

.calc-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.calc-date-sep {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
}

.calc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.calc-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.calc-cta-icon {
    font-size: 1.2em;
}

/* Expandable Extra Options */
.calc-expand-wrap {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
}

.calc-details-modern {
    border: none;
}

.calc-details-modern summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    list-style: none;
    transition: color 0.2s;
}

.calc-details-modern summary::-webkit-details-marker {
    display: none;
}

.expand-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.25s;
}

.calc-details-modern[open] .expand-icon {
    transform: rotate(180deg);
}

.calc-details-modern summary:hover {
    color: var(--primary-dark);
}

.extra-fields {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 540px) {
    .extra-fields { grid-template-columns: 1fr; }
}

.extra-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.extra-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.extra-field input {
    padding: 0.6rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.extra-field input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 600px) {
    .calc-hero-header { padding: 1.75rem 1.5rem; }
    .calc-hero-title { font-size: 1.4rem; }
    .calc-form-card { padding: 1.5rem; }
    .calc-date-row { gap: 0.35rem; }
    .calc-field select { min-width: 90px; padding: 0.65rem 0.9rem; }
    .calc-date-sep { display: none; }
    .calc-results-wrap { padding: 1.5rem; }
}

/* 12 Zodiac Grid - Red Background */
.zodiac-grid-section {
    background: var(--primary);
    padding: 2.5rem 0;
}

.zodiac-grid-title {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.zodiac-grid-red {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.zodiac-item {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.zi-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.35rem;
}

.zi-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.zi-trait {
    font-size: 0.85rem;
    opacity: 0.95;
    margin: 0.25rem 0;
}

.zi-years {
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.4;
}

.zodiac-grid-cta {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: white;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    max-width: 280px;
    margin: 0 auto;
}

/* Explore Section */
.explore-section {
    padding: 3rem 0;
    background: var(--surface-2);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.explore-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.explore-card:hover {
    border-color: var(--primary);
}

.explore-img {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.explore-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.explore-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Newsletter */
.newsletter-section {
    background: #374151;
    padding: 3.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-inner h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-inner > p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    background: white;
    color: var(--text);
}

.newsletter-form input::placeholder {
    color: #9CA3AF;
}

.newsletter-form button {
    padding: 0.85rem 1.75rem;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.newsletter-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 8px;
    }
}

/* Why Section */
.why-section {
    padding: 3rem 0;
    background: var(--surface-grey);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.why-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.why-card ul {
    list-style: none;
}

.why-card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Section Title - Shared */
.section-title {
    text-align: center;
    color: var(--text);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Features Section - Minimal Cards */
.features-section {
    padding: 4rem 0;
    background: var(--surface);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.bento-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface-2);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.bento-card:hover {
    border-color: var(--primary);
    background: var(--surface);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.bento-large .bento-icon { font-size: 2.5rem; }
.bento-large h3 { color: white; font-size: 1.35rem; }
.bento-large p { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

.bento-large:hover {
    background: var(--primary-dark);
}

.bento-small { grid-column: span 1; }
.bento-wide { grid-column: span 2; }

.bento-accent {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.bento-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.bento-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Stats Section - Minimal */
.stats-section {
    padding: 2rem 0;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-section::before { display: none; }

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Zodiac Showcase - Clean Grid */
.zodiac-showcase {
    padding: 4rem 0;
    background: var(--surface);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.zodiac-sign-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.25rem 0.75rem;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.zodiac-sign-card:hover {
    border-color: var(--primary);
}

.zodiac-emoji {
    font-size: 1.75rem;
}

/* Calculator Results Area */
.calc-results-wrap {
    padding: 2.5rem 2rem;
    min-height: 340px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.results-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: var(--text-muted);
    text-align: center;
    position: relative;
}

.results-placeholder[hidden] {
    display: none !important;
}

.placeholder-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.placeholder-dragon {
    width: 120px;
    height: auto;
    margin-bottom: 1.25rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.placeholder-text {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.placeholder-hint {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.results-content {
    display: flex;
    flex-direction: column;
}

.results-content[hidden] {
    display: none !important;
}

.results-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.result-tab {
    padding: 0.6rem 1.1rem;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.result-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.result-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.result-panel {
    display: none;
}

.result-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.sign-result {
    text-align: center;
    padding: 1rem 0;
}

.sign-emoji-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sign-result h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.sign-personality {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.sign-year {
    color: var(--primary);
    font-weight: 600;
}

.compat-pair {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.compat-score {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.compat-text {
    font-weight: 600;
    color: var(--text);
}

.compat-desc {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.result-compatibility .your-sign,
.result-predictions h4,
.result-lucky .lucky-label {
    font-weight: 600;
    color: var(--text);
}

.hint {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lucky-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.lucky-item {
    padding: 1rem 1.25rem;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.lucky-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.lucky-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.baby-result {
    text-align: center;
    padding: 1rem;
}

.baby-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* CTA Section - removed, replaced by calculator */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #8B5CF6 100%);
    position: relative;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content {
    color: var(--white);
}

.cta-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: #1E293B;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.cta-date-preview {
    width: 100%;
    max-width: 280px;
    padding: 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    border: 2px dashed rgba(255,255,255,0.4);
    text-align: center;
}

.date-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.date-placeholder {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

/* Intro Section */
.intro-section {
    padding: 4rem 0 4.5rem;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.intro-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(220, 38, 38, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.intro-layout {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.intro-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.intro-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.intro-header h2 {
    color: var(--text);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.intro-decoration {
    width: 56px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

.intro-main {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.intro-main p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.75;
}

.intro-main p:last-child {
    margin-bottom: 0;
}

.intro-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.intro-features-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.intro-features-card h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.intro-features-list {
    list-style: none;
}

.intro-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.intro-features-list li:last-child {
    margin-bottom: 0;
}

.feat-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.intro-zodiac-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.intro-zodiac-strip span {
    padding: 0.35rem 0.65rem;
    background: var(--surface);
    border-radius: 6px;
    border: 1px solid var(--border);
}

@media (max-width: 800px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .intro-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .intro-features-card {
        flex: 1;
        min-width: 280px;
    }
    .intro-zodiac-strip {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .intro-header h2 { font-size: 1.5rem; }
    .intro-main { padding: 1.5rem; }
}

/* Home Page Blog Section */
.home-blog-section {
    padding: 4rem 0;
    background: var(--surface-2);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.home-blog-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-view-all:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

@media (max-width: 960px) {
    .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .home-blog-grid { grid-template-columns: 1fr; }
    .home-blog-cta { margin-top: 2rem; }
}

/* Categories Page - Banner */
.categories-banner {
    position: relative;
    padding: 3.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.categories-banner-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.categories-banner-title {
    position: relative;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.categories-banner-subtitle {
    position: relative;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    text-align: center;
}

/* Core Pages (About, Contact, Privacy, Terms) - Banner & Content */
.page-banner {
    position: relative;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.page-banner .container {
    position: relative;
    text-align: center;
}

.page-banner h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.page-content {
    padding: 2.5rem 0 4rem;
    background: var(--surface-2);
}

.content-prose {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.content-prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.content-prose h2:first-child {
    margin-top: 0;
}

.content-prose p {
    margin-bottom: 1rem;
    color: var(--text);
}

.content-prose a {
    color: var(--primary);
    text-decoration: none;
}

.content-prose a:hover {
    text-decoration: underline;
}

.content-prose ul {
    margin: 1rem 0 1rem 1.5rem;
}

.content-prose li {
    margin-bottom: 0.5rem;
}

/* ===== About Page - Enhanced Layout ===== */
.about-page {
    background: var(--surface-2);
}

.about-banner {
    position: relative;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #991B1B 100%);
    overflow: hidden;
}

.about-banner-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.about-banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M20 0v40M0 20h40' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");
}

.about-banner-content {
    position: relative;
    text-align: center;
}

.about-banner-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.about-banner h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.about-banner-lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.about-intro {
    padding: 3rem 0 2rem;
}

.about-intro-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.about-intro-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.about-intro-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text);
}

.about-values {
    padding: 2rem 0 3rem;
}

.about-section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-value-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220,38,38,0.12);
    border-color: var(--primary-light);
}

.about-value-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.about-value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.about-value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.about-value-card a {
    color: var(--primary);
    text-decoration: none;
}

.about-value-card a:hover {
    text-decoration: underline;
}

.about-offerings {
    padding: 2rem 0 3rem;
    background: var(--surface);
}

.about-offerings .container {
    max-width: 720px;
}

.about-offerings-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text);
}

.about-offerings-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.about-offerings-content a:hover {
    text-decoration: underline;
}

.about-heritage {
    padding: 3rem 0;
}

.about-heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: center;
}

.about-heritage-visual {
    display: flex;
    justify-content: center;
}

.about-heritage-frame {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface-3) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.about-heritage-img {
    width: 120px;
    height: auto;
}

.about-heritage-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.about-heritage-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.about-cta {
    padding: 2rem 0 3rem;
}

.about-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.about-cta-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-cta-card > p {
    opacity: 0.95;
    margin-bottom: 1.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.about-cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.about-cta-primary {
    background: white;
    color: var(--primary);
}

.about-cta-primary:hover {
    background: var(--surface-2);
    transform: translateY(-2px);
}

.about-cta-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.about-cta-secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: white;
}

.about-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
}

.about-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.about-closing {
    padding: 2rem 0 4rem;
}

.about-closing-prose {
    padding: 2rem 2.5rem;
}

@media (max-width: 900px) {
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-heritage-grid {
        grid-template-columns: 1fr;
    }
    .about-heritage-visual {
        order: -1;
    }
}

@media (max-width: 640px) {
    .about-banner h1 {
        font-size: 1.9rem;
    }
    .about-banner-lead {
        font-size: 1rem;
    }
    .about-intro-card,
    .about-value-card {
        padding: 1.5rem;
    }
    .about-cta-card {
        padding: 2rem 1.5rem;
    }
    .about-cta-buttons {
        flex-direction: column;
    }
    .about-cta-btn {
        width: 100%;
    }
}

/* ===== Contact Page - Form & Info Cards ===== */
.contact-page {
    background: var(--surface-2);
}

.contact-banner {
    position: relative;
    padding: 3.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.contact-banner-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.contact-banner .container {
    position: relative;
    text-align: center;
}

.contact-banner h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.contact-banner-lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Info Cards - Clean professional style */
.contact-info-cards {
    padding: 2.5rem 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(220,38,38,0.2);
}

.contact-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.contact-card-icon-1 {
    background: #F1F5F9;
    color: #64748B;
}

.contact-card-icon-2 {
    background: #ECFDF5;
    color: #059669;
}

.contact-card-icon-3 {
    background: #FEF2F2;
    color: #DC2626;
}

.contact-info-card:hover .contact-card-icon-wrap {
    transform: scale(1.05);
}

.contact-card-1:hover .contact-card-icon-1 {
    background: #EFF6FF;
    color: #2563EB;
}

.contact-card-2:hover .contact-card-icon-2 {
    background: #D1FAE5;
    color: #047857;
}

.contact-card-3:hover .contact-card-icon-3 {
    background: #FEE2E2;
    color: #B91C1C;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.contact-info-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Contact Form Section */
.contact-form-section {
    padding: 2rem 0 3rem;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.contact-form-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.contact-field .required {
    color: var(--primary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9CA3AF;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: #CBD5E1;
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    padding: 0.95rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-sidebar-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.contact-sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.contact-sidebar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-sidebar-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-sidebar-card a:hover {
    text-decoration: underline;
}

.contact-sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-sidebar-card li {
    margin-bottom: 0.5rem;
}

.contact-closing {
    padding: 2rem 0 4rem;
}

.contact-closing .content-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Categories Page - Tabs */
.categories-content {
    padding: 2.5rem 0 4rem;
    background: var(--surface-2);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 0.7rem 1.25rem;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Categories Page - Blog Cards */
.category-panel {
    display: none;
}

.category-panel.active {
    display: block;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    display: block;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-img {
    aspect-ratio: 16/10;
    background: var(--surface-2);
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 1.35rem;
}

.blog-card-date {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-card-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-readmore {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card:hover .blog-card-readmore {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .blog-cards-grid { grid-template-columns: 1fr; }
    .categories-banner-title { font-size: 1.5rem; }
}

/* Footer - Clean */
.footer {
    position: relative;
    background: var(--text);
    color: var(--surface);
    padding-top: 3rem;
}

.footer::before { display: none; }

.footer-wave {
    display: none;
}

.footer-content {
    padding: 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-logo-svg {
    height: 32px;
    width: auto;
    max-width: 260px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4,
.footer-categories h4,
.footer-legal h4 {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links ul,
.footer-categories ul,
.footer-legal ul {
    list-style: none;
}

.footer-links a,
.footer-categories a,
.footer-legal a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-categories a:hover,
.footer-legal a:hover {
    color: var(--surface);
}

.footer-links li,
.footer-categories li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .zodiac-grid-red {
        grid-template-columns: repeat(3, 1fr);
    }
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-visual {
        order: -1;
    }

    .categories-grid-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .slide-content {
        flex-direction: column;
    }

    .slide-figure {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 0;
    }

    .nav-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .logo-svg {
        height: 28px;
        max-width: 200px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        padding: 1rem 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 99;
    }

    .header.nav-open .main-nav {
        display: flex;
    }

    .main-nav a,
    .nav-dropdown-menu a {
        display: flex;
        align-items: center;
        padding: 0.85rem 1.5rem;
        color: var(--text);
        font-size: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--surface-3);
    }

    .main-nav a:last-child,
    .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }

    .main-nav a:hover,
    .nav-dropdown-menu a:hover {
        background: var(--surface-2);
    }

    /* Categories: no dropdown on mobile - show as flat items */
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown-trigger {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        min-width: auto;
        display: flex;
        flex-direction: column;
    }

    .nav-dropdown-menu a {
        padding-left: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-small,
    .bento-wide {
        grid-column: span 1;
    }

    .results-tabs {
        flex-direction: column;
    }

    .result-tab {
        text-align: center;
    }

    .zodiac-grid-red {
        grid-template-columns: repeat(2, 1fr);
    }
    .explore-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .slider-container {
        padding: 2rem 3rem;
    }

    .slide-title {
        font-size: 1.2rem;
    }

    .slider-previews {
        right: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* ===== Blog Detail Page ===== */
.blog-detail-page {
    background: var(--surface-2);
}

.blog-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.blog-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.blog-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-banner-category {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.blog-banner h1 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.blog-banner-meta {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

.blog-main-wrap {
    padding: 2.5rem 0 4rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

.blog-article {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-featured-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.blog-article-body {
    padding: 2rem 2.5rem;
}

.blog-article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-article-body p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: var(--text);
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 1rem 0 1.25rem 1.5rem;
}

.blog-article-body li {
    margin-bottom: 0.5rem;
}

.blog-article-body a {
    color: var(--primary);
    text-decoration: none;
}

.blog-article-body a:hover {
    text-decoration: underline;
}

.blog-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.blog-article-body th,
.blog-article-body td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.blog-article-body th {
    background: var(--surface-3);
    font-weight: 600;
}

.blog-meta-desc {
    background: var(--surface-3);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.blog-sidebar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.blog-newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.blog-newsletter-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.blog-newsletter-form button:hover {
    background: var(--primary-dark);
}

.blog-recent-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-recent-item:last-child {
    margin-bottom: 0;
}

.blog-recent-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.blog-recent-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.blog-recent-item a:hover {
    color: var(--primary);
}

.blog-recent-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.blog-sidebar-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.blog-sidebar-card a {
    color: var(--primary);
    text-decoration: none;
}

.blog-sidebar-card a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-banner {
        min-height: 220px;
        padding: 2rem 1rem;
    }
    .blog-banner h1 {
        font-size: 1.5rem;
        line-height: 1.35;
    }
    .blog-banner-meta {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    .blog-banner-category {
        font-size: 0.8rem;
        padding: 0.3rem 0.75rem;
    }
    .blog-main-wrap {
        padding: 1.5rem 0 3rem;
    }
    .blog-article-body {
        padding: 1.5rem 1.25rem;
    }
    .blog-article-body h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    .blog-article-body h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }
    .blog-article-body p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    .blog-meta-desc {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .blog-sidebar-card {
        padding: 1.25rem;
    }
    .blog-recent-item {
        gap: 0.75rem;
        margin-bottom: 0.875rem;
    }
    .blog-recent-thumb {
        width: 60px;
        height: 60px;
    }
    .blog-recent-item a {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .blog-banner {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }
    .blog-banner h1 {
        font-size: 1.35rem;
    }
    .blog-main-wrap .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .blog-article-body {
        padding: 1.25rem 1rem;
    }
    .blog-article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.25rem 0;
    }
    .blog-article-body table th,
    .blog-article-body table td {
        padding: 0.6rem 0.75rem;
        font-size: 0.875rem;
        min-width: 80px;
    }
    .blog-article-body ul,
    .blog-article-body ol {
        margin-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .blog-banner h1 {
        font-size: 1.2rem;
    }
    .blog-banner-category {
        font-size: 0.75rem;
    }
    .blog-article-body {
        padding: 1rem 0.875rem;
    }
    .blog-article-body h2 {
        font-size: 1.15rem;
    }
    .blog-article-body h3 {
        font-size: 1rem;
    }
}
