    :root {
      --primary: #9d2235;
      --accent: #ffc503;
      --primary-hover: #5d141e;
      --bg-color: #0f172a;
      --card-bg: #1e293b;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --border-color: #334155;
      --shadow: rgba(0, 0, 0, 0.4);
    }

    body.light-mode {
      --primary: #ffc503;
      --accent: #9d2235;
      --primary-hover: #e5b102;
      --bg-color: #f1f5f9;
      --card-bg: #ffffff;
      --text-main: #0f172a;
      --text-muted: #475569;
      --border-color: #cbd5e1;
      --shadow: rgba(0, 0, 0, 0.1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem 1rem;
    }

    .container {
      max-width: 900px;
      width: 100%;
      text-align: center;
    }

    h1 {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 3rem;
      color: var(--accent);
    }

    .portal-header {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      background: var(--primary);
      padding: 1rem 2rem;
      border-radius: 2rem;
      margin-bottom: 4rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 2.5rem;
      width: auto;
      max-width: 100%;
      box-sizing: border-box;
    }

    .portal-logo {
      height: 100px;
      border-radius: 1rem;
      flex-shrink: 0;
    }

    @media (max-width: 540px) {
      .portal-header {
        gap: 0.9rem;
        padding: 0.75rem 1.25rem;
        border-radius: 1.25rem;
        margin-bottom: 2rem;
        font-size: 1.5rem;
        width: 100%;
      }

      .portal-logo {
        height: 56px;
        border-radius: 0.6rem;
      }
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 1rem;
      padding: 2.5rem 1.5rem;
      text-decoration: none;
      color: var(--text-main);
      transition: all 0.2s ease-out;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-5px);
      border-color: var(--primary);
      box-shadow: 0 10px 25px -5px var(--shadow);
      background: var(--primary-hover);
    }

    .card h2 {
      font-size: 1.35rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      text-align: center;
      line-height: 1.5;
    }

    .theme-toggle {
      position: fixed;
      top: 1.25rem;
      right: 1.25rem;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      color: var(--text-main);
      padding: 0.5rem 1rem;
      border-radius: 0.6rem;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.82rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      box-shadow: 0 2px 8px var(--shadow);
      transition: border-color 0.2s, background 0.2s;
      letter-spacing: 0.01em;
    }

    .theme-toggle:hover {
      border-color: var(--primary);
      background: var(--primary);
      color: white;
    }

    </style>