/* === MENU SCREEN === */ .menu-title { font-size: clamp(2.5rem,6vw,4rem); background: linear-gradient(135deg, #93c5fd, #6366f1, #fca5a5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .menu-subtitle { color: var(--text-muted); text-align: center; margin: 8px 0 32px; font-size: 1.1rem; } .menu-badge { display: flex; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; } .badge-item { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 24px; text-align: center; } .badge-item span { display: block; font-size: 1.5rem; font-weight: 900; } .badge-item small { color: var(--text-muted); font-size: 0.85rem; } .menu-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; } /* === SETUP SCREEN === */ .setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; max-width: 800px; margin-top: 16px; } @media (max-width: 640px) { .setup-grid { grid-template-columns: 1fr; } } .setup-team { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 20px; } .setup-team h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; } .setup-team .player-input { margin-bottom: 10px; } .setup-team .player-input label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; } .setup-start { margin-top: 24px; display: flex; justify-content: center; } /* === GAME SCREEN === */ .game-header { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 16px; gap: 12px; } .game-round { font-size: 0.9rem; color: var(--text-muted); text-align: center; } .scoreboard { display: flex; width: 100%; gap: 12px; margin-bottom: 20px; } .score-team { flex: 1; padding: 16px; border-radius: var(--radius); text-align: center; position: relative; overflow: hidden; transition: all 0.3s; } .score-team.active-score { transform: scale(1.03); } .score-team.t1 { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05)); border: 2px solid rgba(59,130,246,0.3); } .score-team.t2 { background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05)); border: 2px solid rgba(239,68,68,0.3); } .score-team .name { font-weight: 700; font-size: 1rem; } .score-team .score { font-size: 2rem; font-weight: 900; margin-top: 4px; } .score-team .score-pulse { animation: bounceIn 0.4s ease; } .score-team .players-row { display: flex; justify-content: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; } .player-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; transition: all 0.3s; } .player-dot.active { transform: scale(1.3); box-shadow: 0 0 12px currentColor; } .player-dot.played { opacity: 0.4; } .player-dot.correct { box-shadow: 0 0 16px #22c55e; border: 2px solid #22c55e; } .player-dot.wrong { box-shadow: 0 0 16px var(--team2); border: 2px solid var(--team2); } /* === QUESTION AREA === */ .question-area { width: 100%; max-width: 700px; margin: 8px auto; } .question-card { background: var(--card); backdrop-filter: blur(12px); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px; text-align: center; animation: slideUp 0.4s ease; } .q-turn { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; } .q-player-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; } .q-text { font-size: clamp(1.1rem,2.5vw,1.4rem); font-weight: 600; margin: 16px 0; line-height: 1.6; } .q-timer-wrap { height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; margin: 12px 0 20px; overflow: hidden; } .q-timer-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #22c55e, var(--gold)); transition: width 0.1s linear; } .q-timer-bar.danger { background: linear-gradient(90deg, var(--team2), #f97316); } .q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .q-option { padding: 14px 18px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); color: var(--text); font-size: 1rem; cursor: pointer; transition: all 0.3s; font-weight: 500; } .q-option:hover:not(:disabled) { border-color: var(--primary); background: rgba(99,102,241,0.1); transform: translateY(-2px); } .q-option.selected-correct { border-color: #22c55e; background: rgba(34,197,94,0.15); color: #22c55e; } .q-option.selected-wrong { border-color: var(--team2); background: rgba(239,68,68,0.15); color: var(--team2); animation: shake 0.4s ease; } .q-option.show-correct { border-color: #22c55e; background: rgba(34,197,94,0.1); } .q-option:disabled { cursor: not-allowed; } .q-feedback { margin-top: 16px; font-size: 1.1rem; font-weight: 700; animation: bounceIn 0.3s ease; } .q-feedback.correct { color: #22c55e; } .q-feedback.wrong { color: var(--team2); } .q-next-btn { margin-top: 16px; } /* === HALFTIME === */ .halftime-card { text-align: center; padding: 40px; } .halftime-card h2 { margin-bottom: 16px; } .halftime-scores { display: flex; justify-content: center; gap: 40px; margin: 24px 0; } .halftime-team { text-align: center; } .halftime-team .big-score { font-size: 3rem; font-weight: 900; } .halftime-vs { font-size: 2rem; color: var(--text-muted); display: flex; align-items: center; } /* === RESULT SCREEN === */ .result-card { text-align: center; padding: 40px; animation: bounceIn 0.6s ease; } .result-trophy { font-size: 5rem; margin-bottom: 8px; animation: float 2s ease-in-out infinite; } .result-title { font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 900; margin-bottom: 8px; } .result-sub { color: var(--text-muted); margin-bottom: 24px; } .result-scores { display: flex; justify-content: center; gap: 48px; margin: 20px 0 32px; } .result-team { text-align: center; } .result-team .final-score { font-size: 3.5rem; font-weight: 900; } .result-team.winner .final-score { animation: pulse 1s ease infinite; } .result-team .team-label { font-size: 1rem; color: var(--text-muted); } .result-details { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.8; } .btn-restart { margin-top: 8px; } /* === CONFETTI === */ .confetti-piece { position: fixed; width: 10px; height: 10px; top: -10px; z-index: 1000; animation: confetti-fall linear forwards; pointer-events: none; } /* === TOAST === */ .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--card); backdrop-filter: blur(16px); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 24px; z-index: 2000; animation: slideUp 0.3s ease, fadeIn 0.3s ease; font-weight: 600; } /* === RESPONSIVE === */ @media (max-width: 480px) { .q-options { grid-template-columns: 1fr; } .score-team .score { font-size: 1.5rem; } .halftime-scores { gap: 20px; } .result-scores { gap: 24px; } .player-dot { width: 22px; height: 22px; font-size: 0.55rem; } }

معركة الفرق

📋 قوانين اللعبة

🔹 كل فريق يضم ٥ لاعبين

🔹 اللاعبون يجيبون بالتناوب — سؤال لكل لاعب

🔹 كل إجابة صحيحة = ١٠ نقاط

🔹 الوقت المحدد لكل سؤال ١٥ ثانية

🔹 الجولة النهائية مضاعفة (٢٠ نقطة)

🔹 الفريق الحاصل على أعلى نقاط يفوز 🏆

👥 تسجيل اللاعبين

أدخل أسماء اللاعبين لكل فريق

🔵 الفريق الأزرق

🔴 الفريق الأحمر

🔵 الفريق الأزرق
٠
🔴 الفريق الأحمر
٠
⏳ جاري تحمين السؤال...

⏸️ استراحة منتصف اللعبة

نصف الطريق! إليكم النتائج حتى الآن

🔵 الأزرق
٠
⚔️
🔴 الأحمر
٠
🏆
🎉 فاز الفريق الأزرق!
تهانينا للفريق الفائز! 🥳
٠
🔵 الأزرق
٠
🔴 الأحمر