       :root {
            --primary: #274c77;
            --primary-dark: #274c77;
            --primary-light: #6096ba;
            --secondary: #6096ba;
            --dark: #2b2d42;
            --darker: #1a1a2e;
            --light: #fff0f3;
            --lighter: #fff9fb;
            --accent: #ff9e00;
            --success: #4caf50;
            --info: #2196f3;
            --warning: #ff9800;
            --danger: #f44336;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
            --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --border-radius: 12px;
            --border-radius-lg: 16px;
            --border-radius-xl: 20px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        
body {
    background: url('/theme/image/background.svg') no-repeat center center fixed;
    background-size: cover;
    background-color: #f0f3fb;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 70px 0; 
}

@media (min-width: 768px) {
    body {
        padding: 2rem 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem; 
    background: transparent;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}
        
        .love-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 2rem 1.5rem;
            text-align: center;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .love-header {
                padding: 2.5rem 2rem;
            }
        }
        
        .love-header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
            pointer-events: none;
        }
        
        h1 {
            font-size: 1.8rem;
            margin-bottom: 0.75rem;
            font-weight: 800;
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
        }
        
        .subtitle {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            font-weight: 400;
        }
        
        @media (min-width: 768px) {
            .subtitle {
                font-size: 1.15rem;
            }
        }
        
        .heart-icon {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            animation: pulse 2s infinite;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .heart-icon {
                top: 20px;
                right: 20px;
                font-size: 2rem;
            }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }
        
        .main-content {
            padding: 1.5rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        @media (min-width: 992px) {
            .main-content {
                grid-template-columns: 1fr 1fr;
                gap: 2.5rem;
                padding: 2rem;
            }
        }
        
        .input-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        @media (min-width: 768px) {
            .input-section {
                gap: 1.75rem;
            }
        }
        
        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .input-group {
                gap: 0.75rem;
            }
        }
        
        label {
            font-weight: 600;
            color: var(--dark);
            font-size: 0.9rem;
        }
        
        @media (min-width: 768px) {
            label {
                font-size: 0.95rem;
            }
        }
        
        input, select {
            padding: 0.9rem 1rem;
            border: 2px solid #e9e9e9;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
            background-color: white;
            width: 100%;
        }
        
        @media (min-width: 768px) {
            input, select {
                padding: 1rem 1.25rem;
            }
        }
        
        input:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.15);
        }
        
        .btn {
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 1rem;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-sm);
            margin-top: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .btn {
                padding: 1.25rem;
                font-size: 1.1rem;
                gap: 0.75rem;
            }
        }
        
        .btn:hover {
            background: linear-gradient(to right, var(--primary-dark), var(--primary));
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        
        .btn:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }
        
        .btn:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
        }
        
        .result-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        @media (min-width: 768px) {
            .result-section {
                gap: 1.75rem;
            }
        }
        
        .result-card {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid #f5f5f5;
            transition: var(--transition);
        }
        
        @media (min-width: 768px) {
            .result-card {
                padding: 2rem;
            }
        }
        
        .result-card:hover {
            box-shadow: var(--shadow-lg);
        }
        
        .score-display {
            text-align: center;
            padding: 1.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border-radius: var(--border-radius-lg);
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        
        @media (min-width: 768px) {
            .score-display {
                padding: 2.5rem;
                margin-bottom: 1.5rem;
            }
        }
        
        .score-display::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
            pointer-events: none;
        }
        
        .score-value {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1;
            margin: 0.5rem 0;
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .score-value {
                font-size: 4.5rem;
                margin: 1rem 0;
            }
        }
        
        .score-text {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .score-text {
                font-size: 1.5rem;
                margin-bottom: 0.5rem;
            }
        }
        
        .score-description {
            font-size: 0.9rem;
            opacity: 0.9;
            max-width: 300px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .score-description {
                font-size: 1rem;
            }
        }
        
        .compatibility-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        
        @media (min-width: 768px) {
            .compatibility-details {
                gap: 1.25rem;
            }
        }
        
        @media (max-width: 400px) {
            .compatibility-details {
                grid-template-columns: 1fr;
            }
        }
        
        .detail-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem;
            background: var(--lighter);
            border-radius: var(--border-radius);
            transition: var(--transition);
        }
        
        @media (min-width: 768px) {
            .detail-item {
                padding: 1.5rem 1rem;
            }
        }
        
        .detail-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-sm);
        }
        
        .detail-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }
        
        @media (min-width: 768px) {
            .detail-icon {
                font-size: 1.75rem;
                margin-bottom: 0.75rem;
            }
        }
        
        .detail-label {
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--dark);
            opacity: 0.8;
        }
        
        @media (min-width: 768px) {
            .detail-label {
                font-size: 0.85rem;
                margin-bottom: 0.5rem;
            }
        }
        
        .detail-value {
            font-weight: 800;
            font-size: 1.1rem;
            color: var(--primary-dark);
        }
        
        @media (min-width: 768px) {
            .detail-value {
                font-size: 1.25rem;
            }
        }
        
        .zodiac-compat {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 1rem;
            background: var(--lighter);
            padding: 1rem;
            border-radius: var(--border-radius);
        }
        
        @media (min-width: 768px) {
            .zodiac-compat {
                margin-top: 1.5rem;
                padding: 1.5rem;
            }
        }
        
        .zodiac-sign {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
        }
        
        .zodiac-icon {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            box-shadow: var(--shadow-sm);
        }
        
        @media (min-width: 768px) {
            .zodiac-icon {
                width: 60px;
                height: 60px;
                font-size: 1.75rem;
                margin-bottom: 0.75rem;
            }
        }
        
        .zodiac-name {
            font-weight: 700;
            font-size: 0.9rem;
        }
        
        @media (min-width: 768px) {
            .zodiac-name {
                font-size: 1rem;
            }
        }
        
        .zodiac-element {
            font-size: 0.7rem;
            opacity: 0.8;
            margin-top: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        @media (min-width: 768px) {
            .zodiac-element {
                font-size: 0.75rem;
            }
        }
        
        .zodiac-match {
            font-size: 0.8rem;
            padding: 0.5rem 1rem;
            background: white;
            border-radius: 30px;
            font-weight: 700;
            margin: 0 0.5rem;
            box-shadow: var(--shadow-sm);
            min-width: 100px;
            text-align: center;
        }
        
        @media (min-width: 768px) {
            .zodiac-match {
                font-size: 0.9rem;
                padding: 0.75rem 1.5rem;
                margin: 0 1rem;
                min-width: 120px;
            }
        }
        
        .personality-traits {
            margin-top: 1.5rem;
        }
        
        @media (min-width: 768px) {
            .personality-traits {
                margin-top: 2rem;
            }
        }
        
        .personality-traits h3 {
            margin-bottom: 1rem;
            font-size: 1.1rem;
            color: var(--darker);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .personality-traits h3 {
                font-size: 1.25rem;
                margin-bottom: 1.25rem;
            }
        }
        
        .personality-description {
            margin-top: 0.5rem;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #555;
        }
        
        @media (min-width: 768px) {
            .personality-description {
                margin-top: 1rem;
                font-size: 0.95rem;
            }
        }
        
        .trait-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        @media (min-width: 768px) {
            .trait-row {
                margin-bottom: 1rem;
            }
        }
        
        .trait-name {
            font-weight: 600;
            font-size: 0.85rem;
            min-width: 100px;
        }
        
        @media (min-width: 768px) {
            .trait-name {
                font-size: 0.95rem;
                min-width: 120px;
            }
        }
        
        .trait-bar-container {
            flex-grow: 1;
            margin: 0 1rem;
            position: relative;
        }
        
        @media (min-width: 768px) {
            .trait-bar-container {
                margin: 0 1.5rem;
            }
        }
        
        .trait-bar {
            height: 8px;
            background: #f0f0f0;
            border-radius: 5px;
            position: relative;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .trait-bar {
                height: 10px;
            }
        }
        
        .trait-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            border-radius: 5px;
            width: 0;
        }
        
        .trait-value {
            font-weight: 700;
            font-size: 0.9rem;
            min-width: 40px;
            text-align: right;
            color: var(--primary-dark);
        }
        
        @media (min-width: 768px) {
            .trait-value {
                font-size: 1rem;
                min-width: 45px;
            }
        }
        
        .love-tips {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px dashed #e0e0e0;
        }
        
        @media (min-width: 768px) {
            .love-tips {
                margin-top: 2rem;
                padding-top: 2rem;
            }
        }
        
        .tips-title {
            font-weight: 700;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
            color: var(--darker);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .tips-title {
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }
        }
        
        .tips-list {
            list-style-type: none;
        }
        
        .tips-list li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.75rem;
            font-size: 0.9rem;
        }
        
        @media (min-width: 768px) {
            .tips-list li {
                margin-bottom: 0.75rem;
                padding-left: 2rem;
                font-size: 0.95rem;
            }
        }
        
        .tips-list li:before {
            content: "♥";
            position: absolute;
            left: 0;
            color: var(--primary);
            font-size: 1rem;
            top: 1px;
        }
        
        @media (min-width: 768px) {
            .tips-list li:before {
                font-size: 1.1rem;
            }
        }
        
        .hidden {
            display: none !important;
        }
        
        .loading-container {
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 200px;
            gap: 1.5rem;
        }
        
        .loading-text {
            font-weight: 600;
            color: var(--dark);
            text-align: center;
        }
        
        .loading-bar {
            width: 100%;
            max-width: 300px;
            height: 8px;
            background: #f0f0f0;
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }
        
        .loading-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0;
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            border-radius: 4px;
            transition: width 0.3s ease;
        }
        
        .loading-dots {
            display: flex;
            gap: 8px;
        }
        
        .dot {
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            opacity: 0;
            animation: dotPulse 1.5s infinite ease-in-out;
        }
        
        @media (min-width: 768px) {
            .dot {
                width: 10px;
                height: 10px;
            }
        }
        
        .dot:nth-child(1) { animation-delay: 0s; }
        .dot:nth-child(2) { animation-delay: 0.2s; }
        .dot:nth-child(3) { animation-delay: 0.4s; }
        
        @keyframes dotPulse {
            0%, 100% { opacity: 0.2; transform: scale(0.8); }
            50% { opacity: 1; transform: scale(1.1); }
        }
        
        .share-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        
        @media (min-width: 768px) {
            .share-buttons {
                gap: 1rem;
                margin-top: 2rem;
            }
        }
        
        .share-btn {
            padding: 0.6rem 1rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: var(--transition);
            flex: 1;
            min-width: 100px;
            justify-content: center;
            box-shadow: var(--shadow-sm);
        }
        
        @media (min-width: 768px) {
            .share-btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.9rem;
                gap: 0.75rem;
                min-width: 120px;
            }
        }
        
        .share-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .share-btn:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }
        
        .share-fb {
            background: #3b5998;
            color: white;
        }
        
        .share-tw {
            background: #1da1f2;
            color: white;
        }
        
        .share-wa {
            background: #25d366;
            color: white;
        }
        
        .share-pin {
            background: #e60023;
            color: white;
        }
        
        .advanced-options {
            margin-top: 1rem;
            padding: 1rem;
            background: var(--lighter);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
        }
        
        @media (min-width: 768px) {
            .advanced-options {
                margin-top: 1.5rem;
                padding: 1.5rem;
            }
        }
        
        .toggle-advanced {
            background: none;
            border: none;
            color: var(--primary-dark);
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            padding: 0.5rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
        }
        
        @media (min-width: 768px) {
            .toggle-advanced {
                font-size: 0.95rem;
                gap: 0.75rem;
            }
        }
        
        .toggle-advanced:hover {
            background: rgba(255, 77, 109, 0.1);
        }
        
        .advanced-content {
            display: none;
            padding-top: 0.5rem;
        }
        
        .advanced-content.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .feature-highlights {
            margin-top: 2rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }
        
        @media (min-width: 768px) {
            .feature-highlights {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 1.5rem;
                margin-top: 3rem;
            }
        }
        
        .feature-card {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-md);
            text-align: center;
            transition: var(--transition);
            border: 1px solid #f5f5f5;
        }
        
        @media (min-width: 768px) {
            .feature-card {
                padding: 2rem;
            }
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        
        .feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        @media (min-width: 768px) {
            .feature-icon {
                font-size: 2.5rem;
                margin-bottom: 1.5rem;
            }
        }
        
        .feature-title {
            font-weight: 700;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
            color: var(--darker);
        }
        
        @media (min-width: 768px) {
            .feature-title {
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }
        }
        
        .feature-desc {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.6;
        }
        
        @media (min-width: 768px) {
            .feature-desc {
                font-size: 0.95rem;
            }
        }
        
        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: var(--primary);
            opacity: 0;
            z-index: 10;
        }
        
        .ad-container {
            margin: 1.5rem 0;
            background: #f9f9f9;
            text-align: center;
            border: 1px dashed #e0e0e0;
            justify-content: center;
            align-items: center;
        }
        
        .compatibility-meter {
            width: 100%;
            height: 8px;
            background: #f0f0f0;
            border-radius: 5px;
            margin: 0.75rem 0;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .compatibility-meter {
                height: 10px;
                margin: 1rem 0;
            }
        }
        
        .meter-fill {
            height: 100%;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 5px;
            width: 0;
            transition: width 1s ease;
        }
        
        .meter-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: #777;
            margin-top: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .meter-labels {
                font-size: 0.8rem;
            }
        }
        
        .love-secrets {
            margin-top: 1.5rem;
            background: var(--lighter);
            padding: 1rem;
            border-radius: var(--border-radius);
        }
        
        @media (min-width: 768px) {
            .love-secrets {
                margin-top: 2rem;
                padding: 1.5rem;
            }
        }
        
        .secrets-title {
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--darker);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.1rem;
        }
        
        @media (min-width: 768px) {
            .secrets-title {
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }
        }
        
        .secrets-title i {
            color: var(--primary);
        }
        
        .secret-item {
            margin-bottom: 0.75rem;
            padding-left: 1.25rem;
            position: relative;
        }
        
        @media (min-width: 768px) {
            .secret-item {
                margin-bottom: 1rem;
                padding-left: 1.5rem;
            }
        }
        
        .secret-item:before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary);
            font-size: 1.25rem;
            line-height: 1;
        }
        
        .secret-title {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.25rem;
            font-size: 0.9rem;
        }
        
        @media (min-width: 768px) {
            .secret-title {
                font-size: 1rem;
            }
        }
        
        .secret-desc {
            font-size: 0.85rem;
            color: #666;
        }
        
        @media (min-width: 768px) {
            .secret-desc {
                font-size: 0.9rem;
            }
        }
        
        #ad-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .ad-modal-content {
            background: white;
            border-radius: var(--border-radius-xl);
            max-width: 90%;
            width: auto;
            text-align: center;
            position: relative;
        }
        
        .ad-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }
        
        .ad-modal-text {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        
        .ad-modal-ad {
            padding: 20px auto;
            background: #f5f5f5;
            align-items: center;
            justify-content: center;
            border-radius: var(--border-radius);
            margin-bottom: 1.5rem;
        }
        
        .ad-modal-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .ad-modal-btn:hover {
            background: var(--primary-dark);
        }
		
.ad-timer {
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
  text-align: center;
  opacity: 0;
}

.ad-timer p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

#countdown, #timer-display {
  font-weight: bold;
  color: var(--primary);
}

#continue-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}
        
        @media (max-width: 480px) {
            .main-content {
                padding: 1rem;
            }
            
            .result-card, .feature-card {
                padding: 1.25rem;
            }
            
            .score-display {
                padding: 1.25rem;
            }
            
            .score-value {
                font-size: 2.5rem;
            }
            
            .score-text {
                font-size: 1.1rem;
            }
            
            .zodiac-icon {
                width: 40px;
                height: 40px;
                font-size: 1.25rem;
            }
            
            .zodiac-match {
                padding: 0.4rem 0.8rem;
                min-width: 80px;
                font-size: 0.7rem;
            }
            
            .ad-modal-content {
                padding: 1.5rem;
            }
            
            .ad-modal-text {
                font-size: 1rem;
            }
        }

/* Content Section Styles */
.content-section {
  background-color: #fff;
  padding: 2rem 1rem;
  border-top: 1px solid #f0f0f0;
}

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

@media (min-width: 992px) {
  .content-container {
    grid-template-columns: 1fr 300px;
  }
}

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

.intro-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-highlight {
  background-color: #fff0f3;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-highlight i {
  color: var(--primary);
  font-size: 1.5rem;
}

h2, h3, h4 {
  color: var(--darker);
  margin: 1.5rem 0 1rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

/* Compatibility Factors Grid */
.compatibility-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.factor {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.factor:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.factor-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

.fa-check {
  color: var(--success);
}

.fa-times {
  color: var(--danger);
}

/* Score Guide */
.score-guide {
  margin: 2rem 0;
}

.score-range {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.range-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}

.range-details {
  flex-grow: 1;
}

/* FAQ Section */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
}

.faq-answer.show {
  padding: 1rem 1.5rem 2rem;
  max-height: 500px;
}

/* CTA Section */
.content-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: 3rem 0;
}

.content-cta h3 {
  color: white;
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-dark);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Sidebar Styles */
.content-sidebar {
  display: none;
}

@media (min-width: 992px) {
  .content-sidebar {
    display: block;
  }
}

.sidebar-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  color: var(--primary-dark);
  margin-top: 0;
}

.sidebar-ad {
  background: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px dashed #e0e0e0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ad-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.5rem;
}	