/* ===================================
   NumoStars — Main Stylesheet
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #6C3CE1;
    --primary-dark: #5228B5;
    --primary-light: #8B5CF6;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --bg: #FAFAFE;
    --bg-alt: #F3F0FF;
    --bg-card: #FFFFFF;
    --text: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Container */
.container {
    max-width: var(--container); 
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Nav ===== */
.header {
    background: #0b1829;
    border-bottom: 1px solid #15263d;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-image {
    width: auto;
    height: 70px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav-links a {
    color: #E5E7EB;
    font-weight: 500;
    font-size: 0.95em;
    transition: color var(--transition);
}
.nav-links a:hover { color: #C4B5FD; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: #E5E7EB;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Main ===== */
.main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}
.section-alt {
    background: var(--bg-alt);
}
.section-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 8px;
    color: var(--text);
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #EDE9FE 50%, #FEF3C7 100%);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 2.8em;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-sm { padding: 8px 16px; font-size: 0.85em; }
.btn-lg { padding: 14px 32px; font-size: 1.05em; }

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== Zodiac Grid ===== */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px;
}
.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.zodiac-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color, var(--primary));
    transition: height var(--transition);
}
.zodiac-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color, var(--primary));
    color: var(--text);
}
.zodiac-card:hover::before { height: 6px; }

.zodiac-symbol {
    font-size: 2.8em;
    margin-bottom: 12px;
    display: block;
}
.zodiac-symbol img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.zodiac-name {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 4px;
}
.zodiac-dates {
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-bottom: 8px;
}
.zodiac-element {
    display: inline-block;
    background: var(--bg-alt);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--text-secondary);
}
.element-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}
.zodiac-element .element-icon {
    width: 14px;
    height: 14px;
}
.zodiac-hero-meta .element-icon,
.fact-value .element-icon {
    width: 15px;
    height: 15px;
}
.zodiac-traits {
    color: var(--text-secondary);
    font-size: 0.82em;
    margin-top: 10px;
    line-height: 1.4;
}

/* ===== Zodiac Detail Page ===== */
.zodiac-detail { padding: 0; }

.zodiac-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #EDE9FE 100%);
    border-bottom: 4px solid var(--accent-color, var(--primary));
    border-radius: 0 0 var(--radius) var(--radius);
}
.zodiac-hero-symbol { font-size: 4em; margin-bottom: 12px; }
.zodiac-hero-symbol img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.zodiac-hero h1 { font-size: 2.4em; margin-bottom: 8px; }
.zodiac-hero-dates { font-size: 1.1em; color: var(--text-secondary); margin-bottom: 16px; }
.zodiac-hero-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 1em;
    color: var(--text-secondary);
}

.zodiac-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.zodiac-section h2 {
    font-size: 1.5em;
    margin-bottom: 16px;
    color: var(--text);
}
.zodiac-description {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-secondary);
}

.traits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.trait-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.trait-card h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
}
.trait-strength h3 { color: var(--success); }
.trait-weakness h3 { color: var(--error); }
.trait-card p { color: var(--text-secondary); font-size: 0.95em; }

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.fact-item {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.fact-label {
    display: block;
    font-size: 0.8em;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.fact-value {
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text);
}

.compatibility-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.zodiac-card-sm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
}
.zodiac-card-sm:hover {
    border-color: var(--accent-color, var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text);
}
.zodiac-card-sm .zodiac-symbol { font-size: 1.5em; margin: 0; }
.zodiac-card-sm .zodiac-symbol img {
    width: 28px;
    height: 28px;
    margin: 0;
}
.zodiac-card-sm .zodiac-name { font-weight: 600; }

.zodiac-nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.zodiac-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.88em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
}
.zodiac-nav-item:hover, .zodiac-nav-item.active {
    background: var(--primary);
    color: #fff;
}
.zodiac-nav-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.zodiac-nav-symbol img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* ===== Element Grid ===== */
.element-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}
.element-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.element-group h3 { margin-bottom: 6px; }
.element-group > p { color: var(--text-secondary); font-size: 0.9em; margin-bottom: 16px; }
.element-signs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.element-signs a {
    padding: 8px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}
.element-signs a:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== CTA Block ===== */
.cta-block {
    text-align: center;
    padding: 50px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.cta-block h2 {
    font-size: 1.6em;
    margin-bottom: 12px;
}
.cta-block p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05em;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.92em;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1em;
    font-family: var(--font);
    background: var(--bg-card);
    color: var(--text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.1);
}
.form-hint {
    margin-top: 6px;
    font-size: 0.82em;
    color: var(--text-light);
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95em;
}
.form-feedback.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.form-feedback.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ===== Subscribe ===== */
.subscribe-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.subscribe-block h2 { margin-bottom: 8px; }
.subscribe-block > p { color: var(--text-secondary); margin-bottom: 24px; }

.subscribe-form .subscribe-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1em;
    background: var(--bg-card);
    color: var(--text);
}
.subscribe-form select {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95em;
    background: var(--bg-card);
    color: var(--text);
}
.subscribe-form input:focus,
.subscribe-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.subscribe-form-inline {
    display: flex;
    gap: 8px;
}
.subscribe-form-inline input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    background: transparent;
    color: var(--text-light);
}

/* ===== Numerology ===== */
.numerology-calculator {
    max-width: 600px;
    margin: 0 auto 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.numerology-form { text-align: center; }
.numerology-form .form-group { text-align: left; max-width: 350px; margin: 0 auto 20px; }
.numerology-form .dob-group { max-width: 100%; }
.dob-selects {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 10px;
}

.loading-spinner {
    text-align: center;
    padding: 40px 0;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.numerology-result {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.result-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}
.life-path-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.life-path-number {
    font-size: 2em;
    font-weight: 800;
    color: #fff;
}
.result-meta h2 {
    font-size: 1.3em;
    margin-bottom: 6px;
}
.result-brief {
    color: var(--text-secondary);
    font-size: 0.95em;
}
.result-zodiac {
    margin-top: 8px;
    font-size: 0.9em;
    color: var(--text-secondary);
}
.result-reading {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 24px;
    line-height: 1.8;
    white-space: pre-wrap;
    font-size: 0.95em;
}
.result-reading strong { color: var(--text); }

.info-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.info-section h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.info-card {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.info-icon { font-size: 2em; margin-bottom: 12px; }
.info-card h3 { margin-bottom: 8px; font-size: 1.1em; }
.info-card p { color: var(--text-secondary); font-size: 0.9em; }

.life-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}
.life-path-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.life-path-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.lp-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1em;
    flex-shrink: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
}
.life-path-card h3 {
    grid-column: 2;
    margin: 2px 0 0;
    font-size: 1em;
    line-height: 1.35;
}
.life-path-card p {
    grid-column: 2;
    color: var(--text-secondary);
    font-size: 0.86em;
    line-height: 1.55;
}

/* ===== Order Page ===== */
.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.order-info { padding: 20px 0; }
.order-features { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.order-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.order-feature i {
    font-size: 1.5em;
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}
.order-feature h3 { margin-bottom: 4px; font-size: 1.05em; }
.order-feature p { color: var(--text-secondary); font-size: 0.9em; }

.order-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.order-form-section h2 { margin-bottom: 24px; }

/* ===== Contact Page ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.contact-form-section h2 { margin-bottom: 24px; }

.contact-info { padding: 20px 0; }
.contact-info h2 { margin-bottom: 24px; }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-item i {
    font-size: 1.3em;
    color: var(--primary);
    margin-top: 4px;
}
.contact-info-item h4 { margin-bottom: 2px; }
.contact-info-item p { color: var(--text-secondary); font-size: 0.9em; }

.faq-section { margin-top: 20px; }
.faq-section h3 { margin-bottom: 16px; }
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { margin-bottom: 6px; font-size: 0.95em; }
.faq-item p { color: var(--text-secondary); font-size: 0.9em; }

/* ===== Legal Pages ===== */
.legal-page { max-width: 800px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 8px; }
.last-updated { color: var(--text-secondary); font-size: 0.9em; margin-bottom: 36px; }
.legal-content h2 { margin: 30px 0 12px; font-size: 1.2em; }
.legal-content p { margin-bottom: 12px; color: var(--text-secondary); line-height: 1.7; }
.legal-content ul {
    margin: 8px 0 16px 24px;
    color: var(--text-secondary);
}
.legal-content li { margin-bottom: 6px; line-height: 1.6; }
.legal-content a { color: var(--primary); }

/* ===== Unsubscribe ===== */
.unsubscribe-page { text-align: center; padding: 80px 20px; }
.unsubscribe-message i { font-size: 3em; margin-bottom: 16px; }
.unsubscribe-message.success i { color: var(--success); }
.unsubscribe-message.error i { color: var(--error); }
.unsubscribe-message h1 { margin-bottom: 12px; }
.unsubscribe-message p { color: var(--text-secondary); margin-bottom: 8px; }

/* ===== 404 Error Page ===== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 40px 20px;
    background: var(--bg);
}
.error-content { max-width: 500px; }
.error-symbol { font-size: 4em; margin-bottom: 10px; }
.error-page h1 { font-size: 5em; color: var(--primary); margin-bottom: 8px; }
.error-page h2 { font-size: 1.4em; color: var(--text); margin-bottom: 16px; }
.error-page p { color: var(--text-secondary); margin-bottom: 30px; }
.error-links { display: flex; gap: 12px; justify-content: center; }

/* ===== Footer ===== */
.footer {
    background: #0b1829;
    color: #C4B5FD;
    padding: 50px 0 20px;
    margin-top: 40px;
}
.footer a { color: #C4B5FD; }
.footer a:hover { color: #fff; }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-brand p { font-size: 0.9em; margin-top: 8px; opacity: 0.8; }
.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo-image {
    width: auto;
    height: 70px;
    display: block;
}
.footer-links h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1em;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.9em; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85em;
    opacity: 0.6;
}

/* ===== Dark Mode ===== */
body.dark-mode {
    --bg: #0F0D1A;
    --bg-alt: #1A1730;
    --bg-card: #1E1B2E;
    --text: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-light: #6B7280;
    --border: #2D2A3E;
}
body.dark-mode .header {
    background: #0b1829;
    border-color: #15263d;
}
body.dark-mode .hero {
    background: linear-gradient(135deg, #1A1730 0%, #2D1B69 50%, #3D2200 100%);
}
body.dark-mode .zodiac-hero {
    background: linear-gradient(135deg, #1A1730 0%, #2D1B69 100%);
}
body.dark-mode .hamburger span { background: #E5E7EB; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b1829;
        border-top: 1px solid #15263d;
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .nav { position: relative; }
    
    .hero h1 { font-size: 2em; }
    .hero { padding: 50px 20px 40px; }
    
    .zodiac-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .zodiac-card { padding: 20px 14px; }
    .zodiac-symbol { font-size: 2.2em; }
    .zodiac-symbol img { width: 44px; height: 44px; }
    .zodiac-hero-symbol img { width: 72px; height: 72px; }
    
    .order-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .traits-grid { grid-template-columns: 1fr; }
    .result-header { flex-direction: column; text-align: center; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .numerology-calculator { padding: 24px; }
    .order-form-section, .contact-form-section { padding: 24px; }
    
    .subscribe-form .subscribe-row { flex-direction: column; }
    .subscribe-form input[type="email"] { min-width: auto; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6em; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .zodiac-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .element-grid, .info-grid, .life-path-grid { grid-template-columns: 1fr; }
    .error-links { flex-direction: column; }
}
