        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        /* Corrected body rule */
body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Use 100vh to cover the viewport */
    z-index: -1; /* Place it behind all other content */
    
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 25%, #FF6B6B 50%, #FFD700 100%);
}
        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .star {
            position: absolute;
            width: 2px;
            height: 2px;
            background: white;
            border-radius: 50%;
            animation: twinkle 3s infinite;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px;
            position: relative;
            z-index: 2;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            color: white;
            padding: 20px 0;
        }

        .header h1 {
            font-family: 'Noto Serif SC', serif;
            font-size: clamp(2rem, 5vw, 3rem);
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: 1.2;
        }

        .header p {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .form-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: clamp(20px, 5vw, 40px);
            margin-bottom: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin-bottom: 30px;
        }

        .person-form {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
            padding: 25px;
            border-radius: 15px;
            border: 2px solid rgba(255, 215, 0, 0.3);
            transition: all 0.3s ease;
        }

        .person-form:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
        }

        .person-form h3 {
            font-family: 'Noto Serif SC', serif;
            color: #8B0000;
            margin-bottom: 20px;
            font-size: clamp(1.2rem, 3vw, 1.4rem);
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .person-icon {
            font-size: 1.5rem;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 16px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.9);
        }

        .form-group input:focus {
            outline: none;
            border-color: #DC143C;
            box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
            transform: translateY(-1px);
        }

        .form-group input::placeholder {
            color: #999;
        }

        .submit-btn {
            background: linear-gradient(135deg, #DC143C, #FF6B6B);
            color: white;
            border: none;
            padding: 18px 40px;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 0 auto;
            min-width: 200px;
            box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .results {
            display: none;
        }

        .result-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: clamp(20px, 5vw, 40px);
            margin-bottom: 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .score-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .score-circle {
            width: clamp(150px, 30vw, 200px);
            height: clamp(150px, 30vw, 200px);
            margin: 0 auto 20px;
            position: relative;
        }

        .score-ring {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: conic-gradient(#DC143C 0deg, #FF6B6B 120deg, #FFD700 240deg, #DC143C 360deg);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            animation: rotate 10s linear infinite;
        }

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

        .score-inner {
            width: 70%;
            height: 70%;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .score-number {
            font-size: clamp(2rem, 6vw, 2.5rem);
            font-weight: 700;
            color: #DC143C;
            margin-bottom: 5px;
        }

        .score-label {
            font-size: clamp(0.8rem, 2vw, 0.9rem);
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .compatibility-level {
            font-size: clamp(1.3rem, 3vw, 1.5rem);
            font-weight: 600;
            color: #8B0000;
            margin-bottom: 10px;
        }

        .relationship-label {
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            color: #666;
            font-style: italic;
        }

        .zodiac-cards {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 40px;
        }

        .zodiac-card {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
            padding: 25px;
            border-radius: 15px;
            border: 2px solid rgba(255, 215, 0, 0.3);
            text-align: center;
            transition: all 0.3s ease;
        }

        .zodiac-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
        }

        .zodiac-animal {
            font-size: clamp(2.5rem, 8vw, 4rem);
            margin-bottom: 15px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .zodiac-name {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            font-weight: 600;
            color: #8B0000;
            margin-bottom: 8px;
        }

        .zodiac-dob {
            color: #666;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }

        .zodiac-animal-name {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            font-weight: 700;
            color: #DC143C;
            margin-bottom: 8px;
        }

        .zodiac-element {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .element-wood { background: #90EE90; color: #006400; }
        .element-fire { background: #FF6B6B; color: #8B0000; }
        .element-earth { background: #DEB887; color: #8B4513; }
        .element-metal { background: #C0C0C0; color: #2F4F4F; }
        .element-water { background: #87CEEB; color: #191970; }

        .zodiac-traits {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.5;
        }

        .analysis-section {
            margin-bottom: 40px;
        }

        .analysis-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            padding: 20px;
            background: rgba(255, 215, 0, 0.05);
            border-radius: 12px;
            border-left: 4px solid #FFD700;
            transition: all 0.3s ease;
        }

        .analysis-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
        }

        .analysis-icon {
            font-size: 1.5rem;
            margin-right: 15px;
            margin-top: 5px;
            min-width: 30px;
        }

        .analysis-content h4 {
            color: #8B0000;
            margin-bottom: 8px;
            font-size: 1.1rem;
        }

        .analysis-content p {
            color: #666;
            line-height: 1.6;
        }

        .wisdom-quote {
            background: linear-gradient(135deg, #8B0000, #DC143C);
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }

        .wisdom-quote::before {
            content: '"';
            font-size: clamp(4rem, 15vw, 8rem);
            position: absolute;
            top: -20px;
            left: 20px;
            opacity: 0.2;
            font-family: 'Noto Serif SC', serif;
        }

        .wisdom-quote p {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            line-height: 1.6;
            font-style: italic;
            position: relative;
            z-index: 1;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 15px 25px;
            border: 2px solid #DC143C;
            border-radius: 50px;
            background: white;
            color: #DC143C;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            min-width: 120px;
            text-align: center;
        }

        .action-btn:hover {
            background: #DC143C;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
        }

        .action-btn.primary {
            background: #DC143C;
            color: white;
        }

        .action-btn.primary:hover {
            background: #B22222;
        }

        .hidden {
            display: none;
        }

        /* Mobile optimizations */
        @media (min-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            
            .zodiac-cards {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 767px) {
            .container {
                padding: 10px;
            }
            
            .header {
                margin-bottom: 25px;
            }
            
            .person-form {
                padding: 20px;
            }
            
            .form-group input {
                padding: 14px;
            }
            
            .submit-btn {
                padding: 16px 35px;
                font-size: 1.1rem;
            }
            
            .analysis-item {
                flex-direction: column;
                text-align: center;
            }
            
            .analysis-icon {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .action-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .action-btn {
                width: 100%;
                max-width: 280px;
            }
        }

        /* Enhanced loading spinner under button */
        .loading-container {
            display: none;
            text-align: center;
            margin-top: 30px;
            padding: 30px;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
            border-radius: 20px;
            border: 2px solid rgba(255, 215, 0, 0.3);
            
            animation: fadeInUp 0.5s ease-out;
        }

        .loading-container.show {
            display: block;
        }

        .cosmic-spinner {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
        }

        .spinner-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px solid transparent;
        }

        .spinner-ring:nth-child(1) {
            border-top: 3px solid #DC143C;
            animation: spin 2s linear infinite;
        }

        .spinner-ring:nth-child(2) {
            border-right: 3px solid #FF6B6B;
            animation: spin 1.5s linear infinite reverse;
            width: 70%;
            height: 70%;
            top: 15%;
            left: 15%;
        }

        .spinner-ring:nth-child(3) {
            border-bottom: 3px solid #FFD700;
            animation: spin 1s linear infinite;
            width: 40%;
            height: 40%;
            top: 30%;
            left: 30%;
        }

        .spinner-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5rem;
            animation: pulse 2s ease-in-out infinite;
        }

        .loading-text {
            font-size: clamp(1.2rem, 3vw, 1.4rem);
            font-weight: 600;
            margin-bottom: 10px;
            font-family: 'Noto Serif SC', serif;
            color: #8B0000;
            animation: textGlow 2s ease-in-out infinite alternate;
        }

        .loading-subtext {
            font-size: clamp(0.9rem, 2vw, 1rem);
            color: #666;
            font-style: italic;
            opacity: 0.8;
        }

        .loading-progress {
            width: 100%;
            height: 4px;
            background: rgba(220, 20, 60, 0.2);
            border-radius: 2px;
            margin-top: 20px;
            overflow: hidden;
        }

        .loading-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #DC143C, #FF6B6B, #FFD700);
            border-radius: 2px;
            animation: progressFlow 3s ease-in-out infinite;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.1); }
        }

        @keyframes textGlow {
            from { text-shadow: 0 0 5px rgba(220, 20, 60, 0.3); }
            to { text-shadow: 0 0 20px rgba(220, 20, 60, 0.6), 0 0 30px rgba(220, 20, 60, 0.4); }
        }

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

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

/* Educational Content Styling */
.educational-content {
    margin-top: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Noto Serif SC', serif;
    color: #8B0000;
    font-size: clamp(1.5rem, 4vw, 2rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FFD700);
    border-radius: 2px;
}

.content-section {
    line-height: 1.7;
    color: #333;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Zodiac Grid for Animal Signs */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.zodiac-trait-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zodiac-trait-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zodiac-trait-card:hover::before {
    opacity: 1;
}

.zodiac-trait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.zodiac-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

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

.zodiac-trait-card h4 {
    color: #8B0000;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Noto Serif SC', serif;
    position: relative;
    z-index: 1;
}

.zodiac-trait-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Compatibility Factors */
.compatibility-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.factor-card {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(220, 20, 60, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.4);
}

.factor-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.factor-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Noto Serif SC', serif;
}

.factor-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Compatibility Insights */
.compatibility-insights {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.insight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC143C, #FF6B6B, #FFD700);
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.insight-emoji {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.insight-header h3 {
    color: #8B0000;
    font-size: 1.4rem;
    font-family: 'Noto Serif SC', serif;
    margin: 0;
}

.insight-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.compatibility-matches {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-type {
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.match-type.best {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1), rgba(144, 238, 144, 0.1));
    border-left: 4px solid #228B22;
    color: #2F4F2F;
}

.match-type.least {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(255, 182, 193, 0.1));
    border-left: 4px solid #DC143C;
    color: #8B0000;
}

/* Year Compatibility Cards */
.year-compatibility {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.year-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.9));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FF6B6B);
    border-radius: 15px 15px 0 0;
}

.year-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.year-card h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Noto Serif SC', serif;
}

.year-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsiveness for New Content */
@media (max-width: 768px) {
    .zodiac-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .compatibility-factors {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .year-compatibility {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .insight-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .insight-header h3 {
        font-size: 1.2rem;
    }
    
    .compatibility-matches {
        gap: 12px;
    }
    
    .match-type {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .educational-content {
        margin-top: 40px;
    }
}

/* Enhanced animations for better user experience */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: slideInUp 0.6s ease-out;
}

.result-card:nth-child(even) {
    animation-delay: 0.1s;
}

.result-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Improved focus states for accessibility */
.zodiac-trait-card:focus,
.factor-card:focus,
.insight-card:focus,
.year-card:focus {
    outline: 3px solid rgba(255, 215, 0, 0.6);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .educational-content {
        page-break-inside: avoid;
    }
    
    .result-card {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .zodiac-trait-card,
    .factor-card,
    .insight-card,
    .year-card {
        page-break-inside: avoid;
    }
}





/* SEO Content Sections */

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
    background: transparent;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3.5rem 0 1rem;
        min-height: 25vh;
    }
    
    .main-tool-container {
        margin: -0.5rem 0.5rem 1rem;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .container {
        padding: 15px;
    }
    
    .mode-selector {
        gap: 6px;
        margin-bottom: 15px;
    }
    
    .mode-btn {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .input-form {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .input-group {
        margin-bottom: 15px;
    }
    
    .input-field {
        padding: 10px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
    
    .profiles-container {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .profile-card {
        padding: 12px;
    }
    
    .profile-name {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .moon-image {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .score-label {
        font-size: 0.50rem;
    }
    
    .compatibility-score {
        margin-bottom: 20px;
    }
    
    .detailed-analysis {
        padding: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .action-buttons {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .action-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .info-cards-grid, .how-it-works-grid, .moon-phases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card, .step-card, .moon-phase-card {
        padding: 1rem;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .benefits-list div {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .compatibility-info-section, .how-it-works-section, .moon-phases-section, .faq-section {
        padding: 1.2rem 0;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        line-height: 35px;
        margin-bottom: 0.8rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
    
    .moon-phase-card .phase-emoji {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }
    
    .moon-phase-card .phase-name {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .moon-phase-card .phase-traits {
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .navbar .container {
        padding: 0.8rem 15px;
    }
    
    .brand-logo {
        height: 45px;
    }
    
    .footer .container {
        padding: 20px 15px 10px;
    }
    
    .footer-links-simple nav ul {
        gap: 8px;
        max-width: 320px;
    }
    
    .footer-links-simple nav ul li a {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .footer p {
        font-size: 11px;
        margin: 8px 0;
    }
    
    .footer .tagline {
        font-size: 9px;
        margin: 12px auto 0;
        padding: 0 5px;
    }
    
    .footer .copyright {
        margin: 12px 0 8px 0;
        padding-top: 12px;
        font-size: 11px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    
    .section-title {
        font-size: 1.4rem;
    }
    
    
    .faq-question {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        padding: 0 0.8rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .brand-logo {
        height: 40px;
    }
    
    .footer-links-simple nav ul {
        max-width: 280px;
    }
}

/* Beautiful mm Buttons with Smooth Hover Effects */
        .mm-buttons-section {
            background: transparent;
            padding: 3rem 0;
            margin: 2rem 0;
        }
        
        .mm-buttons-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
        }
        
        .mm-buttons-title {
            text-align: center;
            color: #FFD700;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .mm-buttons-subtitle {
            text-align: center;
            color: #FFFFFF;
            font-size: 1.2rem;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .mm-buttons-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px 30px;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .mm-button {
            background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
            color: #333;
            padding: 18px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            font-family: Arial, sans-serif;
            box-sizing: border-box;
        }
        
        .mm-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
            transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 0;
            border-radius: 50px;
        }
         .mm-button:hover::before {
            left: 0;
        }
        
        .mm-button:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
        }
        
       .mm-button span {
    color: #000000; /* Black text by default */
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.mm-button:hover span {
    color: #FFFFFF; /* White text on hover */
}

        
        .mm-button .arrow {
            margin-left: 15px;
            font-size: 18px;
            line-height: 1;
            transition: transform 0.3s ease;
        }
        
        .mm-button:hover .arrow {
            transform: translateX(5px);
        }
        
        /* Responsive design for mobile devices */
        @media (max-width: 768px) {
            .mm-buttons-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 10px;
            }
            
            .mm-button {
                padding: 15px 20px;
                font-size: 14px;
            }
            
            .mm-buttons-title {
                font-size: 2rem;
            }
            
            .mm-buttons-subtitle {
                font-size: 1rem;
            }
            
            .mm-buttons-container {
                padding: 0 20px;
            }
        }
        
        @media (max-width: 480px) {
            .mm-button {
                padding: 12px 18px;
                font-size: 13px;
            }
            
            .mm-buttons-container {
                padding: 0 15px;
            }
        }
        
  
