﻿:root {
      --bg-main: #050608;
      --bg-sub: #080A0D;
      --bg-card: rgba(17,22,27,.92);
      --text-main: #F8FAFC;
      --text-muted: #A3AAB7;
      --text-sub: #CBD5E1;
      --gold: #D6A84F;
      --gold-dark: #A77C2F;
      --emerald: #10B981;
      --border: rgba(214,168,79,.18);
      --shadow: 0 30px 90px rgba(0,0,0,.38);
    }

    *,*::before,*::after{box-sizing:border-box;}
    html{width:100%;overflow-x:hidden;}
    body{
      width:100%;
      margin:0;
      overflow-x:hidden;
      background:var(--bg-main);
      color:var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height:1.5;
    }
    img,video,iframe,embed{max-width:100%;height:auto;display:block;}
    a{text-decoration:none;color:inherit;transition:all 0.25s ease;}

    
    .site-header{
      position:sticky;
      top:0;
      z-index:1000;
      width:100%;
      background:rgba(5,6,8,.82);
      backdrop-filter:blur(22px) saturate(150%);
      border-bottom:1px solid rgba(214,168,79,.18);
      box-shadow:0 16px 48px rgba(0,0,0,.35);
    }
    .header-inner{
      width:min(1240px, calc(100% - 32px));
      min-height:76px;
      margin:0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:12px;
      min-width:0;
      max-width:100%;
      text-decoration:none;
      flex-shrink:0;
    }
    .logo img{
      display:block;
      height:40px;
      width:auto;
      max-width:150px;
      object-fit:contain;
      flex-shrink:0;
    }
    .logo span{
      display:inline-block;
      font-size:18px;
      font-weight:900;
      color:#F8FAFC;
      white-space:nowrap;
      max-width:190px;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .desktop-nav-wrap{
      flex:1 1 auto;
      min-width:0;
      display:flex;
      justify-content:flex-end;
      overflow:hidden;
    }
    .desktop-nav{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      max-width:100%;
      overflow-x:auto;
      overflow-y:hidden;
      scrollbar-width:none;
      white-space:nowrap;
    }
    .desktop-nav::-webkit-scrollbar{display:none;}
    .desktop-nav a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      color:#CBD5E1;
      font-size:14px;
      font-weight:800;
      white-space:nowrap;
      border:1px solid transparent;
    }
    .desktop-nav a:hover{
      color:#F8FAFC;
      background:rgba(214,168,79,.14);
      border-color:rgba(214,168,79,.28);
    }

    .mobile-menu-btn{
      display:none;
      width:46px;
      height:46px;
      border:1px solid rgba(214,168,79,.26);
      border-radius:16px;
      background:rgba(214,168,79,.12);
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      cursor:pointer;
      flex:0 0 auto;
    }
    .mobile-menu-btn span{
      display:block;
      width:20px;
      height:2px;
      border-radius:99px;
      background:#F8FAFC;
    }

    .mobile-nav-mask{
      position:fixed;
      inset:0;
      z-index:1100;
      background:rgba(0,0,0,.66);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s ease, visibility .25s ease;
    }
    .mobile-drawer{
      position:fixed;
      top:0;
      left:0;
      z-index:1110;
      width:min(86vw, 360px);
      height:100vh;
      height:100dvh;
      max-width:90vw;
      background:linear-gradient(180deg,#050608 0%,#0B0F12 100%);
      color:#F8FAFC;
      transform:translateX(-105%);
      transition:transform .28s ease;
      box-shadow:24px 0 60px rgba(0,0,0,.45);
      display:flex;
      flex-direction:column;
      overflow:hidden;
    }
    .drawer-head{
      min-height:76px;
      padding:16px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid rgba(214,168,79,.16);
      flex:0 0 auto;
    }
    .drawer-logo img{height:34px;max-width:120px;}
    .drawer-logo span{font-size:16px;max-width:145px;color:#F8FAFC;}
    .drawer-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:14px;
      background:rgba(255,255,255,.10);
      color:#F8FAFC;
      font-size:26px;
      cursor:pointer;
      flex:0 0 auto;
    }
    .drawer-body{
      flex:1 1 auto;
      min-height:0;
      overflow-y:auto;
      overflow-x:hidden;
      padding:14px;
    }
    .drawer-nav{
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .drawer-nav a{
      display:flex;
      align-items:center;
      width:100%;
      min-height:48px;
      padding:13px 14px;
      border-radius:14px;
      background:rgba(255,255,255,.07);
      color:#F8FAFC;
      font-size:15px;
      font-weight:800;
      line-height:1.35;
      word-break:break-word;
      overflow-wrap:anywhere;
      border:1px solid rgba(255,255,255,.10);
    }
    .drawer-nav a:hover{
      background:rgba(214,168,79,.18);
    }

    body.drawer-open{overflow:hidden;touch-action:none;}
    body.drawer-open .mobile-nav-mask{opacity:1;visibility:visible;pointer-events:auto;}
    body.drawer-open .mobile-drawer{transform:translateX(0);}

    @media (max-width:900px){
      .header-inner{width:min(100% - 24px, 1240px);min-height:68px;}
      .desktop-nav-wrap,.desktop-nav{display:none !important;}
      .mobile-menu-btn{display:inline-flex !important;}
      .logo img{height:34px;max-width:118px;}
      .logo span{font-size:16px;max-width:145px;}
    }

    
    .list-hero {
      padding: 60px 0;
      background: linear-gradient(180deg, rgba(214,168,79,0.05) 0%, rgba(5,6,8,0) 100%);
      border-bottom: 1px solid var(--border);
    }
    .container {
      width: min(1240px, calc(100% - 32px));
      margin: 0 auto;
    }
    .breadcrumb-area {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .breadcrumb-area a {
      color: var(--gold);
    }
    .breadcrumb-area span {
      margin: 0 8px;
    }
    .list-hero-content h1 {
      font-size: clamp(28px, 4.5vw, 44px);
      font-weight: 900;
      margin: 0 0 16px;
      letter-spacing: -0.01em;
    }
    .list-hero-content p {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 720px;
      margin: 0;
      line-height: 1.6;
    }

    
    .main-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 60px 0 100px;
    }
    .resource-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 30px;
    }
    .resource-card {
      background: var(--bg-card);
      border: 1px solid rgba(214,168,79,0.12);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 10px 40px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }
    .resource-card:hover {
      border-color: var(--gold);
      transform: translateY(-4px);
    }
    .resource-card img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background: #111;
    }
    .resource-card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .resource-card-tag {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      color: var(--gold);
      letter-spacing: 0.05em;
      margin-bottom: 12px;
    }
    .resource-card h2 {
      font-size: 19px;
      font-weight: 800;
      margin: 0 0 12px;
      line-height: 1.4;
      color: var(--text-main);
    }
    .resource-card p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 0 0 20px;
    }
    .resource-card-meta {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-muted);
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 16px;
    }

    
    .pagination-wrap {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .pagination-wrap a, .pagination-wrap span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      height: 44px;
      padding: 0 14px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      background: rgba(17,22,27,0.8);
      border: 1px solid var(--border);
    }
    .pagination-wrap a:hover {
      border-color: var(--gold);
      color: var(--gold);
    }
    .pagination-wrap .is-current {
      background: var(--gold);
      color: #050608;
      border-color: var(--gold);
    }
    .pagination-wrap .is-disabled {
      opacity: 0.4;
      pointer-events: none;
    }

    
    .site-footer{
      background:#050608;
      border-top:1px solid rgba(214,168,79,.18);
      padding:80px 0 30px;
    }
    .footer-inner{
      width:min(1240px, calc(100% - 32px));
      margin:0 auto;
      display:grid;
      grid-template-columns:2fr 1fr 1fr 1fr;
      gap:40px;
      padding-bottom:50px;
    }
    .footer-brand{
      max-width:320px;
    }
    .footer-brand p{
      color:#A3AAB7;
      font-size:13px;
      line-height:1.6;
      margin-top:16px;
    }
    .footer-column h3{
      color:#F8FAFC;
      font-size:14px;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:0.05em;
      margin:0 0 20px;
    }
    .footer-column ul{
      list-style:none;
      padding:0;
      margin:0;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .footer-column a, .footer-column span{
      color:#A3AAB7;
      font-size:13px;
      font-weight:700;
    }
    .footer-column a:hover{
      color:#F8FAFC;
    }
    .footer-bottom{
      width:min(1240px, calc(100% - 32px));
      margin:0 auto;
      padding-top:30px;
      border-top:1px solid rgba(255,255,255,.05);
      display:flex;
      flex-wrap:wrap;
      justify-content:space-between;
      align-items:center;
      gap:20px;
      font-size:12px;
      color:#A3AAB7;
    }
    .footer-bottom p{margin:0;}
    .footer-bottom a{color:#A3AAB7;margin-left:14px;}
    .footer-bottom a:hover{color:#F8FAFC;}

    @media (max-width: 900px) {
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .footer-bottom a { margin: 0 7px; }
    }