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


#sticky-header {
    top: 0;          
    left: 0;         
    width: 100%;     
    padding: 10px 20px; 
    z-index: 1000;    
    display: flex;    
    align-items: center; 
    justify-content: center; 
}

#logo-link {
    display: inline-block; 
}

#sticky-logo {
    height: 100px; 
    width: auto;  
    display: block; 
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(160deg, #ffa9d1 0%, #ffd78a 100%); 
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding-top: 60px;
}

.container {
    flex-grow: 1;
    max-width: 1020px; 
    margin: 0 auto;
    padding: 10px;
    width: 100%;
}


.quiz-section {
    padding: 20px 20px;
    text-align: center;
    min-height: 70vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; 
    color: white;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#intro .tagline {
    font-size: 2rem;
    font-weight: bold;
    color: #6a1b9a; 
    margin-bottom: 30px;
    
}

.cta-button {
    background-color: #e22b99; 
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    background-color: #7a1fcf;
    transform: translateY(-2px);
}


.question-container h2 {
    font-size: 0.9rem;
    color: #4a0e6e; 
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-container h3 {
    font-size: 1.4rem;
    color: #6a1b9a; 
    margin-bottom: 30px;
    font-weight: 600;
}

.options {
    width: 100%;
    max-width: 400px; 
    margin: 0 auto;
}

.option-btn {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #5a188a; 
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.option-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: white;
    transform: scale(1.02);
}

.option-btn:active {
     transform: scale(0.98);
}


#loading {
    color: #6a1b9a;
}
#loading p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.spinner {
    border: 4px solid rgba(106, 27, 154, 0.2); 
    border-left-color: #6a1b9a; 
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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



#results h2 {
    font-size: 1.8rem;
    color: #4a0e6e;
    margin-bottom: 30px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 25px;
    width: 100%;
    margin-top: 20px;
}

.product-card {
    background-color: rgba(230, 0, 126, 0.8); 
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; 
}

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

.product-card a {
    text-decoration: none;
    color: white; 
    display: block; 
    height: 100%;
}

.product-card img {
    width: 100%;
    height: 320px; 
    object-fit: cover; 
    display: block;
    transition: opacity 0.3s ease;
}

.product-card h3 {
    font-size: 0.9rem; 
    padding: 15px 10px;
    font-weight: 600;
    min-height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card h3.name {
    font-weight: lighter;
    padding-bottom: 0;
}

.product-card h3.subname {
    padding-top: 0;
    margin-bottom: 10px;
}


footer {
    padding: 10px;
    text-align: center;
    margin-top: 10px; 
    margin-bottom: 40px; 
    color: #e6007e;
    font-weight: bold;

}

.social-media p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-media a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}


.hidden {
    display: none !important; 
}

.list-social-media {
    list-style: none; 
    padding: 0;
    margin: 0;
    margin-top: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 25px; 
    flex-wrap: wrap; 
}

.list-social-media li {
    
    margin: 0;
    padding: 0;
}

.list-social-media a {
    display: inline-block; 
    color: #e6007e; 
    transition: color 0.3s ease, transform 0.2s ease; 
}

.disclaimer {
    margin-top: 20px;
    padding: 0;
    font-size: 0.7em; 
    color: #a58faa; 
    line-height: 1.5;
}


@media (max-width: 600px) {
    #sticky-header {
        padding: 8px 15px;
    }
    #sticky-logo {
        height: 80px; 
    }
    body {
        
        padding-top: 51px; 
    }
    #intro h1 {
        font-size: 2.5rem;
    }
    #intro .tagline {
        font-size: 1rem;
    }
    .question-container h3 {
        font-size: 1.2rem;
    }
    .option-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
        gap: 15px;
    }
    .product-card img {
        height: 320px;
    }
    .product-card h3 {
        font-size: 0.85rem;
        min-height: 50px;
        padding: 10px 8px;
    }
    #results h2 {
        font-size: 1.5rem;
    }
}