  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: #f2f1f9; }
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(110,122,140,0.45); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(110,122,140,0.75); }
  @supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: rgba(110,122,140,0.45) transparent; }
  }
  body { font-family: 'Inter', sans-serif; color: #6e7a8c; }
  a { text-decoration: none; color: inherit; cursor: pointer; }
  img { display: block; }

  .canvas { width: 100%; margin: 0 auto; position: relative; background: #f2f1f9; overflow: clip; }
  .grad { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ===== Hero ===== */
  .hero-c { position: relative; height: 982px; overflow: hidden; }
  .hero-c-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-c-light { position: absolute; inset: 0; background: linear-gradient(to right, #f1f0f8 0%, #f1f0f8 41%, rgba(241,240,248,0) 95.8%); }
  .hero-c-inner { position: relative; max-width: 1512px; height: 100%; margin: 0 auto; }
  .hero-chip { position: absolute; left: 104px; top: 284px; background: #dbe0e9; border-radius: 20px; padding: 8px 16px; }
  .hero-chip p { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #6e7a8c; white-space: nowrap; }
  .hero-c h1 { position: absolute; left: 104px; top: 338px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; }
  .hero-c-sub { position: absolute; left: 104px; top: 431px; width: 543px; font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; }

  /* ===== Members table ===== */
  .members-wrap { position: relative; z-index: 10; max-width: 1512px; margin: -315px auto 0; }
  .table-scroll { padding: 0 0 0 104px; }
  .members { width: 1050px; }
  .m-head { display: grid; grid-template-columns: 50px 400px 250px 175px 175px; margin-bottom: 16px; }
  .m-head span { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #afb5c2; padding-left: 16px; white-space: nowrap; }
  .m-rows { display: flex; flex-direction: column; gap: 2px; }
  .m-row { display: grid; grid-template-columns: 50px 400px 250px 175px 175px; height: 56px; }
  .m-row > div { display: flex; align-items: center; background: #fdfdff; transition: background 0.15s ease; min-width: 0; }
  .m-row .c-num { background: #dbe0e9; justify-content: center; font-weight: 500; font-size: 14px; color: #6e7a8c; }
  .m-row .c-name, .m-row .c-inst, .m-row .c-country { padding-left: 16px; font-weight: 500; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .m-row .c-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 56px; }
  .m-row .c-name .suffix { font-weight: 700; font-size: 14px; color: #afb5c2; margin-left: 12px; }
  .m-row .c-tag { padding-left: 16px; }
  .m-row:hover > div { background: #f3f6fc; }
  .m-row:hover .c-num { background: #d2d9e4; }

  .tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 4px; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; white-space: nowrap; }
  .tag i { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
  .tag-aktivni { background: #dbeafe; color: #1d4ed8; }
  .tag-aktivni i { background: #1d4ed8; }
  .tag-naobuci { color: #92400e; }
  .tag-naobuci i { background: #92400e; }
  .tag-inostranstvo { color: #065f46; }
  .tag-inostranstvo i { background: #065f46; }
  .tag-simpatizeri { color: #4338ca; }
  .tag-simpatizeri i { background: #4338ca; }
  .tag-pocasni { color: #991b1b; }
  .tag-pocasni i { background: #991b1b; }

  /* ===== Footer (shared) ===== */
  .footer { margin-top: 128px; }
  .footer-line { height: 4px; }
  .footer-line-1 { background: linear-gradient(to left, #006aff 0.524%, #00c8ff 100%); }
  .footer-line-2 { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .footer-body { position: relative; background: #6e7a8c; overflow: hidden; }
  .footer-inner { position: relative; max-width: 1512px; height: 647px; margin: 0 auto; }
  .footer-spinner { position: absolute; left: 900px; top: 78px; width: 752px; height: 652.604px; pointer-events: none; }
  .footer-brand { position: absolute; left: 105px; top: 79.87px; width: 240px; }
  .footer-logo { position: relative; width: 121px; height: 105.006px; }
  .footer-logo img { position: absolute; }
  .footer-logo .fl-a { left: 0; top: 55.1px; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-b { left: 71.17px; top: 0; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-c { left: 18.73px; top: 10.52px; width: 83.53px; height: 83.66px; }
  .footer-tagline { margin: 14.5px 0 0 2px; width: 182px; display: flex; flex-direction: column; gap: 4px; font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 9.987px; line-height: 10px; }
  .footer-tagline .t1 { color: #fdfdff; }
  .footer-tagline .t2 { color: #afb5c2; }
  .footer-contact { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; }
  .footer-address { margin-top: 38.6px; width: 221px; }
  .footer-phone { margin-top: 24px; white-space: nowrap; }
  .footer-email { margin-top: 24px; white-space: nowrap; }
  .footer-cols { display: contents; }
  .footer-col { position: absolute; top: 156px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-col-udruzenje { left: 441px; }
  .footer-col-clanovi { left: 665px; }
  .footer-col-edukacija { left: 889px; }
  .footer-col-h { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #afb5c2; white-space: nowrap; }
  .footer-link { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; white-space: nowrap; display: block; }
  .footer-bottom { display: contents; }
  .footer-social { position: absolute; right: 103px; top: 506px; width: 48px; height: 48px; }
  .footer-copy { position: absolute; left: 105px; top: 597px; font-weight: 400; font-size: 14px; line-height: 14px; color: #afb5c2; white-space: nowrap; }
  .scroll-top { position: absolute; right: 7px; top: 239px; width: 56px; height: 56px; background: #fdfdff; border: none; border-radius: 16px; cursor: pointer; box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .scroll-top img { width: 13px; height: 29px; }

  /* ===== Hover states (from Figma prototype variants) ===== */
  .scroll-top { transition: box-shadow 0.25s ease; }
  .scroll-top:hover { box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3), 0 15px 30px 0 rgba(0,99,238,0.1); }
  .footer-link:hover { text-decoration: underline; }

  /* =====================================================
     Compact navigation (max-width: 1279px)
     ===================================================== */
  @media (max-width: 1279px) {
  }

  /* =====================================================
     Tablet (max-width: 1024px)
     ===================================================== */
  @media (max-width: 1024px) {
    body { overflow-x: hidden; }

    .hero-c { height: auto; padding: 220px 32px 72px; }
    .hero-c-inner { position: static; max-width: none; height: auto; }
    .hero-chip { position: relative; left: auto; top: auto; display: inline-flex; }
    .hero-c h1 { position: relative; left: auto; top: auto; margin-top: 18px; font-size: 52px; line-height: 1.1; letter-spacing: -1px; }
    .hero-c-sub { position: relative; left: auto; top: auto; width: auto; max-width: 543px; margin-top: 24px; }

    .members-wrap { margin-top: 48px; max-width: none; }
    .table-scroll { padding: 0 32px; overflow-x: auto; }
    .members { min-width: 1050px; width: auto; padding-bottom: 8px; }

    .footer { margin-top: 96px; }
    .footer-body { padding: 56px 32px 32px; }
    .footer-inner { position: static; max-width: none; height: auto; display: flex; flex-direction: column; gap: 48px; }
    .footer-spinner { display: none; }
    .footer-brand { position: static; width: auto; }
    .footer-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; }
    .footer-col { position: static; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
    .footer-social { position: static; }
    .scroll-top { position: static; }
    .footer-copy { position: static; }
  }

  /* =====================================================
     Mobile (max-width: 768px)
     ===================================================== */
  @media (max-width: 768px) {

    .hero-c { padding: 128px 20px 48px; }
    .hero-c h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.7px; margin-top: 14px; }
    .hero-c-sub { font-size: 16px; line-height: 1.8; margin-top: 16px; }

    .members-wrap { margin-top: 32px; }
    .table-scroll { padding: 0 16px; }
    .m-row .c-name, .m-row .c-inst, .m-row .c-country { font-size: 16px; }

    .footer { margin-top: 64px; }
    .footer-body { padding: 40px 20px 24px; gap: 36px; }
    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-link { white-space: normal; }
    .footer-copy { white-space: normal; line-height: 1.5; }
  }
