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

        body {
            font-family: 'Open Sans', sans-serif;
            background: linear-gradient(135deg, #0e0e1a 0%, #1a1a2e 50%, #16213e 100%);
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

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

        .header {
            text-align: center;
            margin-bottom: 50px;
            animation: fadeInDown 1s ease-out;
        }

        .header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #ff4c9e, #f6c744);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            text-shadow: 0 0 30px rgba(255, 76, 158, 0.5);
        }

        .header p {
            font-size: 1.2rem;
            color: #b8b8d1;
            margin-bottom: 20px;
        }

        .input-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 0px;
            margin-bottom: 40px;
            animation: fadeInUp 1s ease-out;
        }

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

        .person-input {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(255, 76, 158, 0.2);
        }

        .person-input h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #ff4c9e;
            margin-bottom: 20px;
            text-align: center;
        }

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

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #f6c744;
            font-weight: 600;
        }

        .input-group input {
            width: 100%;
            padding: 12px 16px;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .input-group input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 20px rgba(255, 76, 158, 0.3);
        }

        .calculate-btn {
            width: 100%;
            padding: 18px 40px;
            background: linear-gradient(135deg, #ff4c9e, #f6c744);
            border: none;
            border-radius: 50px;
            color: #fff;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(255, 76, 158, 0.4);
        }

        .calculate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(255, 76, 158, 0.6);
        }

        .result-section {
            display: none;
            animation: fadeInUp 1s ease-out;
        }

        .twin-flame-status {
            text-align: center;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 1px solid rgba(255, 76, 158, 0.3);
        }

        .flame-meter {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin: 0 auto 30px;
            background: conic-gradient(from 0deg, #ff4c9e 0%, #f6c744 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            animation: pulse 2s infinite;
        }

        .flame-meter::before {
            content: '';
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: #0e0e1a;
        }

        .flame-percentage {
            font-size: 3rem;
            font-weight: 700;
            color: #ff4c9e;
            z-index: 1;
        }

        .flame-status {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: #f6c744;
            margin-bottom: 20px;
        }

        .flame-stage {
            font-size: 1.4rem;
            color: #b8b8d1;
            margin-bottom: 10px;
        }

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

        .person-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .person-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #ff4c9e;
            margin-bottom: 15px;
        }

        .moon-phase {
            font-size: 3rem;
            margin: 20px 0;
        }

        .zodiac-sign {
            font-size: 1.2rem;
            color: #f6c744;
            margin-bottom: 10px;
        }

        .energy-phrase {
            font-style: italic;
            color: #b8b8d1;
            font-size: 1rem;
        }

        .insight-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 1px solid rgba(246, 199, 68, 0.3);
        }

        .insight-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            color: #f6c744;
            margin-bottom: 20px;
            text-align: center;
        }

        .twin-flame-insight {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #e8e8f0;
            margin-bottom: 20px;
            text-align: center;
        }

        .stage-description {
            background: rgba(255, 76, 158, 0.1);
            border-radius: 15px;
            padding: 30px;
            border-left: 4px solid #ff4c9e;
        }

        .stage-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #ff4c9e;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .stage-summary {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #e8e8f0;
            margin-bottom: 15px;
        }

        .love-lesson {
            background: rgba(246, 199, 68, 0.1);
            border-radius: 10px;
            padding: 15px;
            border-left: 3px solid #f6c744;
        }

        .love-lesson strong {
            color: #f6c744;
        }

        .compatibility-breakdown {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 1px solid rgba(255, 76, 158, 0.3);
        }

        .compatibility-breakdown h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            color: #ff4c9e;
            margin-bottom: 30px;
            text-align: center;
        }

        .breakdown-grid {
            display: grid;
            gap: 20px;
            margin-bottom: 30px;
        }

        .breakdown-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .breakdown-label {
            min-width: 150px;
            font-weight: 600;
            color: #f6c744;
        }

        .breakdown-bar {
            flex: 1;
            height: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .breakdown-fill {
            height: 100%;
            background: linear-gradient(135deg, #ff4c9e, #f6c744);
            border-radius: 10px;
            transition: width 1s ease-out;
            width: 0%;
        }

        .breakdown-score {
            min-width: 50px;
            text-align: right;
            font-weight: 600;
            color: #fff;
        }

        .toggle-breakdown {
            width: 100%;
            padding: 12px 30px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 25px;
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .toggle-breakdown:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .history-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 1px solid rgba(246, 199, 68, 0.3);
            display: none;
        }

        .history-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            color: #f6c744;
            margin-bottom: 20px;
            text-align: center;
        }

        .history-item {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            border-left: 4px solid #ff4c9e;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .history-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(5px);
        }

        .history-names {
            font-size: 1.2rem;
            font-weight: 600;
            color: #ff4c9e;
            margin-bottom: 5px;
        }

        .history-compatibility {
            font-size: 1rem;
            color: #f6c744;
            margin-bottom: 5px;
        }

        .history-date {
            font-size: 0.9rem;
            color: #b8b8d1;
        }

        .guidance-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .guidance-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            color: #ff4c9e;
            margin-bottom: 20px;
        }

        .guidance-text {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #e8e8f0;
            margin-bottom: 20px;
        }

        .actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }

        .action-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(135deg, #ff4c9e, #f6c744);
            color: #fff;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(255, 76, 158, 0.4);
        }

        .spinner {
            display: none;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 76, 158, 0.2);
            border-left: 4px solid #ff4c9e;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        .calculating {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 200px;
        }

        .calculating-text {
            color: #f6c744;
            font-size: 1.2rem;
            margin-top: 20px;
            text-align: center;
        }

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

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

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

        @media (max-width: 768px) {
            .input-grid, .persons-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .header h1 {
                font-size: 2.5rem;
            }
            
            .actions {
                flex-direction: column;
                align-items: center;
            }
        }
        
/* Enhanced styles for detailed connection information */
.detailed-connection-info {
    background: linear-gradient(135deg, rgba(255, 76, 158, 0.1), rgba(246, 199, 68, 0.1));
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 76, 158, 0.2);
}

.connection-type-banner {
    background: linear-gradient(135deg, #ff4c9e, #f6c744);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 76, 158, 0.3);
}

.connection-type-banner strong {
    font-size: 1.4em;
    display: block;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.connection-type-banner p {
    margin: 0;
    font-size: 1em;
    opacity: 0.95;
    line-height: 1.5;
}

.numerology-twin-details,
.astrology-twin-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.numerology-twin-details h3,
.astrology-twin-details h3 {
    color: #f6c744;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    text-align: center;
}

.twin-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.twin-detail-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 76, 158, 0.15);
    transition: all 0.3s ease;
}

.twin-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 76, 158, 0.3);
    transform: translateY(-2px);
}

.twin-detail-item strong {
    color: #ff4c9e;
    font-size: 1.1em;
    display: block;
    margin-bottom: 8px;
}

.twin-detail-item small {
    color: #b8b8d1;
    font-size: 0.9em;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
}

/* Enhanced moon phase display */
.moon-phase {
    text-align: center;
    font-size: 2.5em;
    margin: 15px 0;
    line-height: 1.2;
}

.moon-phase small {
    font-size: 0.3em;
    color: #b8b8d1;
    display: block;
    margin-top: 5px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .detailed-connection-info {
        padding: 20px;
        margin: 20px 0;
    }
    
    .connection-type-banner {
        padding: 15px;
    }
    
    .connection-type-banner strong {
        font-size: 1.2em;
    }
    
    .twin-detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .twin-detail-item {
        padding: 15px;
    }
    
    .numerology-twin-details,
    .astrology-twin-details {
        padding: 20px;
    }
    
    .moon-phase {
        font-size: 2em;
    }
    
    .moon-phase small {
        font-size: 0.35em;
    }
}

/* Animation for the detailed info section */
.detailed-connection-info {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Enhanced breakdown section styling */
.compatibility-breakdown {
    background: linear-gradient(135deg, rgba(255, 76, 158, 0.08), rgba(246, 199, 68, 0.08));
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 76, 158, 0.15);
}

.breakdown-grid {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.breakdown-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.breakdown-label {
    color: #f6c744;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.breakdown-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4c9e, #f6c744);
    border-radius: 6px;
    transition: width 1s ease-out;
    width: 0%;
}

.breakdown-score {
    color: #ff4c9e;
    font-weight: bold;
    font-size: 1.2em;
    text-align: right;
}

/* Enhanced person cards */
.person-card {
    background: linear-gradient(135deg, rgba(255, 76, 158, 0.1), rgba(246, 199, 68, 0.1));
    border: 1px solid rgba(255, 76, 158, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 76, 158, 0.2);
}

.person-card h3 {
    color: #f6c744;
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.zodiac-sign {
    font-size: 1.3em;
    color: #ff4c9e;
    margin: 10px 0;
    font-weight: 600;
}

.energy-phrase {
    color: #b8b8d1;
    font-style: italic;
    margin-top: 10px;
    font-size: 0.95em;
}

        
        
/* SEO Content Sections */

/* What is Moon Phase Compatibility - Card Layout */
.compatibility-info-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0B0C1A 0%, #1A1A2E 100%);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    border: 1px solid #404040;
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.info-card h3 {
    color: #64B5F6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.benefits-card {
    grid-column: 1 / -1;
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.benefits-list li {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 4px solid #64B5F6;
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* How the Calculator Works Section */
.how-it-works-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #16213E 0%, #0B0C1A 100%);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step-card {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    border: 1px solid #404040;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #64B5F6, #42A5F5);
    color: #1A1A1A;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 40px;
    margin-bottom: 1rem;
}

.step-card h4 {
    color: #64B5F6;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.step-card p {
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Moon Phase Personality Traits Section */
.moon-phases-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0B0C1A 0%, #1A1A2E 100%);
}

.moon-phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.moon-phase-card {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.moon-phase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.moon-phase-card .phase-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.moon-phase-card .phase-name {
    color: #64B5F6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.moon-phase-card .phase-traits {
    color: #e0e0e0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #16213E 0%, #0B0C1A 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    color: #64B5F6;
    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: #64B5F6;
    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;
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Body and HTML background */
html, body {
    background: linear-gradient(135deg, #0B0C1A 0%, #1A1A2E 100%);
    background-attachment: fixed;
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Container adjustments */
.container, .content, main, section {
    background: transparent !important;
}

/* Override any white backgrounds */
* {
    background-color: transparent;
}

.page, .wrapper, .main-content {
    background: transparent !important;
}

[style*="background: white"], [style*="background-color: white"], [style*="background:#fff"], [style*="background: #fff"] {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%) !important;
    border: 1px solid #404040 !important;
    color: white !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #64B5F6;
}

p, span, div {
    color: #e0e0e0;
}

/* Responsive adjustments */
@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: 2.5rem;
    }
    
    .score-label {
        font-size: 0.65rem;
    }
    
    .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) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .main-tool-container {
        margin: -0.5rem 0.25rem 0.8rem;
        padding: 0.8rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .mode-btn {
        min-width: 90px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .input-form {
        padding: 12px;
    }
    
    .input-field {
        padding: 8px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .profile-name {
        font-size: 1.2rem;
    }
    
    .moon-image {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .info-card, .step-card, .moon-phase-card {
        padding: 0.8rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        line-height: 30px;
    }
    
    .moon-phase-card .phase-emoji {
        font-size: 1.8rem;
    }
    
    .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;
    }
}        
        


.tools-section {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
    color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tool-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tool-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Responsive Design */
@media (min-width: 640px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .tool-card {
        padding: 2rem;
    }

    .tool-title {
        font-size: 1.75rem;
    }

    .tool-description {
        font-size: 1.1rem;
    }
}        
        
/* Beautiful mm Buttons with Smooth Hover Effects */
        .mm-buttons-section {
            background: linear-gradient(135deg, #16213E 0%, #0B0C1A 100%);
            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;
            }
        }        