  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;600&display=swap');

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

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #6b0f82, #a94fb1);
      color: #fff;
      padding: 40px 20px;
    }

    h1 {
      font-family: 'Orbitron', sans-serif;
      text-align: center;
      font-size: 3rem;
      margin-bottom: 0.5rem;
      color: #fff;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    }

    h2 {
      font-family: 'Orbitron', sans-serif;
      text-align: center;
      font-size: 1.2rem;
      margin-bottom: 1rem;
      color: #fbd5ff;
    }

    .subtitle {
      text-align: center;
      font-style: italic;
      font-size: 1.1rem;
      margin-bottom: 40px;
      color: #ffe0fa;
    }

    .student-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: auto;
    }

    .student-card {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 20px;
      backdrop-filter: blur(6px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .student-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }

    .student-card h3 {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.3rem;
      margin-bottom: 15px;
      color: #ffffff;
    }

    .project-pair {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .game-item {
      background: #ffffff;
      border-radius: 15px;
      padding: 10px;
      width: 135px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
      position: relative;
      text-align: center;
      transition: transform 0.2s ease;
    }

    .game-item:hover {
      transform: scale(1.03);
    }

    .game-item img {
      width: 100%;
      height: 90px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 8px;
    }

    .no-screenshot {
      height: 90px;
      background: repeating-linear-gradient(
        45deg, #eaeaea, #eaeaea 10px,
        #f9f9f9 10px, #f9f9f9 20px);
      color: #888;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8em;
      border-radius: 10px;
      margin-bottom: 8px;
    }

    .game-item a.title {
      display: block;
      font-weight: bold;
      font-size: 0.9em;
      color: #6b0f82;
      text-decoration: none;
    }

    .game-item a.title:hover {
      color: #a94fb1;
    }

    .game-description {
      font-size: 0.75em;
      color: #333;
      margin-top: 6px;
      text-align: left;
    }

    .badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: #a94fb1;
      color: white;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 0.65em;
      font-weight: bold;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      animation: floatBadge 2s ease-in-out infinite alternate;
    }

    @keyframes floatBadge {
      from { transform: translateY(0); }
      to { transform: translateY(-3px); }
    }

    @media (max-width: 600px) {
      .project-pair {
        flex-direction: column;
        align-items: center;
      }
    }

    /* Modal Styles */
    #projectModal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .modal-backdrop {
      position: absolute;
      width: 100%;
      height: 100%;
      background: transparent;
    }

    .modal-content {
      position: relative;
      width: 90%;
      max-width: 1000px;
      height: 80%;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      z-index: 10000;
    }

    .modal-content iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      background: #a94fb1;
      border: none;
      color: #fff;
      font-size: 1.2rem;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      cursor: pointer;
      z-index: 10001;
    }