/* game_results.css */

/* Personality Types Buttons */
.btn-personality {
    padding: 12px 24px;
    margin: 5px;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    background-color: #ffffff; /* Initial background set to white */
    color: #343a40; /* Initial text color set to a dark shade for contrast */
}

.btn-personality.btn-border-blue {
    border: 2px solid #f72c93;  /* Pink border for blue button */
}

.btn-personality.btn-border-blue:hover {
    transform: scale(1.05);
    background-color: #0F75BD; /* On hover, button turns blue */
    color: #ffffff; /* Text color becomes white on hover for contrast */
}

.btn-personality.btn-border-pink {
    border: 2px solid #0F75BD;  /* Blue border for pink button */
}

.btn-personality.btn-border-pink:hover {
    transform: scale(1.05);
    background-color: #f72c93; /* On hover, button turns pink */
    color: #ffffff; /* Text color becomes white on hover for contrast */
}

.btn-large {
    font-size: 1.5em; /* Larger font size */
    padding: 20px 40px; /* Increase padding for larger button */
}

.btn-personality.btn-large.btn-border-pink {
    border: 2px solid #0F75BD; /* Blue border for the large pink button */
}

.btn-personality.btn-large.btn-border-pink:hover {
    transform: scale(1.05);
    background-color: #f72c93; /* On hover, button turns pink */
    color: #ffffff; /* Text color becomes white on hover for contrast */
}

#finalScore.btn-border-gray {
    border: 2px solid #cccccc;  /* Gray border for unexpected results */
}

/* Matchmaking Apps */
.app-option {
    display: inline-block;
    margin: 15px;
    text-align: center;
}

.app-logo {
    width: 180px;  /* Explicit width */
    height: 180px;  /* Explicit height */
    object-fit: cover;  /* Maintains image aspect ratio */
    border-radius: 15%; 
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    cursor: pointer; 
    transition: 0.3s;
}

.app-logo:hover {
    opacity: 0.7;
}

.app-link, .store-buttons a {
    display: block;
    margin-top: 10px;
}

.app-description {
    margin: 10px 0;
    color: #555;
    font-size: 0.9em;
}

/* Description Sections */
.description {
    display: none; /* Hidden by default */
    margin-top: 20px;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.active-description {
    display: block;
    opacity: 1;
}

/* Optional: Add fade-in effect for better UX */
.description {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.active-description {
    opacity: 1;
}

/* New Styles for Better Formatting of Descriptions */
.description-header {
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
    text-decoration: underline;
    text-align: center;
}

.description-content {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}

/* Preamble Sections */
.preamble {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.preamble span {
    color: #0F75BD; /* Highlight for dynamic elements */
}

/* Temperament Section */
.temperament-section {
    margin-top: 20px;
    padding: 15px;
    border-left: 4px solid #f72c93; /* Accent border for emphasis */
    background-color: #f9f9f9; /* Subtle background */
}

.temperament-section .description-header {
    color: #f72c93;
}

/* Optional Hover and Emphasis Styling for Description Headers */
.description-header:hover {
    color: #0F75BD;
    cursor: pointer;
}

/* Button Styling for Matchmaking Apps Section */
.app-link-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: 2px solid #0F75BD;
    border-radius: 25px;
    color: #0F75BD;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-link-btn:hover {
    background-color: #0F75BD;
    color: #ffffff;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .app-logo {
        width: 150px;
        height: 150px;
    }

    .btn-personality {
        font-size: 1em;
        padding: 10px 20px;
    }

    .btn-large {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}
