/* Variables & Theme */
:root {
  --primary-color: #38bdf8;
  --secondary-color: #7dd3fc;
  --accent-color: #0ea5e9;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --text-primary: #e0f2fe;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --gradient: linear-gradient(135deg, #1e3a8a, #0f172a);
  --shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  --shadow-hover: 0 0 30px rgba(56, 189, 248, 0.4);
}

[data-theme="light"] {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #1d4ed8;
  --bg-dark: #fefefe;
  --bg-darker: #f9fafb;
  --bg-card: #f4f6f8;
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --gradient: linear-gradient(135deg, #60a5fa, #f9fafb);
  --shadow: 0 0 20px rgba(37, 99, 235, 0.1);
  --shadow-hover: 0 0 30px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .particle { background: rgba(37, 99, 235, 0.3); }
[data-theme="light"] header { color: var(--text-primary); }
[data-theme="light"] .section { background: var(--bg-darker); }
[data-theme="light"] .mobile-menu:hover { background: rgba(37, 99, 235, 0.1); }
[data-theme="light"] .modal-content { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.1); }
[data-theme="light"] .modal-feature-grid { background: rgba(37, 99, 235, 0.08); }
[data-theme="light"] .modal-dark-section { background: rgba(241, 245, 249, 0.8); }
[data-theme="light"] .modal-tech-badge { background: rgba(241, 245, 249, 0.9); border: 1px solid rgba(37, 99, 235, 0.1); }

/* Global Reset */
html { scroll-behavior: smooth; font-size: 16px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Inter', sans-serif; 
  background-color: var(--bg-dark); 
  color: var(--text-primary); 
  overflow-x: hidden; 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
}

/* Loading Screen */
.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-darker); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease; }
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loader { width: 40px; height: 40px; border: 3px solid var(--text-muted); border-top: 3px solid var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); z-index: 999; transition: width 0.1s; }

/* Navigation */
nav { position: fixed; top: 0; width: 100%; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px); padding: 0.8rem 1rem; display: flex; justify-content: space-between; align-items: center; z-index: 998; transition: all 0.3s ease; border-bottom: 1px solid rgba(56, 189, 248, 0.1); }
[data-theme="light"] nav { background-color: rgba(255, 255, 255, 0.95); border-bottom: 1px solid rgba(37, 99, 235, 0.1); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.logo { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--primary-color); }
.nav-links { display: flex; list-style: none; gap: 1.5rem; margin: 0; }
.nav-links a { color: var(--secondary-color); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; position: relative; padding: 0.5rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary-color); }
.nav-controls { display: flex; align-items: center; gap: 1rem; }
.theme-toggle { background: none; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 0.4rem; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.theme-toggle:hover { background: var(--primary-color); color: var(--bg-dark); }

/* Mobile Menu */
.mobile-menu { display: none; flex-direction: column; cursor: pointer; padding: 0.3rem; border-radius: 4px; transition: background 0.3s ease; }
.mobile-menu:hover { background: rgba(56, 189, 248, 0.1); }
.mobile-menu span { width: 22px; height: 2px; background: var(--primary-color); margin: 2px 0; transition: 0.3s; border-radius: 1px; }
.mobile-menu.active span:nth-child(1) { transform: rotate(-45deg) translate(-4px, 4px); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: rotate(45deg) translate(-4px, -4px); }
.mobile-nav { position: fixed; top: 60px; left: 0; width: 100%; height: calc(100vh - 60px); background: var(--bg-darker); backdrop-filter: blur(20px); display: none; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 3rem; z-index: 997; transform: translateY(-100%); transition: transform 0.3s ease; }
.mobile-nav.active { display: flex; transform: translateY(0); }
.mobile-nav a { color: var(--text-primary); text-decoration: none; font-size: 1.3rem; font-weight: 600; margin: 1rem 0; padding: 1rem 2rem; border-radius: 10px; transition: all 0.3s ease; width: 80%; text-align: center; }
.mobile-nav a:hover { background: var(--primary-color); color: white; }

/* Header & Hero */
header { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--gradient); color: white; text-align: center; position: relative; overflow: hidden; padding: 0 1rem; }
.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.particle { position: absolute; width: 2px; height: 2px; background: rgba(56, 189, 248, 0.6); animation: float-particles 6s infinite linear; }
@keyframes float-particles { 0% { transform: translateY(100vh) scale(0); } 10% { transform: translateY(90vh) scale(1); } 90% { transform: translateY(-10vh) scale(1); } 100% { transform: translateY(-10vh) scale(0); } }
.profile-container { position: relative; z-index: 2; max-width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.profile-image { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--primary-color); margin-bottom: 1.5rem; animation: float 3s ease-in-out infinite; box-shadow: 0 0 30px rgba(56, 189, 248, 0.5); object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.typing-text { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; min-height: 2.5rem; text-align: center; width: 100%; display: flex; align-items: center; justify-content: center; }
.subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 90%; line-height: 1.5; text-align: center; width: 100%; }

/* Buttons */
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; margin: 2rem auto 0; width: 100%; max-width: 300px; align-items: center; justify-content: center; }
.btn { padding: 14px 30px; border: none; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.95rem; width: 100%; min-width: 200px; position: relative; }
.btn-primary { background: var(--primary-color); color: white; border: 2px solid var(--primary-color); }
.btn-primary:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4); }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: white; }
.scroll-down { position: absolute; bottom: 20px; font-size: 1.8rem; color: var(--primary-color); animation: bounce 2s infinite; cursor: pointer; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Sections & Typography */
section { padding: 4rem 1rem; max-width: 1200px; margin: auto; }
h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; color: var(--secondary-color); margin-bottom: 2.5rem; text-align: center; position: relative; }
h2::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); border-radius: 2px; }

/* About Section */
.about-content { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.about-image { text-align: center; order: 1; }
.about-image img { width: 100%; max-width: 250px; border-radius: 15px; box-shadow: var(--shadow); object-fit: cover; }
.about-text { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); order: 2; text-align: left; }
.about-text p { margin-bottom: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat-item { text-align: center; padding: 1.5rem 1rem; background: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow); transition: transform 0.3s ease; }
.stat-item:hover { transform: translateY(-3px); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-color); display: block; }
.stat-label { color: var(--text-muted); margin-top: 0.3rem; font-size: 0.85rem; }

/* Skills Section */
.skills-container { display: flex; flex-direction: column; gap: 2rem; }
.skill-category { background: var(--bg-card); padding: 1.5rem; border-radius: 15px; box-shadow: var(--shadow); }
.skill-category h3 { color: var(--primary-color); margin-bottom: 1.2rem; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.skill-item { margin-bottom: 1.2rem; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.skill-name { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.skill-percentage { color: var(--primary-color); font-weight: 600; font-size: 0.85rem; }
.skill-bar { height: 6px; background: rgba(56, 189, 248, 0.1); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); border-radius: 3px; width: 0; transition: width 2s ease; }

/* Certifications Section */
.certifications-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 2rem; align-items: stretch; }
.certification-card { background: var(--bg-card); padding: 2rem; border-radius: 15px; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.certification-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); }
.certification-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.cert-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.cert-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0; }
.cert-info h3 { color: var(--primary-color); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.cert-issuer { color: var(--secondary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.cert-date { color: var(--text-muted); font-size: 0.8rem; }
.cert-description { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.9rem; }
.cert-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; align-items: center; }
.cert-skill-tag, .tech-tag { background: rgba(56, 189, 248, 0.1); color: var(--primary-color); padding: 0.4rem 0.8rem; border-radius: 15px; font-size: 0.75rem; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.cert-actions { display: flex; gap: 1rem; margin-top: auto; }
.cert-btn { padding: 0.75rem 1.5rem; border-radius: 25px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex: 1; min-height: 44px; text-align: center; }
.cert-btn.primary { background: var(--primary-color); color: white; }
.cert-btn.primary:hover { background: var(--accent-color); transform: translateY(-2px); }

/* Experience Section */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: var(--primary-color); }
.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -5px; top: 0; width: 10px; height: 10px; background: var(--primary-color); border-radius: 50%; border: 2px solid var(--bg-dark); }
.timeline-content { background: var(--bg-card); padding: 1.5rem; border-radius: 12px; box-shadow: var(--shadow); }
.timeline-date { color: var(--primary-color); font-weight: 600; margin-bottom: 0.3rem; font-size: 0.85rem; }
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.timeline-company { color: var(--secondary-color); margin-bottom: 0.8rem; font-size: 0.9rem; }
.timeline-content p { font-size: 0.9rem; line-height: 1.6; }

/* Projects Section */
.projects-filter { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; padding: 0 1rem; }
.filter-btn { padding: 0.6rem 1.2rem; background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); border-radius: 20px; cursor: pointer; transition: all 0.3s ease; font-weight: 600; font-size: 0.8rem; white-space: nowrap; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-color); color: white; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.project-card { background: var(--bg-card); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; height: 100%; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.project-image { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s ease; }
.project-card:hover .project-image { transform: scale(1.02); }
.project-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--primary-color); }
.project-description { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; font-size: 0.9rem; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; align-items: center; }
.project-links { display: flex; flex-direction: column; gap: 0.8rem; margin-top: auto; }
.project-link { padding: 0.75rem 1.5rem; border-radius: 25px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; min-height: 44px; text-align: center; }
.project-link.primary { background: var(--primary-color); color: white; }
.project-link.primary:hover { background: var(--accent-color); transform: translateY(-2px); }

/* Featured Graduation Project */
.featured-graduation-project { position: relative; background: var(--bg-card); border: 2px solid rgba(56, 189, 248, 0.3); border-radius: 20px; overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.graduation-badge { position: absolute; top: 15px; right: 15px; background: var(--primary-color); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; gap: 0.3rem; z-index: 2; }
.project-title-enhanced { color: var(--primary-color); font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.project-status { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.status-dot { width: 8px; height: 8px; background: var(--primary-color); border-radius: 50%; }
.project-highlights { background: rgba(56, 189, 248, 0.1); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.project-highlights h4 { color: var(--primary-color); font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 700; }
.highlight-list { list-style: none; padding: 0; margin: 0; }
.highlight-list li { padding: 0.3rem 0; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.highlight-list li::before { content: '✓'; color: var(--primary-color); font-weight: bold; }
.project-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; background: var(--bg-dark); padding: 1rem; border-radius: 12px; }
.metric-item { text-align: center; }
.metric-value { display: block; font-size: 1.2rem; font-weight: 700; color: var(--primary-color); }
.metric-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Contact Section */
.contact-container { display: flex; flex-direction: column; gap: 2rem; }
.contact-info, .contact-form { background: var(--bg-card); padding: 2rem 1.5rem; border-radius: 15px; box-shadow: var(--shadow); }
.contact-info { order: 2; }
.contact-info h3, .contact-form h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.3rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem; background: rgba(56, 189, 248, 0.1); border-radius: 8px; }
.contact-icon { width: 40px; height: 40px; background: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.contact-details h4 { color: var(--primary-color); margin-bottom: 0.3rem; font-size: 0.9rem; }
.contact-details p, .contact-details a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; word-break: break-all; }
.contact-form { order: 1; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: var(--text-primary); font-weight: 600; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.8rem; background: var(--bg-dark); border: 2px solid rgba(56, 189, 248, 0.3); border-radius: 8px; color: var(--text-primary); font-size: 0.9rem; transition: border-color 0.3s ease; appearance: none; }
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1); }
textarea.form-control { resize: vertical; min-height: 100px; font-family: inherit; }
.form-control.error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); }
.error-message { color: #ef4444; font-size: 0.8rem; margin-top: 0.25rem; }

/* Footer */
footer { background: var(--bg-darker); padding: 2.5rem 1rem 1.5rem; text-align: center; border-top: 1px solid rgba(56, 189, 248, 0.1); }
.social-links { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.social-link { width: 45px; height: 45px; background: var(--bg-card); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; }
.social-link:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }
footer p { font-size: 0.85rem; color: var(--text-muted); }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; backdrop-filter: blur(5px); padding: 1rem; }
[data-theme="light"] .modal { background: rgba(0, 0, 0, 0.4); }
.modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bg-card); padding: 2rem; border-radius: 15px; max-width: 90%; width: 100%; max-height: 80vh; overflow-y: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }

/* Media Queries */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu { display: flex; }
  .typing-text { font-size: 1.8rem; line-height: 1.2; }
  .about-content { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-container { flex-direction: column; }
  .modal-content { padding: 1.5rem; width: 95%; max-height: 90vh; }
}

@media (min-width: 769px) {
  .about-content { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
  .about-image { order: 1; }
  .about-text { order: 2; }
  .skills-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .certifications-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-form { order: 2; }
  .contact-info { order: 1; }
}

@media (min-width: 1025px) {
  .skills-container { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .certifications-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .typing-text { font-size: 3.5rem; }
}

/* تنسيقات أداة مطابقة الوظائف */
.matcher-container {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.matcher-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fadeIn 0.5s ease;
}

.match-score h3 {
  font-size: 3.5rem;
  color: #10b981; /* لون أخضر للنجاح */
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.match-score p {
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.match-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  animation: popIn 0.3s ease forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes popIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}