* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #ff4b8d;
    --primary-dark: #e6387a;
    --secondary-color: #8a2be2;
    --light-pink: #ffecf0;
    --lighter-pink: #f8e1e8;
    --white: #ffffff;
    --text-dark: #333333;
    --text-medium: #666666;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    background-color: var(--lighter-pink);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.header-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Main Game Section */
.game-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    margin: -50px auto 40px;
    position: relative;
    max-width: 600px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.description {
    color: var(--text-medium);
    margin-bottom: 25px;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.heart-divider {
    font-size: 1.5rem;
    margin: 5px 0;
    animation: pulse 1.5s infinite;
}

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

input {
    padding: 15px;
    border: 2px solid var(--light-pink);
    border-radius: var(--border-radius);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 300px;
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 75, 141, 0.2);
}

button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.result-container {
    margin-top: 30px;
    display: none;
    background-color: var(--light-pink);
    padding: 20px;
    border-radius: var(--border-radius);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.score-display {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.match-comment {
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: 15px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.share-btn {
    background-color: var(--secondary-color);
    margin-top: 15px;
}

.share-btn:hover {
    background-color: #7823c7;
}

/* Info Section */
.info-section {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 250px;
    background-color: var(--light-pink);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--lighter-pink);
    padding: 60px 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    .header-content h1 {
        font-size: 4rem;
    }
    
    .input-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .input-container input {
        max-width: 200px;
    }
    
    .heart-divider {
        margin: 0 15px;
    }
    
    .game-section {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .game-section {
        margin-top: -30px;
    }
    
    .feature {
        min-width: 100%;
    }
}

/* Animation for score display */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}