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

body {
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.menu-btn, .sub-btn {
    font-size: 18px;
    padding: 20px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* فاصله بین ایموجی و متن */
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s;
}

.big-btn { 
    font-size: 20px; 
    height: 100px; 
}

.sub-btn { 
    height: 80px; 
}

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.header h1 {
    color: white;
    font-size: 2.2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.back-btn:hover {
    background: white;
    color: #667eea;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    padding: 30px 20px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.menu-btn:hover::before {
    opacity: 0.1;
}

.menu-btn:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: #222;
}

.big-btn {
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sub-btn {
    height: 100px;
}

.emoji {
    font-size: 3rem;
}

/* صفحه رمز عبور */
.password-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.password-box {
    background: white;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    text-align: center;
    min-width: 350px;
}

.password-box h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.password-box input {
    width: 100%;
    padding: 15px;
    font-size: 1.3rem;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.password-box button {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.password-box button:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .header h1 {
        font-size: 1.8rem;
    }
    .back-btn {
        position: static;
        display: block;
        margin: 20px auto;
        transform: none;
    }
}