أصناف اختصاص الأفعال
📦 النحو الواضح
✨ The Prompt Phrase
الفعل الماضي يختص في الزمن ~الماضي~ بينما الفعل المضارع يختص بالزمن ~المضارع~ أما الزمن المستقبل فيختص به كل من الفعل ~المضارع~ و~الأمر~ على سواء
💻 Code Preview
📦 All-in-One Code
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="دليل تفاعلي شامل لفهم أزمنة الأفعال العربية الثلاثة">
<title>أصناف اختصاص الأفعال - Interactive Tutorial</title>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Amiri:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0e1a;
--surface: #0f1629;
--surface2: #1a2340;
--surface3: #243058;
--border: #2e3f6e;
--primary: #a78bfa;
--secondary: #38bdf8;
--accent: #34d399;
--gold: #fbbf24;
--rose: #fb7185;
--orange: #fb923c;
--text: #e2e8f0;
--text-dim: #94a3b8;
--grad-hero: linear-gradient(135deg,#1e1b4b,#312e81,#1e3a5f);
--grad-purple: linear-gradient(135deg,#7c3aed,#a78bfa);
--grad-cyan: linear-gradient(135deg,#0ea5e9,#38bdf8);
--grad-gold: linear-gradient(135deg,#d97706,#fbbf24);
--grad-green: linear-gradient(135deg,#059669,#34d399);
--grad-rose: linear-gradient(135deg,#e11d48,#fb7185);
--shadow: 0 8px 32px rgba(0,0,0,.5);
--shadow-glow: 0 0 30px rgba(167,139,250,.25);
--radius: 16px;
--radius-lg: 24px;
--radius-xl: 32px;
--radius-full: 9999px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Tajawal', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; overflow-x: hidden; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--grad-purple); border-radius: var(--radius-full); }
/* NAV */
.nav { position: fixed; top: 0; right: 0; left: 0; z-index: 999; background: rgba(10,14,26,.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: .75rem 1.5rem; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nav-brand { font-size: 1.1rem; font-weight: 700; background: var(--grad-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: .5rem; list-style: none; }
.nav-links a { font-size: .8rem; font-weight: 500; color: var(--text-dim); padding: .35rem .75rem; border-radius: var(--radius-full); border: 1px solid transparent; transition: all .3s; text-decoration: none; }
.nav-links a:hover { color: var(--primary); border-color: var(--primary); background: rgba(167,139,250,.1); }
/* HERO */
.hero { min-height: 100vh; background: var(--grad-hero); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 7rem 1.5rem 4rem; text-align: center; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(167,139,250,.06) 1px,transparent 1px), linear-gradient(90deg,rgba(167,139,250,.06) 1px,transparent 1px); background-size: 60px 60px; animation: gridMove 25s linear infinite; }
@keyframes gridMove { 0% { transform: translate(0,0); } 100% { transform: translate(60px,60px); } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: orbPulse 8s ease-in-out infinite; }
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle,#7c3aed,transparent 70%); top: -150px; right: -150px; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle,#0ea5e9,transparent 70%); bottom: -100px; left: -100px; animation-delay: 4s; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle,#059669,transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 2s; }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.15); opacity: .5; } }
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; animation: particleFloat linear infinite; opacity: 0; }
.particle:nth-child(1) { left:10%; animation-duration:7s; animation-delay:0s; }
.particle:nth-child(2) { left:25%; animation-duration:9s; animation-delay:1s; background:var(--secondary); }
.particle:nth-child(3) { left:40%; animation-duration:6s; animation-delay:2s; background:var(--accent); }
.particle:nth-child(4) { left:55%; animation-duration:8s; animation-delay:.5s; background:var(--gold); }
.particle:nth-child(5) { left:70%; animation-duration:10s; animation-delay:3s; background:var(--rose); }
.particle:nth-child(6) { left:85%; animation-duration:7s; animation-delay:1.5s; }
@keyframes particleFloat { 0% { bottom:-10px; opacity:0; transform:translateX(0) rotate(0deg); } 10% { opacity:.8; } 90% { opacity:.6; } 100% { bottom:110%; opacity:0; transform:translateX(60px) rotate(360deg); } }
.hero-content { position: relative; z-index: 2; max-width: 950px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(167,139,250,.15); border: 1px solid rgba(167,139,250,.3); border-radius: var(--radius-full); padding: .5rem 1.25rem; font-size: .9rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; animation: fadeSlideDown .8s ease both; }
.hero-title { font-size: clamp(2rem,6vw,4.5rem); font-weight: 900; line-height: 1.2; margin-bottom: 1rem; animation: fadeSlideDown .8s ease .15s both; }
.hero-title-main { display: inline-block; font-family: 'Amiri', serif; font-size: clamp(2.5rem,7vw,5.5rem); font-weight: 700; background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 20px rgba(251,191,36,.4)); animation: fadeSlideDown .8s ease .3s both, glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { filter: drop-shadow(0 0 20px rgba(251,191,36,.4)); } 50% { filter: drop-shadow(0 0 40px rgba(251,191,36,.8)); } }
.hero-subtitle { font-size: clamp(1rem,2.5vw,1.3rem); color: rgba(226,232,240,.85); margin-bottom: 2.5rem; font-family: 'Amiri', serif; line-height: 2; animation: fadeSlideDown .8s ease .45s both; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; animation: fadeSlideDown .8s ease .6s both; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.4rem; border-radius: var(--radius-full); font-size: .9rem; font-weight: 600; border: 1px solid; transition: all .3s; }
.hero-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hb-past { background: rgba(251,113,133,.1); border-color: rgba(251,113,133,.4); color: var(--rose); }
.hb-present { background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.4); color: var(--secondary); }
.hb-future { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.4); color: var(--accent); }
@keyframes fadeSlideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section:nth-child(even) { background: rgba(15,22,41,.5); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--primary); background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.25); padding: .35rem 1rem; border-radius: var(--radius-full); margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; line-height: 1.3; margin-bottom: .75rem; }
.section-desc { font-size: 1.1rem; color: var(--text-dim); max-width: 700px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.5rem; }
/* VERB TIMELINE */
.timeline-bar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 3rem 2rem; margin-bottom: 3rem; position: relative; overflow: hidden; }
.timeline-bar::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--rose),var(--secondary),var(--accent)); }
.tl-track { position: relative; height: 80px; margin: 2rem 0; }
.tl-line { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--rose),var(--secondary),var(--accent)); transform: translateY(-50%); border-radius: 2px; }
.tl-labels { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.tl-point { text-align: center; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; margin: 0 auto .5rem; border: 3px solid var(--bg); box-shadow: 0 0 15px currentColor; }
.tl-dot-past { background: var(--rose); color: var(--rose); }
.tl-dot-present { background: var(--secondary); color: var(--secondary); }
.tl-dot-future { background: var(--accent); color: var(--accent); }
.tl-label { font-size: .85rem; font-weight: 700; }
.tl-verb { font-family: 'Amiri', serif; font-size: 1.2rem; font-weight: 700; }
.tl-label-past { color: var(--rose); }
.tl-label-present { color: var(--secondary); }
.tl-label-future { color: var(--accent); }
/* VERB CARDS */
.verb-card { border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: all .3s; border: 2px solid; }
.verb-card:hover { transform: translateY(-8px); }
.verb-card-past { background: linear-gradient(135deg,rgba(251,113,133,.15),rgba(251,113,133,.05)); border-color: rgba(251,113,133,.4); }
.verb-card-past:hover { box-shadow: 0 0 40px rgba(251,113,133,.25); border-color: var(--rose); }
.verb-card-present { background: linear-gradient(135deg,rgba(56,189,248,.15),rgba(56,189,248,.05)); border-color: rgba(56,189,248,.4); }
.verb-card-present:hover { box-shadow: 0 0 40px rgba(56,189,248,.25); border-color: var(--secondary); }
.verb-card-imperative { background: linear-gradient(135deg,rgba(52,211,153,.15),rgba(52,211,153,.05)); border-color: rgba(52,211,153,.4); }
.verb-card-imperative:hover { box-shadow: 0 0 40px rgba(52,211,153,.25); border-color: var(--accent); }
.verb-card-badge { display: inline-block; padding: .3rem .9rem; border-radius: var(--radius-full); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.badge-past { background: rgba(251,113,133,.2); color: var(--rose); border: 1px solid rgba(251,113,133,.4); }
.badge-present { background: rgba(56,189,248,.2); color: var(--secondary); border: 1px solid rgba(56,189,248,.4); }
.badge-imperative { background: rgba(52,211,153,.2); color: var(--accent); border: 1px solid rgba(52,211,153,.4); }
.verb-card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.verb-card-arabic { font-family: 'Amiri', serif; font-size: 3rem; font-weight: 700; display: block; margin: 1rem 0; line-height: 1; }
.verb-card-past .verb-card-arabic { color: var(--rose); }
.verb-card-present .verb-card-arabic { color: var(--secondary); }
.verb-card-imperative .verb-card-arabic { color: var(--accent); }
.verb-card-desc { font-size: .95rem; color: var(--text-dim); line-height: 1.8; }
.verb-card-time { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.time-tag { padding: .25rem .75rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; }
.time-tag-past { background: rgba(251,113,133,.15); color: var(--rose); border: 1px solid rgba(251,113,133,.3); }
.time-tag-present { background: rgba(56,189,248,.15); color: var(--secondary); border: 1px solid rgba(56,189,248,.3); }
.time-tag-future { background: rgba(52,211,153,.15); color: var(--accent); border: 1px solid rgba(52,211,153,.3); }
/* SPECIAL FUTURE BOX */
.future-box { background: linear-gradient(135deg,rgba(52,211,153,.15),rgba(56,189,248,.1)); border: 2px solid rgba(52,211,153,.4); border-radius: var(--radius-xl); padding: 3rem; text-align: center; position: relative; overflow: hidden; margin: 3rem 0; }
.future-box::before { content: '🌟'; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 5rem; opacity: .1; }
.future-box-title { font-size: 1.8rem; font-weight: 900; color: var(--accent); margin-bottom: 1rem; }
.future-box-desc { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.future-verbs { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.future-verb { background: var(--surface2); border: 2px solid rgba(52,211,153,.3); border-radius: var(--radius-lg); padding: 1.5rem 2.5rem; text-align: center; transition: all .3s; }
.future-verb:hover { border-color: var(--accent); transform: scale(1.05); box-shadow: 0 0 30px rgba(52,211,153,.2); }
.future-verb-arabic { font-family: 'Amiri', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: .5rem; }
.future-verb-label { font-size: .9rem; color: var(--text-dim); }
.future-equals { font-size: 2rem; color: var(--accent); display: flex; align-items: center; font-weight: 900; }
/* TABS */
.tabs { margin: 2rem 0; }
.tabs input[type="radio"] { display: none; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem; }
.tab-btn { flex: 1; min-width: 120px; padding: .75rem 1.25rem; border-radius: 8px; cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--text-dim); text-align: center; transition: all .3s; border: 1px solid transparent; }
.tab-btn:hover { color: var(--text); background: var(--surface2); }
.tab-panel { display: none; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
#tab1:checked ~ .tabs-nav .tab-btn[for="tab1"] { background: var(--grad-rose); color: #fff; box-shadow: 0 4px 15px rgba(251,113,133,.3); }
#tab2:checked ~ .tabs-nav .tab-btn[for="tab2"] { background: var(--grad-cyan); color: #fff; box-shadow: 0 4px 15px rgba(56,189,248,.3); }
#tab3:checked ~ .tabs-nav .tab-btn[for="tab3"] { background: var(--grad-green); color: #fff; box-shadow: 0 4px 15px rgba(52,211,153,.3); }
#tab1:checked ~ .tabs-panels .tab-panel[data-panel="1"] { display: block; }
#tab2:checked ~ .tabs-panels .tab-panel[data-panel="2"] { display: block; }
#tab3:checked ~ .tabs-panels .tab-panel[data-panel="3"] { display: block; }
/* ACCORDION */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.accordion-item:hover { border-color: var(--primary); }
.accordion-item[open] { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.accordion-summary { padding: 1.25rem 1.75rem; cursor: pointer; font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 1rem; list-style: none; user-select: none; transition: all .3s; }
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary:hover { background: rgba(167,139,250,.05); }
.accordion-icon { flex-shrink: 0; width: 28px; height: 28px; background: rgba(167,139,250,.15); border: 1px solid rgba(167,139,250,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; color: var(--primary); transition: transform .3s ease; }
.accordion-item[open] .accordion-icon { transform: rotate(180deg); }
.accordion-body { padding: 0 1.75rem 1.75rem; font-size: 1rem; color: var(--text-dim); line-height: 1.9; border-top: 1px solid var(--border); padding-top: 1.25rem; }
/* ALERT */
.alert { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; font-size: .95rem; line-height: 1.8; border-right: 4px solid; }
.alert-icon { font-size: 1.4rem; flex-shrink: 0; }
.alert-info { background: rgba(56,189,248,.08); border-color: var(--secondary); color: var(--secondary); }
.alert-warning { background: rgba(251,191,36,.08); border-color: var(--gold); color: var(--gold); }
.alert-success { background: rgba(52,211,153,.08); border-color: var(--accent); color: var(--accent); }
.alert-danger { background: rgba(251,113,133,.08); border-color: var(--rose); color: var(--rose); }
.alert-body { color: var(--text); }
.alert-body strong { color: inherit; }
/* EXAMPLES TABLE */
.ex-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.ex-table th { background: var(--surface2); padding: 1rem 1.5rem; text-align: right; font-size: .9rem; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--border); }
.ex-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 1rem; vertical-align: middle; }
.ex-table tr:hover td { background: rgba(167,139,250,.04); }
.ex-table .arabic { font-family: 'Amiri', serif; font-size: 1.4rem; font-weight: 700; }
.ex-table .past { color: var(--rose); }
.ex-table .present { color: var(--secondary); }
.ex-table .imperative { color: var(--accent); }
.ex-table .future-shared { color: var(--accent); background: rgba(52,211,153,.08); border-radius: 6px; padding: .2rem .6rem; font-size: .85rem; font-weight: 700; }
/* MISTAKE */
.mistake { background: var(--surface); border: 1px solid rgba(251,113,133,.25); border-radius: var(--radius-lg); padding: 1.75rem; position: relative; overflow: hidden; transition: all .3s; }
.mistake:hover { border-color: var(--rose); box-shadow: 0 0 25px rgba(251,113,133,.15); transform: translateY(-4px); }
.mistake::before { content: '✗'; position: absolute; top: -10px; left: 15px; font-size: 5rem; font-weight: 900; color: rgba(251,113,133,.06); line-height: 1; }
.mistake-badge { display: inline-block; background: rgba(251,113,133,.15); border: 1px solid rgba(251,113,133,.3); border-radius: var(--radius-full); padding: .25rem .75rem; font-size: .75rem; font-weight: 700; color: var(--rose); margin-bottom: 1rem; }
.mistake-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.mistake-wrong { background: rgba(251,113,133,.1); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .75rem; font-size: 1rem; color: var(--rose); border-right: 3px solid var(--rose); }
.mistake-correct { background: rgba(52,211,153,.1); border-radius: 8px; padding: .75rem 1rem; font-size: 1rem; color: var(--accent); border-right: 3px solid var(--accent); }
.mistake-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .25rem; opacity: .7; }
/* PRO TIPS */
.protip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; gap: 1.25rem; align-items: flex-start; transition: all .3s; position: relative; overflow: hidden; }
.protip:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.protip::after { content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 3px; background: linear-gradient(90deg,#a78bfa,#38bdf8,#34d399,#fbbf24,#fb7185); transform: scaleX(0); transform-origin: right; transition: transform .4s ease; }
.protip:hover::after { transform: scaleX(1); }
.protip-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; }
.protip-body { flex: 1; }
.protip-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.protip-text { font-size: .95rem; color: var(--text-dim); line-height: 1.8; }
/* QUIZ */
.quiz { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.quiz::before { content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: radial-gradient(circle,rgba(167,139,250,.08),transparent 70%); border-radius: 50%; }
.quiz-num { display: inline-flex; align-items: center; gap: .5rem; background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.25); border-radius: var(--radius-full); padding: .3rem .9rem; font-size: .8rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; }
.quiz-question { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.75rem; line-height: 1.6; }
.quiz-options { display: flex; flex-direction: column; gap: .75rem; }
.quiz input[type="radio"] { display: none; }
.quiz-label { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--surface2); border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 1rem; transition: all .3s; }
.quiz-label:hover { background: var(--surface3); border-color: var(--primary); transform: translateX(-4px); }
.quiz-dot { flex-shrink: 0; width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 50%; transition: all .3s; }
.quiz input[type="radio"]:checked + .quiz-label { border-color: var(--primary); background: rgba(167,139,250,.1); }
.quiz input[type="radio"]:checked + .quiz-label .quiz-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 10px rgba(167,139,250,.5); }
.quiz-feedback { display: none; margin-top: 1.25rem; }
.feedback-correct { background: rgba(52,211,153,.1); border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.25rem; color: var(--accent); }
.feedback-wrong { background: rgba(251,113,133,.1); border: 2px solid var(--rose); border-radius: var(--radius); padding: 1.25rem; color: var(--rose); }
.feedback-title { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.feedback-body { font-size: .9rem; line-height: 1.7; color: var(--text-dim); }
#q1a:checked~.quiz-feedback .fb-q1a,#q1b:checked~.quiz-feedback .fb-q1b,#q1c:checked~.quiz-feedback .fb-q1c,#q1d:checked~.quiz-feedback .fb-q1d,
#q2a:checked~.quiz-feedback .fb-q2a,#q2b:checked~.quiz-feedback .fb-q2b,#q2c:checked~.quiz-feedback .fb-q2c,#q2d:checked~.quiz-feedback .fb-q2d,
#q3a:checked~.quiz-feedback .fb-q3a,#q3b:checked~.quiz-feedback .fb-q3b,#q3c:checked~.quiz-feedback .fb-q3c,#q3d:checked~.quiz-feedback .fb-q3d { display: block; }
/* CHEATSHEET */
.cheatsheet { background: linear-gradient(135deg,#1e1b4b 0%,#1e3a5f 50%,#14532d 100%); border: 1px solid rgba(167,139,250,.3); border-radius: var(--radius-xl); padding: 3rem; position: relative; overflow: hidden; }
.cheatsheet::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.03) 1px,transparent 1px); background-size: 30px 30px; }
.cheatsheet-header { text-align: center; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.cheatsheet-title { font-size: 2rem; font-weight: 900; background: linear-gradient(90deg,#a78bfa,#38bdf8,#34d399,#fbbf24,#fb7185); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cheatsheet-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.25rem; position: relative; z-index: 1; }
.cheatsheet-item { background: rgba(255,255,255,.06); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.5rem; transition: all .3s; }
.cheatsheet-item:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cheatsheet-item-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.cheatsheet-item-title { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.cheatsheet-item-value { font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.7; }
.cheatsheet-item-value .hl-r { color: var(--rose); }
.cheatsheet-item-value .hl-b { color: var(--secondary); }
.cheatsheet-item-value .hl-g { color: var(--accent); }
.cheatsheet-item-value .hl-y { color: var(--gold); }
.cheatsheet-main { grid-column: 1 / -1; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); text-align: center; }
.cheatsheet-main-text { font-family: 'Amiri', serif; font-size: 1.5rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: .5rem; filter: drop-shadow(0 0 10px rgba(52,211,153,.4)); }
/* CONFETTI */
.confetti-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; opacity: 0; transition: opacity .5s; }
#q1b:checked ~ .confetti-wrap,
#q2c:checked ~ .confetti-wrap,
#q3d:checked ~ .confetti-wrap { opacity: 1; }
.confetti { position: absolute; top: -20px; width: 10px; height: 10px; animation: confettiFall 4s ease-in infinite; }
.confetti:nth-child(1) { left:5%; background:#a78bfa; animation-delay:0s; animation-duration:3.5s; }
.confetti:nth-child(2) { left:15%; background:#38bdf8; animation-delay:.3s; animation-duration:4s; border-radius:50%; }
.confetti:nth-child(3) { left:25%; background:#34d399; animation-delay:.6s; animation-duration:3.8s; }
.confetti:nth-child(4) { left:35%; background:#fbbf24; animation-delay:.1s; animation-duration:4.2s; border-radius:50%; }
.confetti:nth-child(5) { left:45%; background:#fb7185; animation-delay:.8s; animation-duration:3.6s; }
.confetti:nth-child(6) { left:55%; background:#a78bfa; animation-delay:.4s; animation-duration:4.1s; }
.confetti:nth-child(7) { left:65%; background:#38bdf8; animation-delay:.9s; animation-duration:3.7s; border-radius:50%; }
.confetti:nth-child(8) { left:75%; background:#34d399; animation-delay:.2s; animation-duration:4.3s; }
.confetti:nth-child(9) { left:85%; background:#fbbf24; animation-delay:.7s; animation-duration:3.9s; }
.confetti:nth-child(10) { left:95%; background:#fb7185; animation-delay:.5s; animation-duration:4s; border-radius:50%; }
@keyframes confettiFall { 0% { top:-20px; opacity:1; transform:translateX(0) rotate(0deg); } 100% { top:110vh; opacity:0; transform:translateX(80px) rotate(720deg); } }
/* FOOTER */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 1.5rem; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; background: linear-gradient(90deg,#a78bfa,#38bdf8,#34d399,#fbbf24,#fb7185); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.footer-tagline { font-size: 1rem; color: var(--text-dim); margin-bottom: 2rem; }
.footer-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--grad-purple); color: #fff; padding: .75rem 2rem; border-radius: var(--radius-full); font-weight: 700; font-size: 1rem; box-shadow: 0 4px 20px rgba(124,58,237,.4); margin-bottom: 2rem; transition: all .3s; }
.footer-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(124,58,237,.5); }
.footer-meta { font-size: .85rem; color: #475569; }
.footer-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.footer-tag { padding: .3rem .8rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: .75rem; color: var(--text-dim); }
@media (max-width: 768px) {
.nav-links { display: none; }
.future-verbs { flex-direction: column; align-items: center; }
.future-equals { justify-content: center; }
.cheatsheet { padding: 2rem 1.25rem; }
.protip { flex-direction: column; }
.ex-table { font-size: .9rem; }
.ex-table th, .ex-table td { padding: .75rem 1rem; }
}
</style>
</head>
<body>
<!-- NAV -->
<nav class="nav">
<div class="nav-inner">
<div class="nav-brand">🎓 أزمنة الأفعال</div>
<ul class="nav-links">
<li><a href="#what">ما هو؟</a></li>
<li><a href="#types">الأنواع</a></li>
<li><a href="#future">المستقبل</a></li>
<li><a href="#quiz">اختبار</a></li>
</ul>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<div class="hero-orb hero-orb-1"></div>
<div class="hero-orb hero-orb-2"></div>
<div class="hero-orb hero-orb-3"></div>
<div class="hero-particles">
<div class="particle"></div><div class="particle"></div><div class="particle"></div>
<div class="particle"></div><div class="particle"></div><div class="particle"></div>
</div>
<div class="hero-content">
<div class="hero-eyebrow"><span>✨</span><span>دليل شامل لأزمنة الأفعال العربية</span></div>
<h1 class="hero-title"><span class="hero-title-main">أصناف اختصاص الأفعال</span></h1>
<p class="hero-subtitle">
الفعل الماضي يختص بالزمن الماضي<br>
الفعل المضارع يختص بالحاضر والمستقبل<br>
الزمن المستقبل يشترك فيه المضارع والأمر معاً
</p>
<div class="hero-badges">
<div class="hero-badge hb-past"><span>⏮️</span><span>الماضي</span></div>
<div class="hero-badge hb-present"><span>⏺️</span><span>المضارع</span></div>
<div class="hero-badge hb-future"><span>⏭️</span><span>المستقبل</span></div>
</div>
</div>
</section>
<!-- SECTION 1: WHAT IS IT -->
<section class="section" id="what">
<div class="container">
<div class="section-header">
<div class="section-label">القسم الأول</div>
<h2 class="section-title">📖 ما هو اختصاص الأفعال بالأزمنة؟</h2>
<p class="section-desc">فهم شامل لكيفية ارتباط الأفعال العربية بالأزمنة الثلاثة</p>
</div>
<div class="timeline-bar">
<h3 style="text-align:center;font-size:1.3rem;font-weight:700;margin-bottom:2rem;color:var(--text-dim)">خط الزمن — The Time Axis</h3>
<div class="tl-labels">
<div class="tl-point">
<div class="tl-dot tl-dot-past"></div>
<div class="tl-label tl-label-past">⏮️ الماضي</div>
<div class="tl-verb tl-label-past">كَتَبَ</div>
</div>
<div class="tl-point">
<div class="tl-dot tl-dot-present"></div>
<div class="tl-label tl-label-present">⏺️ الحاضر</div>
<div class="tl-verb tl-label-present">يَكْتُبُ</div>
</div>
<div class="tl-point">
<div class="tl-dot tl-dot-future"></div>
<div class="tl-label tl-label-future">⏭️ المستقبل</div>
<div class="tl-verb tl-label-future">سَيَكْتُبُ / اكْتُبْ</div>
</div>
</div>
<div style="text-align:center;margin-top:2rem;padding:1.5rem;background:var(--surface2);border-radius:var(--radius);border:1px solid var(--border)">
<p style="font-family:'Amiri',serif;font-size:1.3rem;line-height:2;color:var(--text)">
الفعل الماضي يختص بالزمن <span style="color:var(--rose);font-weight:700">الماضي</span> ·
الفعل المضارع يختص بالزمن <span style="color:var(--secondary);font-weight:700">المضارع</span> ·
أما الزمن المستقبل فيختص به كل من الفعل <span style="color:var(--accent);font-weight:700">المضارع</span> و<span style="color:var(--accent);font-weight:700">الأمر</span> على سواء
</p>
</div>
</div>
<div class="alert alert-info">
<span class="alert-icon">💡</span>
<div class="alert-body">
<strong>المفهوم الأساسي:</strong> في اللغة العربية، كل فعل له "اختصاص" زمني — أي الزمن الذي يعبّر عنه. الفعل الماضي للماضي فقط، والفعل المضارع للحاضر والمستقبل، والفعل الأمر للمستقبل فقط.
</div>
</div>
</div>
</section>
<!-- SECTION 2: THE THREE TYPES -->
<section class="section" id="types">
<div class="container">
<div class="section-header">
<div class="section-label">القسم الثاني</div>
<h2 class="section-title">🔍 الأفعال الثلاثة وأزمنتها</h2>
<p class="section-desc">دراسة تفصيلية لكل نوع من أنواع الأفعال وعلاقته بالزمن</p>
</div>
<div class="grid-3">
<div class="verb-card verb-card-past">
<div class="verb-card-badge badge-past">الفعل الماضي</div>
<div class="verb-card-title">Past Tense</div>
<span class="verb-card-arabic">كَتَبَ</span>
<p class="verb-card-desc">يدل على حدوث فعل قبل زمن التكلم. يختص بالزمن الماضي فقط ولا يشترك مع أي زمن آخر.</p>
<div class="verb-card-time">
<span class="time-tag time-tag-past">⏮️ الماضي فقط</span>
</div>
</div>
<div class="verb-card verb-card-present">
<div class="verb-card-badge badge-present">الفعل المضارع</div>
<div class="verb-card-title">Present/Future Tense</div>
<span class="verb-card-arabic">يَكْتُبُ</span>
<p class="verb-card-desc">يدل على حدوث فعل في زمن التكلم أو بعده. يختص بالحاضر ويشارك المستقبل مع فعل الأمر.</p>
<div class="verb-card-time">
<span class="time-tag time-tag-present">⏺️ الحاضر</span>
<span class="time-tag time-tag-future">⏭️ المستقبل</span>
</div>
</div>
<div class="verb-card verb-card-imperative">
<div class="verb-card-badge badge-imperative">فعل الأمر</div>
<div class="verb-card-title">Imperative Tense</div>
<span class="verb-card-arabic">اكْتُبْ</span>
<p class="verb-card-desc">يطلب حصول فعل بعد زمن التكلم. يختص بالمستقبل فقط ويشارك المضارع في هذا الزمن.</p>
<div class="verb-card-time">
<span class="time-tag time-tag-future">⏭️ المستقبل فقط</span>
</div>
</div>
</div>
<div class="accordion" style="margin-top:3rem">
<details class="accordion-item">
<summary class="accordion-summary">
<span class="accordion-icon">▼</span>
<span>🔴 الفعل الماضي — تفصيل شامل</span>
</summary>
<div class="accordion-body">
<p>الفعل الماضي هو الفعل الذي يدل على حدوث فعل <strong>قبل زمن التكلم</strong>. وهو يختص بالزمن الماضي وحده، ولا يشترك مع أي زمن آخر.</p>
<div style="background:var(--surface2);padding:1.5rem;border-radius:var(--radius);margin-top:1.5rem;border-right:4px solid var(--rose)">
<p style="color:var(--rose);font-weight:700;margin-bottom:1rem">أمثلة على الفعل الماضي:</p>
<p style="font-family:'Amiri',serif;font-size:1.3rem;line-height:2.5;color:var(--text)">
كَتَبَ (he wrote) · ذَهَبَ (he went) · أَكَلَ (he ate) · نَامَ (he slept) · قَرَأَ (he read)
</p>
</div>
<div class="alert alert-warning" style="margin-top:1.5rem">
<span class="alert-icon">⚠️</span>
<div class="alert-body"><strong>ملاحظة:</strong> الفعل الماضي مبني دائماً (على الفتح، السكون، أو الضم) ولا يتأثر بالعوامل.</div>
</div>
</div>
</details>
<details class="accordion-item">
<summary class="accordion-summary">
<span class="accordion-icon">▼</span>
<span>🔵 الفعل المضارع — تفصيل شامل</span>
</summary>
<div class="accordion-body">
<p>الفعل المضارع هو الفعل الذي يدل على حدوث فعل <strong>في زمن التكلم أو بعده</strong>. وهو يختص بزمنين: الحاضر والمستقبل.</p>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.5rem">
<div style="background:rgba(56,189,248,.1);padding:1.5rem;border-radius:var(--radius);border:1px solid rgba(56,189,248,.3)">
<div style="color:var(--secondary);font-weight:700;margin-bottom:.75rem">⏺️ للحاضر</div>
<div style="font-family:'Amiri',serif;font-size:1.3rem;color:var(--text)">يَكْتُبُ الآن</div>
<div style="font-size:.9rem;color:var(--text-dim);margin-top:.5rem">He is writing now</div>
</div>
<div style="background:rgba(52,211,153,.1);padding:1.5rem;border-radius:var(--radius);border:1px solid rgba(52,211,153,.3)">
<div style="color:var(--accent);font-weight:700;margin-bottom:.75rem">⏭️ للمستقبل</div>
<div style="font-family:'Amiri',serif;font-size:1.3rem;color:var(--text)">سَيَكْتُبُ غداً</div>
<div style="font-size:.9rem;color:var(--text-dim);margin-top:.5rem">He will write tomorrow</div>
</div>
</div>
</div>
</details>
<details class="accordion-item">
<summary class="accordion-summary">
<span class="accordion-icon">▼</span>
<span>🟢 فعل الأمر — تفصيل شامل</span>
</summary>
<div class="accordion-body">
<p>فعل الأمر هو الفعل الذي يطلب حصول فعل <strong>بعد زمن التكلم</strong>. وهو يختص بالزمن المستقبل فقط.</p>
<div style="background:rgba(52,211,153,.1);padding:1.5rem;border-radius:var(--radius);margin-top:1.5rem;border-right:4px solid var(--accent)">
<p style="color:var(--accent);font-weight:700;margin-bottom:1rem">لماذا هو للمستقبل دائماً؟</p>
<p style="color:var(--text-dim);line-height:2">لأن الشخص لا يستطيع تنفيذ الأمر إلا <strong style="color:var(--accent)">بعد</strong> انتهاء المتكلم من كلامه. فالتنفيذ يأتي دائماً في المستقبل.</p>
</div>
</div>
</details>
</div>
</div>
</section>
<!-- SECTION 3: THE FUTURE IS SHARED -->
<section class="section" id="future">
<div class="container">
<div class="section-header">
<div class="section-label">القسم الثالث</div>
<h2 class="section-title">⭐ المستقبل المشترك</h2>
<p class="section-desc">لماذا يشترك المضارع والأمر في الزمن المستقبل؟</p>
</div>
<div class="future-box">
<div class="future-box-title">🌟 الزمن المستقبل — مشترك بين فعلين!</div>
<p class="future-box-desc">هذه هي القاعدة الفريدة: الزمن المستقبل لا يختص به فعل واحد، بل يشترك فيه كل من الفعل المضارع وفعل الأمر على قدم المساواة</p>
<div class="future-verbs">
<div class="future-verb">
<span class="future-verb-arabic">سَيَكْتُبُ</span>
<span class="future-verb-label">الفعل المضارع</span>
<span style="font-size:.8rem;color:var(--text-dim);margin-top:.25rem;display:block">He will write</span>
</div>
<div class="future-equals">+</div>
<div class="future-verb">
<span class="future-verb-arabic">اكْتُبْ</span>
<span class="future-verb-label">فعل الأمر</span>
<span style="font-size:.8rem;color:var(--text-dim);margin-top:.25rem;display:block">Write!</span>
</div>
<div class="future-equals">=</div>
<div class="future-verb" style="border-color:rgba(251,191,36,.4)">
<span class="future-verb-arabic" style="color:var(--gold)">المستقبل</span>
<span class="future-verb-label" style="color:var(--gold)">مشترك بينهما</span>
<span style="font-size:.8rem;color:var(--text-dim);margin-top:.25rem;display:block">Shared Future</span>
</div>
</div>
</div>
<!-- TABS: Examples by Tense -->
<div class="tabs">
<input type="radio" name="demo" id="tab1" checked>
<input type="radio" name="demo" id="tab2">
<input type="radio" name="demo" id="tab3">
<div class="tabs-nav">
<label class="tab-btn" for="tab1">🔴 أمثلة الماضي</label>
<label class="tab-btn" for="tab2">🔵 أمثلة المضارع</label>
<label class="tab-btn" for="tab3">🟢 أمثلة الأمر</label>
</div>
<div class="tabs-panels">
<div class="tab-panel" data-panel="1">
<div style="background:var(--surface);border:1px solid rgba(251,113,133,.3);border-radius:var(--radius-lg);padding:2rem">
<h3 style="color:var(--rose);font-size:1.2rem;font-weight:700;margin-bottom:1.5rem">🔴 الفعل الماضي — يختص بالماضي فقط</h3>
<table
Live Preview