/* Modern Linktree-style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Banner Section */
  .banner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .banner img {
    width: 100%;
    height: auto;
    max-height: 300px;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  
  .container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Logo/Header Section */
  .logo-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
  }
  
  .logo-box img {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    object-fit: contain;
  }

  .school-name,
  .logo-box h1 {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    margin-top: 0;
  }

  .school-code {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
  }

  .school-tagline,
  .logo-box p {
    font-weight: 500;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    margin-top: 0;
    font-style: italic;
  }
  
  .logo-title,
  .logo-box h2 {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  /* Card Container */
  .card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  
  h1 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
  }

  .card h2,
  .card h3 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
  }
  
  .subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
  }
  
  /* Link Buttons */
  .link {
    display: block;
    text-decoration: none;
    background: #f8f9fa;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
  }
  
  .link:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }
  
  .link:active {
    transform: translateY(0);
  }
  
  /* Icon styling for main category buttons */
  .link .icon {
    margin-right: 8px;
    font-size: 20px;
  }
  
  /* Footer */
  footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
  }
  
  /* Image optimization */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  /* Mobile Responsive */
  @media (max-width: 480px) {
    body {
      padding: 15px;
    }
  
    .container {
      max-width: 100%;
    }

    .banner img {
      max-height: 200px;
    }

    .school-name,
    .logo-box h1 {
      font-size: 16px;
    }

    .school-code {
      font-size: 13px;
    }

    .school-tagline,
    .logo-box p {
      font-size: 12px;
    }

    .logo-title,
    .logo-box h2 {
      font-size: 16px;
    }

    h1,
    .card h2,
    .card h3 {
      font-size: 20px;
    }
  
    .link {
      font-size: 15px;
      padding: 14px 18px;
    }
  }