انتقل إلى المحتوى

الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

من موسوعة زيارة الاربعين
لا ملخص تعديل
لا ملخص تعديل
سطر ١: سطر ١:
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&family=Scheherazade+New:wght@400;500;600;700&display=swap');


:root {
:root {
سطر ٧: سطر ٧:
   --accent-gold: #c9a961;
   --accent-gold: #c9a961;
   --accent-green: #5d8f47;
   --accent-green: #5d8f47;
   --accent-bright: #7fb069;
   --accent-emerald: #2ecc71;
  --accent-turquoise: #1abc9c;
   --background-white: #fefefe;
   --background-white: #fefefe;
   --background-cream: #faf9f7;
   --background-cream: #faf9f7;
سطر ١٤: سطر ١٥:
   --border-elegant: #e8e5e0;
   --border-elegant: #e8e5e0;
   --border-gold: #d4b76a;
   --border-gold: #d4b76a;
  --shadow-subtle: 0 2px 12px rgba(26, 71, 42, 0.1);
  --shadow-elevated: 0 6px 24px rgba(26, 71, 42, 0.15);
   --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.3);
   --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.3);
  --shadow-elevated: 0 8px 32px rgba(26, 71, 42, 0.2);
   --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   --serif-font: 'Amiri', 'Times New Roman', serif;
   --serif-font: 'Scheherazade New', 'Amiri', serif;
   --sans-font: 'Cairo', 'Segoe UI', sans-serif;
   --sans-font: 'Cairo', sans-serif;
}
}


/* ========================
/* ========================
   Animated Background
   Base Styling - Dynamic Background
========================= */
========================= */
body {
body {
   background: linear-gradient(-45deg, #f8f7f4, #f2f0eb, #f5f3f0, #f0ede8);
   background: linear-gradient(45deg,  
    #f8f7f4 0%,  
    #f2f0eb 25%,  
    #f5f3ef 50%,  
    #f0ede8 75%,
    #f8f7f4 100%);
   background-size: 400% 400%;
   background-size: 400% 400%;
   animation: gradientFlow 8s ease infinite;
   animation: gradientShift 8s ease infinite;
   color: var(--text-dark);
   color: var(--text-dark);
   line-height: 1.7;
   line-height: 1.7;
سطر ٣٩: سطر ٤٤:
}
}


@keyframes gradientFlow {
@keyframes gradientShift {
   0% { background-position: 0% 50%; }
   0%, 100% { background-position: 0% 50%; }
   50% { background-position: 100% 50%; }
   50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
}


/* Floating particles */
/* Floating particles effect */
body::before {
body::before {
   content: '';
   content: '';
سطر ٥٣: سطر ٥٧:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background-image:  
   background:  
     radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.1) 0%, transparent 30%),
     radial-gradient(2px 2px at 20% 30%, rgba(201, 169, 97, 0.4), transparent),
     radial-gradient(circle at 80% 80%, rgba(93, 143, 71, 0.08) 0%, transparent 25%),
     radial-gradient(2px 2px at 40% 70%, rgba(93, 143, 71, 0.3), transparent),
     radial-gradient(circle at 60% 40%, rgba(127, 176, 105, 0.06) 0%, transparent 20%);
     radial-gradient(1px 1px at 90% 40%, rgba(46, 204, 113, 0.3), transparent),
   animation: floatParticles 12s ease-in-out infinite;
    radial-gradient(1px 1px at 70% 90%, rgba(212, 175, 55, 0.4), transparent);
   animation: sparkle 6s linear infinite;
   pointer-events: none;
   pointer-events: none;
   z-index: -1;
   z-index: -1;
}
}


@keyframes floatParticles {
@keyframes sparkle {
   0%, 100% { transform: translateY(0px) rotate(0deg); }
   0%, 100% { opacity: 0.7; transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(90deg); }
   50% { opacity: 1; transform: translateY(-10px) rotate(180deg); }
   50% { transform: translateY(5px) rotate(180deg); }
  75% { transform: translateY(-5px) rotate(270deg); }
}
}


/* ========================
/* ========================
   Dynamic Header - More Exciting
   Header Styling - Majestic & Dynamic
========================= */
========================= */
.mw-body-header {
.mw-body-header {
   background: linear-gradient(135deg,  
   background: linear-gradient(135deg,  
     var(--primary-color) 0%,  
     var(--primary-color) 0%,  
     var(--secondary-color) 25%,
     var(--secondary-color) 30%,  
     var(--tertiary-color) 50%,
     var(--tertiary-color) 60%,  
     var(--accent-green) 75%,
     var(--accent-green) 100%);
    var(--accent-bright) 100%);
   background-size: 300% 300%;
   background-size: 300% 300%;
   animation: headerGradient 6s ease infinite;
   animation: headerGradient 4s ease infinite;
   border-bottom: 4px solid var(--accent-gold);
   border: none;
   padding: 28px 40px;
   padding: 30px 40px;
   text-align: center;
   text-align: center;
   font-family: var(--sans-font);
   font-family: var(--sans-font);
سطر ٨٨: سطر ٩٠:
   color: var(--background-white);
   color: var(--background-white);
   font-weight: 700;
   font-weight: 700;
   letter-spacing: 1.2px;
   letter-spacing: 1.5px;
   box-shadow: var(--shadow-elevated), var(--shadow-glow);
   box-shadow: var(--shadow-elevated), var(--shadow-glow);
   position: relative;
   position: relative;
   overflow: hidden;
   overflow: hidden;
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
   text-transform: uppercase;
  cursor: pointer;
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
}
}


.mw-body-header:hover {
@keyframes headerGradient {
   transform: translateY(-2px);
   0%, 100% { background-position: 0% 50%; }
   box-shadow: 0 8px 30px rgba(26, 71, 42, 0.2), var(--shadow-glow);
   50% { background-position: 100% 50%; }
}
}


@keyframes headerGradient {
.mw-body-header:hover {
   0% { background-position: 0% 50%; }
   transform: translateY(-3px);
  50% { background-position: 100% 50%; }
   box-shadow: 0 12px 40px rgba(26, 71, 42, 0.3), var(--shadow-glow);
   100% { background-position: 0% 50%; }
}
}


سطر ١١٥: سطر ١١٧:
   height: 100%;
   height: 100%;
   background: linear-gradient(90deg,  
   background: linear-gradient(90deg,  
     transparent,  
     transparent 0%,  
     rgba(255,255,255,0.2),  
     rgba(255, 255, 255, 0.2) 50%,  
     transparent);
     transparent 100%);
   animation: shine 3s ease-in-out infinite;
   animation: shine 3s infinite;
}
}


سطر ١٢٩: سطر ١٣١:
   content: '✦';
   content: '✦';
   position: absolute;
   position: absolute;
   top: 50%;
   top: 15px;
   right: 30px;
   right: 25px;
  transform: translateY(-50%);
   font-size: 20px;
   font-size: 24px;
   color: var(--accent-gold);
   color: var(--accent-gold);
   animation: starTwinkle 2s ease-in-out infinite alternate;
   animation: twinkle 2s ease-in-out infinite;
}
}


@keyframes starTwinkle {
@keyframes twinkle {
   0% { opacity: 0.5; transform: translateY(-50%) scale(1); }
   0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
   100% { opacity: 1; transform: translateY(-50%) scale(1.2); }
   50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}
}


/* ========================
/* ========================
   Enhanced Dropdown Menu
   Dropdown Menu - Animated & Modern
========================= */
========================= */
.vector-dropdown {
.vector-dropdown {
سطر ١٥٩: سطر ١٦٠:
   display: none;
   display: none;
   position: absolute;
   position: absolute;
   background: rgba(255, 255, 255, 0.98);
   background: rgba(254, 254, 254, 0.95);
   backdrop-filter: blur(15px);
   backdrop-filter: blur(15px);
   min-width: 240px;
   min-width: 250px;
   border: 2px solid var(--border-gold);
   border: 2px solid var(--border-gold);
   border-radius: 12px;
   border-radius: 15px;
   box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.2);
   box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.2);
   z-index: 1000;
   z-index: 1000;
سطر ١٧١: سطر ١٧٢:
.vector-dropdown:hover .vector-dropdown-content {
.vector-dropdown:hover .vector-dropdown-content {
   display: block;
   display: block;
   animation: dropdownBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
   animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
}


@keyframes dropdownBounce {
@keyframes popIn {
   0% {  
   0% {  
     opacity: 0;  
     opacity: 0;  
     transform: translateY(-20px) scale(0.8) rotateX(-90deg);
     transform: translateY(-20px) scale(0.8) rotateX(-15deg);  
  }
  60% {
    transform: translateY(5px) scale(1.05) rotateX(0deg);
   }
   }
   100% {  
   100% {  
سطر ١٩٠: سطر ١٨٨:
.vector-dropdown-content a {
.vector-dropdown-content a {
   display: block;
   display: block;
   padding: 16px 20px;
   padding: 16px 22px;
   color: var(--text-dark);
   color: var(--text-dark);
   text-decoration: none;
   text-decoration: none;
سطر ٢٠٠: سطر ١٩٨:
   position: relative;
   position: relative;
   overflow: hidden;
   overflow: hidden;
}
.vector-dropdown-content a:last-child {
  border-bottom: none;
}
}


سطر ٢٠٥: سطر ٢٠٧:
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   left: -100%;
   left: 0;
   top: 0;
   top: 0;
   width: 100%;
   bottom: 0;
   height: 100%;
   width: 0;
   background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
   background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
  transition: var(--transition-smooth);
   transition: width 0.4s ease;
}
   z-index: -1;
 
.vector-dropdown-content a::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
   opacity: 0;
   transition: var(--transition-smooth);
  color: var(--accent-gold);
  font-weight: bold;
}
}


.vector-dropdown-content a:hover {
.vector-dropdown-content a:hover {
  background: linear-gradient(135deg, #f8f6f2 0%, #f0ede8 100%);
   color: white;
   color: var(--primary-color);
   padding-left: 30px;
   padding-left: 30px;
  font-weight: 600;
   transform: translateX(5px);
   transform: translateX(5px);
}
}


.vector-dropdown-content a:hover::before {
.vector-dropdown-content a:hover::before {
   left: 100%;
   width: 100%;
}
 
.vector-dropdown-content a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
}


/* ========================
/* ========================
   Interactive Content Area
   Content Styling - Interactive & Engaging
========================= */
========================= */
#content {
#content {
   background: rgba(255, 255, 255, 0.98);
   background: linear-gradient(135deg,
    var(--background-white) 0%,
    rgba(250, 249, 247, 0.8) 100%);
   backdrop-filter: blur(10px);
   backdrop-filter: blur(10px);
   border: 2px solid var(--border-elegant);
   border: 2px solid transparent;
  background-clip: padding-box;
   padding: 60px 70px;
   padding: 60px 70px;
   border-radius: 20px;
   border-radius: 20px;
   font-family: var(--serif-font);
   font-family: var(--serif-font);
   font-size: 17px;
   font-size: 18px;
   color: #1a1a1a;
   color: var(--text-dark);
   box-shadow: var(--shadow-elevated), 0 0 40px rgba(26, 71, 42, 0.1);
   box-shadow: var(--shadow-elevated),  
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
   direction: rtl;
   direction: rtl;
   margin: 40px auto;
   margin: 40px auto;
سطر ٢٦٠: سطر ٢٤٨:
   max-width: 1200px;
   max-width: 1200px;
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
  overflow: hidden;
}
}


#content:hover {
#content:hover {
   transform: translateY(-3px);
   transform: translateY(-5px);
   box-shadow: 0 10px 40px rgba(26, 71, 42, 0.15), 0 0 60px rgba(201, 169, 97, 0.2);
   box-shadow: 0 12px 45px rgba(26, 71, 42, 0.25),  
              var(--shadow-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
}


سطر ٢٧٧: سطر ٢٦٦:
   background: linear-gradient(180deg,  
   background: linear-gradient(180deg,  
     var(--accent-gold) 0%,  
     var(--accent-gold) 0%,  
     var(--accent-green) 30%,
     var(--accent-emerald) 25%,
     var(--accent-bright) 60%,
    var(--accent-turquoise) 50%,
     var(--accent-green) 75%,  
     var(--primary-color) 100%);
     var(--primary-color) 100%);
   border-radius: 0 8px 8px 0;
   border-radius: 0 10px 10px 0;
   animation: borderPulse 3s ease-in-out infinite;
   animation: colorPulse 4s ease-in-out infinite;
}
}


@keyframes borderPulse {
@keyframes colorPulse {
   0%, 100% { opacity: 0.8; width: 8px; }
   0%, 100% { opacity: 0.8; transform: scaleY(1); }
   50% { opacity: 1; width: 12px; }
   50% { opacity: 1; transform: scaleY(1.02); }
}
}


سطر ٢٩٢: سطر ٢٨٢:
   content: '☪';
   content: '☪';
   position: absolute;
   position: absolute;
   top: 30px;
   top: 25px;
   right: 30px;
   right: 30px;
   font-size: 28px;
   font-size: 24px;
   color: var(--accent-gold);
   color: var(--accent-gold);
   opacity: 0.3;
   opacity: 0.7;
   animation: crescentFloat 4s ease-in-out infinite;
   animation: gentleFloat 3s ease-in-out infinite;
}
}


@keyframes crescentFloat {
@keyframes gentleFloat {
   0%, 100% { transform: rotate(0deg) translateY(0px); opacity: 0.3; }
   0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  25% { transform: rotate(5deg) translateY(-5px); opacity: 0.5; }
   50% { transform: translateY(-5px) rotate(5deg); opacity: 1; }
   50% { transform: rotate(0deg) translateY(-8px); opacity: 0.4; }
  75% { transform: rotate(-5deg) translateY(-3px); opacity: 0.6; }
}
 
#content h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
 
@keyframes titleGlow {
  0% { text-shadow: 0 0 10px rgba(26, 71, 42, 0.3); }
  100% { text-shadow: 0 0 20px rgba(201, 169, 97, 0.5), 0 0 30px rgba(26, 71, 42, 0.2); }
}
 
#content h1::before {
  content: '✦';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite;
}
 
#content h1::after {
  content: '✦';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: starRotate 3s linear infinite reverse;
}
 
@keyframes starRotate {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
}


سطر ٣٥٢: سطر ٢٩٩:
   font-weight: 700;
   font-weight: 700;
   border-bottom: 3px solid var(--border-gold);
   border-bottom: 3px solid var(--border-gold);
   padding-bottom: 10px;
   padding-bottom: 12px;
   margin-bottom: 25px;
   margin-bottom: 25px;
   position: relative;
   position: relative;
سطر ٣٦٠: سطر ٣٠٧:
#content h2:hover {
#content h2:hover {
   color: var(--primary-color);
   color: var(--primary-color);
   transform: translateX(-10px);
   transform: translateX(-5px);
}
}


#content h2::before {
#content h2::after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   bottom: -3px;
   bottom: -3px;
   left: 0;
   right: 0;
   width: 0;
   width: 0;
   height: 3px;
   height: 3px;
   background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
   background: linear-gradient(90deg, var(--accent-emerald), var(--accent-turquoise));
   transition: var(--transition-smooth);
   transition: width 0.6s ease;
}
}


#content h2:hover::before {
#content h2:hover::after {
   width: 100%;
   width: 100%;
}
#content h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1);
  animation: titleGlow 4s ease-in-out infinite;
}
@keyframes titleGlow {
  0%, 100% { text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1); }
  50% { text-shadow: 0 4px 8px rgba(26, 71, 42, 0.2), 0 0 20px rgba(201, 169, 97, 0.3); }
}
#content h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent-gold) 20%,
    var(--accent-emerald) 50%,
    var(--accent-gold) 80%,
    transparent);
  animation: lineShimmer 2s ease-in-out infinite;
}
@keyframes lineShimmer {
  0%, 100% { opacity: 0.6; width: 100px; }
  50% { opacity: 1; width: 120px; }
}
}


سطر ٣٩٠: سطر ٣٧٥:
#content h3:hover, #content h4:hover, #content h5:hover, #content h6:hover {
#content h3:hover, #content h4:hover, #content h5:hover, #content h6:hover {
   color: var(--accent-green);
   color: var(--accent-green);
   transform: translateX(-5px);
   transform: translateX(-3px);
}
}
#content h1 { font-size: 32px; }
#content h2 { font-size: 26px; }
#content h3 { font-size: 22px; }


#content p {
#content p {
   margin-bottom: 1.5em;
   margin-bottom: 1.6em;
   text-align: justify;
   text-align: justify;
   line-height: 1.9;
   line-height: 1.9;
سطر ٤٠١: سطر ٣٩٠:


#content p:hover {
#content p:hover {
   color: #1a1a1a;
   color: var(--primary-color);
   text-shadow: 0 1px 2px rgba(0,0,0,0.1);
   padding-right: 10px;
}
}


سطر ٤١٠: سطر ٣٩٩:
   text-decoration-color: var(--accent-gold);
   text-decoration-color: var(--accent-gold);
   text-underline-offset: 4px;
   text-underline-offset: 4px;
  text-decoration-thickness: 2px;
   transition: var(--transition-smooth);
   transition: var(--transition-smooth);
   font-weight: 600;
   font-weight: 600;
   position: relative;
   position: relative;
}
#content a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-bright));
  transition: var(--transition-smooth);
}
}


#content a:hover {
#content a:hover {
   color: var(--primary-color);
   color: var(--primary-color);
   text-decoration-color: transparent;
   text-decoration-color: var(--accent-emerald);
   transform: translateY(-1px);
   transform: translateY(-1px);
   text-shadow: 0 2px 4px rgba(26, 71, 42, 0.2);
   text-shadow: 0 2px 4px rgba(26, 71, 42, 0.2);
}
#content a:hover::before {
  width: 100%;
}
}


/* ========================
/* ========================
   Dynamic Categories Section
   Categories Styling - Vibrant & Interactive
========================= */
========================= */
#catlinks {
#catlinks {
   background: rgba(255, 255, 255, 0.95);
   background: linear-gradient(135deg,
   backdrop-filter: blur(10px);
    rgba(250, 249, 247, 0.9) 0%,
    rgba(244, 242, 238, 0.9) 100%);
   backdrop-filter: blur(15px);
   border: 3px solid var(--border-gold);
   border: 3px solid var(--border-gold);
   padding: 30px 35px;
   padding: 30px 35px;
سطر ٤٤٩: سطر ٤٢٦:
   font-family: var(--sans-font);
   font-family: var(--sans-font);
   font-size: 15px;
   font-size: 15px;
   box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.15);
   box-shadow: var(--shadow-elevated), 0 0 25px rgba(201, 169, 97, 0.2);
   color: #444444;
   color: var(--text-muted);
   margin-left: auto;
   margin-left: auto;
   margin-right: auto;
   margin-right: auto;
سطر ٤٥٩: سطر ٤٣٦:


#catlinks:hover {
#catlinks:hover {
   transform: translateY(-2px);
   transform: translateY(-3px);
   box-shadow: 0 8px 35px rgba(26, 71, 42, 0.2), 0 0 50px rgba(201, 169, 97, 0.25);
   box-shadow: 0 15px 50px rgba(26, 71, 42, 0.2), var(--shadow-glow);
}
}


سطر ٤٧٠: سطر ٤٤٧:
   margin-bottom: 20px;
   margin-bottom: 20px;
   font-size: 18px;
   font-size: 18px;
   letter-spacing: 0.8px;
   letter-spacing: 1px;
   text-align: center;
   text-align: center;
   position: relative;
   position: relative;
   text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1);
   text-shadow: 0 1px 2px rgba(26, 71, 42, 0.1);
  animation: categoryTitle 2s ease-in-out infinite alternate;
}
 
@keyframes categoryTitle {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}
}


سطر ٤٨٦: سطر ٤٥٧:
   position: absolute;
   position: absolute;
   top: -50%;
   top: -50%;
   left: -50%;
   right: -50%;
   width: 200%;
   width: 200%;
   height: 200%;
   height: 200%;
   background: conic-gradient(from 0deg, transparent, rgba(201, 169, 97, 0.05), transparent);
   background: conic-gradient(from 0deg,  
   animation: rotateBg 10s linear infinite;
    transparent 0deg,  
    rgba(201, 169, 97, 0.1) 60deg,  
    transparent 120deg);
   animation: rotate 8s linear infinite;
   pointer-events: none;
   pointer-events: none;
}
}


@keyframes rotateBg {
@keyframes rotate {
   0% { transform: rotate(0deg); }
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
   100% { transform: rotate(360deg); }
سطر ٥٠٠: سطر ٤٧٤:


#catlinks a {
#catlinks a {
   color: #2c2c2c;
   color: var(--text-dark);
   font-weight: 600;
   font-weight: 600;
   text-decoration: none;
   text-decoration: none;
   padding: 12px 22px;
   padding: 12px 22px;
   margin: 8px 10px 8px 0;
   margin: 8px 10px 8px 0;
   background: rgba(255, 255, 255, 0.9);
   background: linear-gradient(135deg,
    var(--background-white) 0%,
    rgba(252, 251, 249, 0.8) 100%);
   border: 2px solid var(--border-elegant);
   border: 2px solid var(--border-elegant);
   border-radius: 30px;
   border-radius: 30px;
سطر ٥١٥: سطر ٤٩١:
   font-family: var(--sans-font);
   font-family: var(--sans-font);
   backdrop-filter: blur(5px);
   backdrop-filter: blur(5px);
  cursor: pointer;
}
}


سطر ٥٢٠: سطر ٤٩٧:
   content: '';
   content: '';
   position: absolute;
   position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(201, 169, 97, 0.3),
    transparent);
  transition: var(--transition-smooth);
}
#catlinks a::after {
  content: '✧';
  position: absolute;
  right: 10px;
   top: 50%;
   top: 50%;
   transform: translateY(-50%) scale(0);
   left: 50%;
   transition: var(--transition-smooth);
  width: 0;
   color: var(--accent-gold);
  height: 0;
   background: radial-gradient(circle,
    var(--accent-gold) 0%,
    var(--accent-emerald) 50%,
    var(--accent-turquoise) 100%);
   border-radius: 50%;
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}
}


#catlinks a:hover {
#catlinks a:hover {
  background: linear-gradient(135deg,
   color: white;
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-green) 100%);
   color: var(--background-white);
   transform: translateY(-4px) scale(1.05);
   transform: translateY(-4px) scale(1.05);
   box-shadow: 0 6px 20px rgba(26, 71, 42, 0.3), 0 0 30px rgba(201, 169, 97, 0.4);
   box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
   border-color: var(--accent-gold);
   border-color: var(--accent-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
}


#catlinks a:hover::before {
#catlinks a:hover::before {
   left: 100%;
   width: 200px;
  height: 200px;
}
}


#catlinks a:hover::after {
#catlinks a:nth-child(even):hover {
   transform: translateY(-50%) scale(1) rotate(360deg);
  animation: wiggle 0.6s ease-in-out;
}
 
@keyframes wiggle {
  0%, 100% { transform: translateY(-4px) scale(1.05) rotate(0deg); }
  25% { transform: translateY(-4px) scale(1.05) rotate(2deg); }
   75% { transform: translateY(-4px) scale(1.05) rotate(-2deg); }
}
}


/* ========================
/* ========================
   Responsive Animations
   Responsive Design
========================= */
========================= */
@media (max-width: 768px) {
@media (max-width: 768px) {
   #content {
   #content {
     margin: 25px 15px;
     margin: 25px 15px;
     padding: 35px 30px;
     padding: 40px 30px;
   }
   }
    
    
   .mw-body-header {
   .mw-body-header {
     padding: 24px 25px;
     padding: 25px 30px;
     font-size: 20px;
     font-size: 20px;
   }
   }
سطر ٥٨٦: سطر ٥٥٨:


/* ========================
/* ========================
   Advanced Effects
   Enhanced Focus & Accessibility
========================= */
========================= */
@media (prefers-reduced-motion: reduce) {
a:focus, .vector-dropdown:focus, #catlinks a:focus {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
 
@media print {
  body {
    background: white;
    animation: none;
  }
 
  .mw-body-header, #catlinks {
    display: none;
  }
 
  #content {
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 20px 0;
    animation: none;
  }
}
 
/* Enhanced Focus States */
a:focus, .vector-dropdown:focus {
   outline: 3px solid var(--accent-gold);
   outline: 3px solid var(--accent-gold);
   outline-offset: 3px;
   outline-offset: 3px;
   box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.2);
   box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.3);
}
}


سطر ٦٢٩: سطر ٥٧٤:
}
}


/* Glowing Scrollbar */
/* Enhanced scrollbar */
::-webkit-scrollbar {
::-webkit-scrollbar {
   width: 12px;
   width: 12px;
سطر ٦٣٦: سطر ٥٨١:
::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
   background: var(--border-elegant);
   background: var(--border-elegant);
   border-radius: 6px;
   border-radius: 10px;
}
}


::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, var(--accent-gold), var(--accent-green));
   background: linear-gradient(180deg,  
   border-radius: 6px;
    var(--accent-gold),  
   border: 1px solid var(--border-elegant);
    var(--accent-emerald),
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
    var(--primary-color));
   border-radius: 10px;
   border: 2px solid var(--border-elegant);
}
}


::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, var(--accent-bright), var(--primary-color));
   background: linear-gradient(180deg,  
   box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
    var(--accent-emerald),  
    var(--accent-turquoise),
    var(--secondary-color));
   box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}
 
/* ========================
  Print Styles
========================= */
@media print {
  body, #content {
    background: white !important;
    box-shadow: none !important;
    animation: none !important;
  }
 
  .mw-body-header, #catlinks {
    display: none;
  }
 
  * {
    animation: none !important;
    transition: none !important;
  }
}
}

مراجعة ١١:٣٤، ٢٠ يوليو ٢٠٢٥

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700&family=Scheherazade+New:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #1a472a;
  --secondary-color: #2d5a3d;
  --tertiary-color: #4a7c59;
  --accent-gold: #c9a961;
  --accent-green: #5d8f47;
  --accent-emerald: #2ecc71;
  --accent-turquoise: #1abc9c;
  --background-white: #fefefe;
  --background-cream: #faf9f7;
  --text-dark: #2c2c2c;
  --text-muted: #666666;
  --border-elegant: #e8e5e0;
  --border-gold: #d4b76a;
  --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.3);
  --shadow-elevated: 0 8px 32px rgba(26, 71, 42, 0.2);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --serif-font: 'Scheherazade New', 'Amiri', serif;
  --sans-font: 'Cairo', sans-serif;
}

/* ========================
   Base Styling - Dynamic Background
========================= */
body {
  background: linear-gradient(45deg, 
    #f8f7f4 0%, 
    #f2f0eb 25%, 
    #f5f3ef 50%, 
    #f0ede8 75%, 
    #f8f7f4 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: var(--serif-font);
  position: relative;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating particles effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20% 30%, rgba(201, 169, 97, 0.4), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(93, 143, 71, 0.3), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(46, 204, 113, 0.3), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(212, 175, 55, 0.4), transparent);
  animation: sparkle 6s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.7; transform: translateY(0px) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-10px) rotate(180deg); }
}

/* ========================
   Header Styling - Majestic & Dynamic
========================= */
.mw-body-header {
  background: linear-gradient(135deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 30%, 
    var(--tertiary-color) 60%, 
    var(--accent-green) 100%);
  background-size: 300% 300%;
  animation: headerGradient 4s ease infinite;
  border: none;
  padding: 30px 40px;
  text-align: center;
  font-family: var(--sans-font);
  font-size: 22px;
  color: var(--background-white);
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

@keyframes headerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mw-body-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 71, 42, 0.3), var(--shadow-glow);
}

.mw-body-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mw-body-header::after {
  content: '✦';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 20px;
  color: var(--accent-gold);
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* ========================
   Dropdown Menu - Animated & Modern
========================= */
.vector-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vector-dropdown:hover {
  transform: scale(1.05);
}

.vector-dropdown-content {
  display: none;
  position: absolute;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(15px);
  min-width: 250px;
  border: 2px solid var(--border-gold);
  border-radius: 15px;
  box-shadow: var(--shadow-elevated), 0 0 30px rgba(201, 169, 97, 0.2);
  z-index: 1000;
  overflow: hidden;
}

.vector-dropdown:hover .vector-dropdown-content {
  display: block;
  animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
  0% { 
    opacity: 0; 
    transform: translateY(-20px) scale(0.8) rotateX(-15deg); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1) rotateX(0deg); 
  }
}

.vector-dropdown-content a {
  display: block;
  padding: 16px 22px;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--sans-font);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-elegant);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.vector-dropdown-content a:last-child {
  border-bottom: none;
}

.vector-dropdown-content a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
  transition: width 0.4s ease;
  z-index: -1;
}

.vector-dropdown-content a:hover {
  color: white;
  padding-left: 30px;
  transform: translateX(5px);
}

.vector-dropdown-content a:hover::before {
  width: 100%;
}

/* ========================
   Content Styling - Interactive & Engaging
========================= */
#content {
  background: linear-gradient(135deg, 
    var(--background-white) 0%, 
    rgba(250, 249, 247, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  background-clip: padding-box;
  padding: 60px 70px;
  border-radius: 20px;
  font-family: var(--serif-font);
  font-size: 18px;
  color: var(--text-dark);
  box-shadow: var(--shadow-elevated), 
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  direction: rtl;
  margin: 40px auto;
  position: relative;
  max-width: 1200px;
  transition: var(--transition-smooth);
}

#content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 45px rgba(26, 71, 42, 0.25), 
              var(--shadow-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--accent-gold) 0%, 
    var(--accent-emerald) 25%,
    var(--accent-turquoise) 50%,
    var(--accent-green) 75%, 
    var(--primary-color) 100%);
  border-radius: 0 10px 10px 0;
  animation: colorPulse 4s ease-in-out infinite;
}

@keyframes colorPulse {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.02); }
}

#content::after {
  content: '☪';
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 24px;
  color: var(--accent-gold);
  opacity: 0.7;
  animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-5px) rotate(5deg); opacity: 1; }
}

#content h2 {
  color: var(--accent-green);
  font-weight: 700;
  border-bottom: 3px solid var(--border-gold);
  padding-bottom: 12px;
  margin-bottom: 25px;
  position: relative;
  transition: var(--transition-smooth);
}

#content h2:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

#content h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-turquoise));
  transition: width 0.6s ease;
}

#content h2:hover::after {
  width: 100%;
}

#content h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1);
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 2px 4px rgba(26, 71, 42, 0.1); }
  50% { text-shadow: 0 4px 8px rgba(26, 71, 42, 0.2), 0 0 20px rgba(201, 169, 97, 0.3); }
}

#content h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--accent-gold) 20%, 
    var(--accent-emerald) 50%,
    var(--accent-gold) 80%, 
    transparent);
  animation: lineShimmer 2s ease-in-out infinite;
}

@keyframes lineShimmer {
  0%, 100% { opacity: 0.6; width: 100px; }
  50% { opacity: 1; width: 120px; }
}

#content h1, #content h3, #content h4, #content h5, #content h6 {
  font-weight: 700;
  font-size: 1.4rem !important;
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

#content h3:hover, #content h4:hover, #content h5:hover, #content h6:hover {
  color: var(--accent-green);
  transform: translateX(-3px);
}

#content h1 { font-size: 32px; }
#content h2 { font-size: 26px; }
#content h3 { font-size: 22px; }

#content p {
  margin-bottom: 1.6em;
  text-align: justify;
  line-height: 1.9;
  transition: var(--transition-smooth);
}

#content p:hover {
  color: var(--primary-color);
  padding-right: 10px;
}

#content a {
  color: var(--tertiary-color);
  text-decoration: underline;
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: var(--transition-smooth);
  font-weight: 600;
  position: relative;
}

#content a:hover {
  color: var(--primary-color);
  text-decoration-color: var(--accent-emerald);
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(26, 71, 42, 0.2);
}

/* ========================
   Categories Styling - Vibrant & Interactive
========================= */
#catlinks {
  background: linear-gradient(135deg, 
    rgba(250, 249, 247, 0.9) 0%, 
    rgba(244, 242, 238, 0.9) 100%);
  backdrop-filter: blur(15px);
  border: 3px solid var(--border-gold);
  padding: 30px 35px;
  border-radius: 20px;
  margin-top: 50px;
  font-family: var(--sans-font);
  font-size: 15px;
  box-shadow: var(--shadow-elevated), 0 0 25px rgba(201, 169, 97, 0.2);
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

#catlinks:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(26, 71, 42, 0.2), var(--shadow-glow);
}

#catlinks::before {
  content: 'التصنيفات';
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  text-shadow: 0 1px 2px rgba(26, 71, 42, 0.1);
}

#catlinks::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, 
    transparent 0deg, 
    rgba(201, 169, 97, 0.1) 60deg, 
    transparent 120deg);
  animation: rotate 8s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#catlinks a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  margin: 8px 10px 8px 0;
  background: linear-gradient(135deg, 
    var(--background-white) 0%, 
    rgba(252, 251, 249, 0.8) 100%);
  border: 2px solid var(--border-elegant);
  border-radius: 30px;
  display: inline-block;
  transition: var(--transition-smooth);
  font-size: 14px;
  position: relative;
  overflow: hidden;
  font-family: var(--sans-font);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

#catlinks a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, 
    var(--accent-gold) 0%, 
    var(--accent-emerald) 50%, 
    var(--accent-turquoise) 100%);
  border-radius: 50%;
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#catlinks a:hover {
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
  border-color: var(--accent-gold);
}

#catlinks a:hover::before {
  width: 200px;
  height: 200px;
}

#catlinks a:nth-child(even):hover {
  animation: wiggle 0.6s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: translateY(-4px) scale(1.05) rotate(0deg); }
  25% { transform: translateY(-4px) scale(1.05) rotate(2deg); }
  75% { transform: translateY(-4px) scale(1.05) rotate(-2deg); }
}

/* ========================
   Responsive Design
========================= */
@media (max-width: 768px) {
  #content {
    margin: 25px 15px;
    padding: 40px 30px;
  }
  
  .mw-body-header {
    padding: 25px 30px;
    font-size: 20px;
  }
  
  #catlinks {
    margin: 30px 15px;
    padding: 25px 30px;
  }
  
  #content h1 {
    font-size: 1.8rem;
  }
}

/* ========================
   Enhanced Focus & Accessibility
========================= */
a:focus, .vector-dropdown:focus, #catlinks a:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.3);
}

/* ========================
   Utility Classes
========================= */
.printfooter, 
.vector-menu h3 {
  display: none;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--border-elegant);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, 
    var(--accent-gold), 
    var(--accent-emerald), 
    var(--primary-color));
  border-radius: 10px;
  border: 2px solid var(--border-elegant);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, 
    var(--accent-emerald), 
    var(--accent-turquoise), 
    var(--secondary-color));
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}

/* ========================
   Print Styles
========================= */
@media print {
  body, #content {
    background: white !important;
    box-shadow: none !important;
    animation: none !important;
  }
  
  .mw-body-header, #catlinks {
    display: none;
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
}