@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #FF4D6D;
    /* Rose Pink */
    --secondary-color: #FF8FA3;
    /* Soft Pink */
    --accent-color: #FFD166;
    /* Warm Gold */
    --bg-light: #FFF5F7;
    /* Very Light Pink */
    --card-bg: rgba(255, 255, 255, 0.85);
    /* Slightly opaque white for light theme glass */
    --border-color: rgba(255, 77, 109, 0.15);
    /* Soft pink border */
    --text-primary: #2B2D42;
    /* Dark Text */
    --text-secondary: #6C757D;
    /* Soft Gray Text */
    --glass-blur: 15px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Background effects */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.3;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.blob-2 {
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1.0);
    }

    to {
        transform: translate(100px, 50px) scale(1.2);
    }
}

/* Header & Navigation */
header {
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 245, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), #ff85a1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.menu-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.1);
}

.burger-bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

/* Menu Popup */
.menu-modal-content {
    max-width: 450px !important;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 77, 109, 0.15) !important;
}

.popup-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-nav-links li {
    margin-bottom: 10px;
}

.popup-nav-links a {
    display: block;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.popup-nav-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.1);
}

/* Premium Modal Base */
.premium-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-section {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.premium-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(255, 77, 109, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-card h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.input-group input {
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.15);
}

.heart-divider {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.btn-calculate {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(255, 45, 117, 0.3);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 45, 117, 0.5);
    filter: brightness(1.1);
}

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

/* Result Visualization */
.result-display {
    display: none;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.percentage-circle {
    width: 150px;
    height: 150px;
    border: 4px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-top-color: var(--primary-color);
}

.percentage-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Soulmate Quiz Link Button */
.btn-soulmate {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-soulmate:hover {
    background: var(--primary-color);
    color: white;
}

/* Small Game Cards */
.game-grid.small-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px auto;
}

.game-card.small {
    flex-direction: row;
    padding: 20px;
    align-items: center;
    text-align: left;
    gap: 20px;
}

.game-icon.small {
    width: 60px;
    min-width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 0;
}

.game-info {
    flex: 1;
}

.game-card.small h3 {
    font-size: 1.15rem;
    margin: 0;
}

.game-card.small p {
    font-size: 0.85rem;
    margin: 5px 0 0 0;
}

.play-btn.small {
    padding: 8px 15px;
    font-size: 0.8rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.05), rgba(255, 143, 163, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 77, 109, 0.12);
    border-color: var(--primary-color);
}

.game-card:hover::before {
    opacity: 1;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(255, 77, 109, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.game-card:hover .game-icon {
    transform: rotate(10deg) scale(1.1);
}

.game-card h3 {
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    z-index: 1;
}

.game-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    z-index: 1;
}

.game-card .play-btn {
    margin-top: auto;
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.game-card:hover .play-btn {
    background: var(--text-primary);
}

.premium-card h2 {
    padding-bottom: 15px;
}

/* SEO Content Section */
.seo-content-section {
    width: 100%;
    max-width: 1000px;
    padding: 30px;
    background: white;
    border-radius: 35px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.8;
    box-shadow: 0 20px 50px rgba(255, 77, 109, 0.05);
    margin-top: 50px;
    box-sizing: border-box;
}

.seo-content-section h2,
.seo-content-section h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container h1 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .premium-card {
        padding: 30px 20px;
    }

    .premium-card h1 {
        font-size: 1.6rem;
    }
}

/* ── FAQ Items ── */
.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.1);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* ── Premium Footer ── */
.site-footer {
    margin-top: auto;
    background: white;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-tagline {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 240px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 77, 109, 0.07);
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 77, 109, 0.25);
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-bottom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    padding: 16px 20px;
    font-size: 0.88rem;
    font-weight: 400;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}