/* Emoji Quiz Specific Styles */
.quiz-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.quiz-screen {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.quiz-screen.active {
    display: block;
    opacity: 1;
}

/* Start Screen */
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.emoji-item {
    font-size: 2.5rem;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fc;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.emoji-item:hover {
    transform: scale(1.1);
    background-color: #e8eaf6;
}

/* Questions Screen */
.question {
    margin-bottom: 30px;
}

.question-number {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.option {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.option:hover {
    border-color: #4e73df;
    background-color: rgba(78, 115, 223, 0.05);
}

.option.selected {
    border-color: #4e73df;
    background-color: rgba(78, 115, 223, 0.1);
}

.option-emoji {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.option-text {
    flex: 1;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Results Screen */
.result-emoji {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.result-title {
    text-align: center;
    margin-bottom: 20px;
    color: #4e73df;
}

.result-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.result-traits {
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.result-traits h4 {
    color: #4e73df;
    margin-bottom: 15px;
}

.result-traits ul {
    padding-left: 20px;
}

.result-traits li {
    margin-bottom: 10px;
}

.result-compatibility {
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.result-compatibility h4 {
    color: #4e73df;
    margin-bottom: 15px;
}

.compatible-emojis {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.compatible-emoji {
    font-size: 2rem;
    background-color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Emoji Personality Types */
.emoji-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.emoji-type {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fc;
    transition: transform 0.3s ease;
}

.emoji-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.emoji-type .emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.emoji-type h5 {
    color: #4e73df;
    margin-bottom: 10px;
}

.emoji-type p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal .share-btn {
    width: auto;
    height: auto;
    border-radius: 4px;
    padding: 8px 15px;
    margin-right: 10px;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.copy {
    background-color: #6c757d;
}

/* Share Result Modal */
.share-result-container {
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.share-result-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.share-result-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .emoji-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .emoji-types {
        grid-template-columns: 1fr;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
    
    .emoji-item {
        font-size: 2rem;
    }
    
    .result-emoji {
        font-size: 4rem;
    }
}
