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

    :root {
      --primary-color: #60a5fa;
      --accent-color: #3b82f6;
      --secondary-color: #21283a;
      --text-light: #f8fafc;
      --text-dark: #0f172a;
      --bg-dark: #21283a;
      --bg-darker: #141821;
      --glass-bg: rgba(59, 130, 246, 0.1);
      --glass-border: rgba(59, 130, 246, 0.2);
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
      color: var(--text-light);
      overflow-x: hidden;
      line-height: 1.6;
      min-height: 100vh;
    }

    /* Animated background particles */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--accent-color);
      border-radius: 50%;
      animation: float 20s infinite linear;
      opacity: 0.3;
    }

    @keyframes float {
      0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
      10% { opacity: 0.3; }
      90% { opacity: 0.3; }
      100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
    }

    /* Header */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      backdrop-filter: blur(20px);
      background: rgba(15, 15, 35, 0.8);
      border-bottom: 1px solid var(--glass-border);
      transition: all 0.3s ease;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .logo:hover {
      transform: scale(1.05);
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 0;
      align-items: center;
      background: rgba(33, 40, 58, 0.8);
      backdrop-filter: blur(15px);
      border-radius: 50px;
      padding: 0.5rem;
      border: 1px solid var(--glass-border);
    }

    .nav-link {
      color: var(--text-light);
      text-decoration: none;
      padding: 0.75rem 1.5rem;
      border-radius: 25px;
      transition: all 0.3s ease;
      position: relative;
      font-weight: 500;
      letter-spacing: 0.5px;
      font-size: 0.9rem;
      white-space: nowrap;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--bg-dark);
      background: var(--accent-color);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(29, 229, 255, 0.4);
    }

    /* Menu hamburger */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      z-index: 1001;
      background: none;
      border: none;
      padding: 0.5rem;
    }

    .hamburger {
      width: 25px;
      height: 3px;
      background: var(--text-light);
      margin: 3px 0;
      transition: all 0.3s ease;
      border-radius: 3px;
    }

    .menu-toggle.active .hamburger:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .hamburger:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active .hamburger:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Main Content */
    .main-content {
      padding-top: 100px;
      min-height: 100vh;
      position: relative;
      z-index: 10;
    }

    /* Hero Section - Compact */
    .hero-projects {
      padding: 2rem 2rem 1rem;
      text-align: center;
    }

    .hero-projects-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .hero-projects-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      margin-bottom: 0.5rem;
      background: linear-gradient(135deg, var(--text-light), var(--primary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.2;
      animation: slideInDown 1s ease-out;
    }

    .hero-subtitle {
      color: rgba(248, 250, 252, 0.7);
      font-size: 1.1rem;
      margin-bottom: 1rem;
    }

    /* Compact Filter Navigation */
    .filter-nav {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin: 1.5rem 0 2rem 0;
      flex-wrap: wrap;
    }

    .filter-btn {
      display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      width: 50px;
      height: 50px;
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      color: var(--text-light);
      border: 1px solid var(--glass-border);
      border-radius: 50%;
      font-size: 1.1em;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: var(--accent-color);
      color: var(--bg-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(29, 229, 255, 0.4);
    }

    /* Projects Stats */
    .projects-stats {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      padding: 1rem;
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      min-width: 120px;
    }

    .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent-color);
      display: block;
    }

    .stat-label {
      font-size: 0.9rem;
      color: rgba(248, 250, 252, 0.7);
      margin-top: 0.25rem;
    }

    /* Compact Projects Grid */
    .projects-gallery {
      padding: 0 2rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      opacity: 0;
      animation: fadeInUp 0.8s ease forwards;
    }

    .project-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      overflow: hidden;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
      height: 200px;
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(29, 229, 255, 0.2);
      border-color: var(--accent-color);
    }

    .project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(29, 229, 255, 0.05), transparent);
      transition: all 0.3s ease;
      z-index: 1;
      opacity: 0;
    }

    .project-card:hover::before {
      opacity: 1;
    }

    .project-header {
      display: flex;
      align-items: flex-start;
      padding: 1rem;
      gap: 1rem;
      position: relative;
      z-index: 2;
      flex-grow: 1;
      min-height: 0;
    }

    .project-icon {
      font-size: 2.5rem;
      min-width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .project-info {
      flex-grow: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .project-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-light);
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

    /* Description avec scroll améliorée */
    .project-description {
      color: rgba(248, 250, 252, 0.7);
      font-size: 0.85rem;
      line-height: 1.4;
      flex-grow: 1;
      overflow-y: auto;
      max-height: 60px;
      padding-right: 8px;
      
      /* Scrollbar styling */
      scrollbar-width: thin;
      scrollbar-color: var(--accent-color) transparent;
    }

    .project-description::-webkit-scrollbar {
      width: 4px;
    }

    .project-description::-webkit-scrollbar-track {
      background: transparent;
    }

    .project-description::-webkit-scrollbar-thumb {
      background: var(--accent-color);
      border-radius: 2px;
    }

    .project-description::-webkit-scrollbar-thumb:hover {
      background: var(--primary-color);
    }

    .project-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1rem;
      border-top: 1px solid var(--glass-border);
      background: rgba(0, 0, 0, 0.2);
      position: relative;
      z-index: 2;
    }

    .project-status {
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .status-completed {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .status-progress {
      background: rgba(251, 191, 36, 0.2);
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.3);
    }

    .status-development {
      background: rgba(168, 85, 247, 0.2);
      color: #a855f7;
      border: 1px solid rgba(168, 85, 247, 0.3);
    }

    .status-updating {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

    .project-tech {
      font-size: 0.75rem;
      color: var(--accent-color);
      font-weight: 500;
    }

    /* Modal améliorée */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      justify-content: center;
      align-items: center;
      animation: fadeIn 0.3s ease;
    }

    .modal-content {
      background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      padding: 2.5rem;
      max-width: 900px;
      width: 90%;
      position: relative;
      animation: slideUp 0.3s ease;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    }

    .modal-header {
      margin-bottom: 2rem;
    }

    .modal-content h2 {
      color: var(--accent-color);
      font-size: 2.2rem;
      margin-bottom: 0.5rem;
      background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .modal-project-tech {
      color: rgba(248, 250, 252, 0.6);
      font-size: 1rem;
      margin-bottom: 1rem;
      font-weight: 500;
    }

    .modal-content p {
      color: var(--text-light);
      line-height: 1.7;
      margin-bottom: 2rem;
      font-size: 1.1rem;
    }

    .modal-links {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 2rem;
    }

    .modal-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 1rem 1.5rem;
      background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
      color: var(--bg-dark);
      text-decoration: none;
      border-radius: 12px;
      font-weight: 600;
      transition: all 0.3s ease;
      text-align: center;
    }

    .modal-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(29, 229, 255, 0.4);
      background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    }

    .modal-link i {
      font-size: 1.1rem;
    }

    .modal-no-data {
      grid-column: 1 / -1;
      text-align: center;
      color: rgba(248, 250, 252, 0.5);
      font-style: italic;
      padding: 2rem;
    }

    .modal-update-info {
  margin: 1.5rem 0;
}

.update-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #06b6d4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.update-banner i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

    .close {
      position: absolute;
      top: 1.5rem;
      right: 2rem;
      font-size: 2rem;
      color: var(--text-light);
      cursor: pointer;
      transition: all 0.3s ease;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
    }

    .close:hover {
      color: var(--accent-color);
      background: rgba(29, 229, 255, 0.1);
      transform: rotate(90deg);
    }

    /* Footer */
    .footer {
      padding: 2rem;
      text-align: center;
      background: var(--bg-darker);
      border-top: 1px solid var(--glass-border);
      position: relative;
      z-index: 10;
      margin-top: 4rem;
    }

    /* Search Bar */
    .search-container {
      max-width: 400px;
      margin: 0 auto 2rem;
      position: relative;
    }

    .search-input {
      width: 100%;
      padding: 1rem 1rem 1rem 3rem;
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: 50px;
      color: var(--text-light);
      font-size: 1rem;
      outline: none;
      transition: all 0.3s ease;
    }

    .search-input::placeholder {
      color: rgba(248, 250, 252, 0.5);
    }

    .search-input:focus {
      border-color: var(--accent-color);
      box-shadow: 0 0 20px rgba(29, 229, 255, 0.2);
    }

    .search-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(248, 250, 252, 0.5);
      font-size: 1.2rem;
    }

    /* Nouvelle section pour la galerie d'images */
    .modal-gallery-section {
      margin: 2rem 0;
    }

    .modal-gallery-title {
      color: var(--accent-color);
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .gallery-container {
      position: relative;
      margin-bottom: 2rem;
    }

    /* Image principale */
    .gallery-main-image {
      width: 100%;
      max-height: 400px;
      object-fit: contain;
      border-radius: 12px;
      border: 2px solid var(--glass-border);
      background: var(--bg-darker);
      transition: all 0.3s ease;
    }

    /* Navigation des images */
    .gallery-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      color: var(--text-light);
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .gallery-nav:hover {
      background: var(--accent-color);
      color: var(--bg-dark);
      transform: translateY(-50%) scale(1.1);
    }

    .gallery-nav.prev {
      left: 10px;
    }

    .gallery-nav.next {
      right: 10px;
    }

    /* Miniatures */
    .gallery-thumbnails {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
      overflow-x: auto;
      padding: 0.5rem 0;
      scrollbar-width: thin;
      scrollbar-color: var(--accent-color) transparent;
    }

    .gallery-thumbnails::-webkit-scrollbar {
      height: 6px;
    }

    .gallery-thumbnails::-webkit-scrollbar-track {
      background: var(--glass-bg);
      border-radius: 3px;
    }

    .gallery-thumbnails::-webkit-scrollbar-thumb {
      background: var(--accent-color);
      border-radius: 3px;
    }

    .thumbnail {
      width: 80px;
      height: 60px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .thumbnail:hover {
      border-color: var(--accent-color);
      transform: scale(1.05);
    }

    .thumbnail.active {
      border-color: var(--accent-color);
      box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    }

    /* Compteur d'images */
    .image-counter {
      position: absolute;
      bottom: 15px;
      right: 15px;
      background: rgba(0, 0, 0, 0.7);
      color: var(--text-light);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.9rem;
      backdrop-filter: blur(10px);
    }

    /* État vide */
    .gallery-empty {
      text-align: center;
      color: rgba(248, 250, 252, 0.5);
      font-style: italic;
      padding: 2rem;
      background: var(--glass-bg);
      border-radius: 12px;
      border: 1px dashed var(--glass-border);
    }

    /* Section versions */
.modal-version-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.modal-version-title {
  color: var(--accent-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.unified-version-container {
  margin-top: 1rem;
}

.version-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--glass-border);
  flex-wrap: wrap;
}

.version-tab {
  background: transparent;
  border: none;
  color: rgba(248, 250, 252, 0.7);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  position: relative;
  white-space: nowrap;
}

.version-tab:hover {
  color: var(--accent-color);
  background: rgba(59, 130, 246, 0.1);
}

.version-tab.active {
  color: var(--accent-color);
  background: rgba(59, 130, 246, 0.15);
  border-bottom: 2px solid var(--accent-color);
}

.version-content {
  animation: fadeInContent 0.3s ease;
}

.version-details-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.version-current,
.version-next {
  background: var(--glass-bg);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.version-current:hover,
.version-next:hover {
  border-color: var(--accent-color);
  background: rgba(59, 130, 246, 0.08);
}

.version-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.version-header h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.version-number {
  background: var(--accent-color);
  color: var(--bg-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.version-number.next {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.version-number.no-update {
  background: rgba(107, 114, 128, 0.8);
  color: var(--text-light);
}

.version-description {
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.version-description.no-update {
  color: rgba(248, 250, 252, 0.5);
  font-style: italic;
}

.version-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.version-next.no-update {
  background: rgba(107, 114, 128, 0.1);
  border-color: rgba(107, 114, 128, 0.3);
}

.version-next.no-update:hover {
  border-color: rgba(107, 114, 128, 0.4);
  background: rgba(107, 114, 128, 0.15);
}

    /* Animations */
    @keyframes slideInDown {
      0% { opacity: 0; transform: translateY(-50px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }

    @keyframes slideUp {
      0% { opacity: 0; transform: translateY(50px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInContent {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

    /* Responsive Design */
    @media (max-width: 1024px) {
      .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(21, 24, 33, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      }
      
      .nav-menu.active {
        display: flex;
      }

      .nav-link {
        padding: 0.25rem 1.5rem;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        width: 100%;
        text-align: center;
      }

      .nav-link:last-child {
        border-bottom: none;
      }

      .nav-link:hover {
        background: rgba(59, 130, 246, 0.15);
        color: var(--text-light);
        transform: none;
        box-shadow: none;
      }

      .nav-link.active {
        background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.2));
        color: var(--primary-color);
        font-weight: 600;
        border-left: 3px solid var(--accent-color);
        transform: none;
        box-shadow: none;
        position: relative;
      }
      
      .menu-toggle {
        display: flex;
      }
      
      .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
      }
      
      .projects-stats {
        gap: 1rem;
      }

      .modal-links {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-container {
        padding: 1rem;
      }
      
      .hero-projects {
        padding: 1.5rem 1rem 1rem;
      }
      
      .filter-nav {
        gap: 0.25rem;
      }
      
      .filter-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
      }
      
      .projects-gallery {
        padding: 0 1rem 2rem;
      }
      
      .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .project-card {
        height: 180px;
      }
      
      .project-icon {
        font-size: 2rem;
        min-width: 50px;
        height: 50px;
      }
      
      .projects-stats {
        flex-direction: column;
        gap: 0.5rem;
      }
      
      .stat-item {
        padding: 0.75rem;
        min-width: auto;
      }

      .gallery-main-image {
        max-height: 250px;
      }
      
      .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
      }
      
      .thumbnail {
        width: 60px;
        height: 45px;
      }
      
      .modal-content {
        padding: 1.5rem;
        margin: 1rem;
      }

      .version-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .version-details-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .version-divider {
    transform: rotate(90deg);
  }
  
  .version-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .version-tabs {
    flex-direction: column;
    gap: 0;
  }
  
  .version-tab {
    border-radius: 0;
    justify-content: center;
  }
    }

    @media (max-width: 480px) {
      .hero-projects-title {
        font-size: 1.8rem;
      }
      
      .project-header {
        padding: 0.75rem;
      }
      
      .project-footer {
        padding: 0.5rem 0.75rem;
      }
      
      .modal-content h2 {
        font-size: 1.8rem;
      }
      
      .modal-content {
        padding: 1.5rem;
      }
    }