/* Import Tajawal font */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

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

body {
    background-color: #7e57c2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}
.logo-container {
    margin-top: 0rem;
    margin-bottom: 2rem;
    text-align: center;
}

.logo {
    margin: 20 auto;
    max-width: 200px;
    height: auto;
}

.game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    gap: 20px;
}

.input-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.input-label {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.start-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #f2e268;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Input validation styles */
.invalid-input {
    border-color: #ff5252;
    background-color: #ffebee;
}

.valid-input {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Footer styles */
.footer {
    margin-top: 2rem;
    padding: 1rem 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f2e268;
    color: #333;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.tutorial-link {
    margin-top: 1.5rem;
}

.tutorial-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #f2e268;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tutorial-button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
