/* AI ERA ACADEMY — Glassmorphism UI (Black + Yellow theme)
   - Light gray background + yellow accents
   - Glass cards on light surface (frosted panels)
   - Organic “blob” shapes for visual depth
*/

:root{
  --bg0:#000000;     /* black */
  --bg1:#0d0d0d;     /* near black */
  --bg2:#1a1a1a;     /* dark gray */

  --ink:#ffffff;     /* white text */
  --muted:rgba(255,255,255,.74);
  --muted2:rgba(255,255,255,.56);

  --accent:#f8b500;  /* yellow */
  --accent2:#d99a00; /* darker yellow */
  --accent3:#e6a800; /* medium yellow */

  /* dark glass */
  --glass:rgba(0,0,0,.62);
  --glass2:rgba(0,0,0,.44);
  --stroke:rgba(248,181,0,.25);
  --stroke2:rgba(255,255,255,.10);

  --shadow: 0 20px 60px rgba(0,0,0,.5);
  --shadow2: 0 10px 30px rgba(0,0,0,.4);

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
  --pad: 18px;
  --pad2: 28px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background: var(--bg0);
  overflow-x:hidden;
}

/* subtle animated aurora */
body::before{
  content:"";
  position:fixed;
  inset:-20%;
  background:
    radial-gradient(closest-side, rgba(248,181,0,.20), transparent 70%),
    radial-gradient(closest-side, rgba(248,181,0,.14), transparent 70%),
    radial-gradient(closest-side, rgba(248,181,0,.08), transparent 70%);
  filter: blur(44px);
  transform: translate3d(0,0,0);
  animation: floaty 18s ease-in-out infinite alternate;
  pointer-events:none;
  z-index:-2;
}
@keyframes floaty{
  0%{ transform: translate(-2%, -1%) scale(1); opacity:.9; }
  50%{ transform: translate(2%, 1%) scale(1.04); opacity:.75; }
  100%{ transform: translate(-1%, 2%) scale(1.02); opacity:.85; }
}

/* noise overlay */
.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
  opacity:.10;
  z-index:-1;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

.container{
  width:min(var(--max), calc(100% - 28px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:rgba(255,255,255,.9);
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--stroke);
}
.skip-link:focus{ left:10px; z-index:9999; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:14px 0;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.70));
  border-bottom:1px solid rgba(248,181,0,.25);
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:0;
  min-width:auto;
}
.brand-logo{
  width:280px;
  display:block;
  object-fit:contain;
}
.nav-links{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}
.nav-links a{
  font-size:13px;
  color:rgba(255,255,255,.82);
  padding:9px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition: all .18s ease;
}
.nav-links a:hover{
  border-color:rgba(248,181,0,.25);
  background:rgba(255,255,255,.08);
}
.nav-links a[aria-current="page"]{
  background:rgba(248,181,0,.12);
  border-color:rgba(248,181,0,.30);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:230px;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(248,181,0,.25);
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0,0,0,.40);
  color:var(--ink);
  font-size:13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.70);
  border-color: rgba(248,181,0,.35);
}
.btn.primary{
  border-color: rgba(248,181,0,.22);
  color:#000;
  background: linear-gradient(135deg, rgba(248,181,0,.92), rgba(217,154,0,.90));
}
.btn.ghost{
  background: rgba(0,0,0,.44);
  border-color: rgba(255,255,255,.15);
}
.btn.small{ padding:8px 11px; border-radius:12px; }

.lang-switch{
  display:flex;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(248,181,0,.25);
  border-radius:999px;
  overflow:hidden;
}
.lang-switch button{
  appearance:none;
  background:transparent;
  border:0;
  color:rgba(255,255,255,.72);
  padding:8px 10px;
  font-size:12px;
  cursor:pointer;
}
.lang-switch button[aria-pressed="true"]{
  background: rgba(248,181,0,.15);
  color: var(--ink);
}

/* Mobile nav */
.nav-toggle{
  display:none;
}

/* Hero Slider - Card Style */
.hero-slider {
  padding: 26px 0 0;
}
.slider-card {
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(248,181,0,.20);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 520px;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.slider-slide.active {
  opacity: 1;
  z-index: 2;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(248,181,0,.5);
  background: rgba(0,0,0,.6);
  color: #f8b500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover {
  background: rgba(248,181,0,.2);
  border-color: #f8b500;
}
.slider-arrow svg {
  width: 20px;
  height: 20px;
}
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(248,181,0,.5);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  padding: 0;
}
.slider-dot.active {
  background: #f8b500;
  border-color: #f8b500;
}
.slider-dot:hover {
  border-color: #f8b500;
}
@media (max-width: 980px) {
  .slider-container { aspect-ratio: 16 / 9; max-height: 320px; }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
}

/* Hero */
.hero{
  padding:54px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.glass{
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card{
  padding:28px;
  position:relative;
  overflow:hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  width:680px;
  height:320px;
  left:-140px;
  top:-180px;
  background: radial-gradient(circle at 30% 30%, rgba(248,181,0,.22), transparent 60%);
  filter: blur(20px);
  opacity:.9;
  pointer-events:none;
}
.hero-card::after{
  content:"";
  position:absolute;
  width:560px;
  height:260px;
  right:-180px;
  bottom:-200px;
  background: radial-gradient(circle at 40% 40%, rgba(248,181,0,.16), transparent 62%);
  filter: blur(22px);
  opacity:.85;
  pointer-events:none;
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(248,181,0,.25);
  background:rgba(0,0,0,.55);
  color:rgba(255,255,255,.82);
  font-size:12px;
}
.dot{
  width:8px; height:8px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  box-shadow: 0 0 0 6px rgba(248,181,0,.10);
}
.hero h1{
  margin:14px 0 10px;
  font-size:44px;
  letter-spacing:-.6px;
  line-height:1.05;
}
.hero p{
  margin:0 0 18px;
  color: var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:62ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}
.trust-strip{
  margin-top:16px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid rgba(248,181,0,.25);
  background:
    linear-gradient(135deg, rgba(0,0,0,.72), rgba(20,20,20,.82));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
}
.trust-copy{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
}
.trust-copy p{
  margin:0;
  max-width:none;
}
.trust-kicker{
  display:inline-flex;
  margin-bottom:8px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(248,181,0,.12);
  border:1px solid rgba(248,181,0,.25);
  color:rgba(255,255,255,.90);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  align-self:flex-start;
}
.trust-note{
  margin-top:8px !important;
  font-size:13px !important;
  color:var(--muted2) !important;
}
.trust-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
}
.trust-logos img{
  display:block;
  height:100px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0, .10));
}
.trust-strip-side{
  display:grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items:center;
  gap:20px;
}
.trust-strip-side .trust-copy{
  text-align:left;
}
.trust-strip-side .trust-logos{
  justify-content:flex-start;
  flex:0 0 auto;
}
.mini-metrics{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.metric{
  padding:14px;
  border-radius: var(--radius);
  background: rgba(0,0,0,.52);
  border:1px solid rgba(248,181,0,.20);
}
.metric strong{
  display:block;
  font-size:18px;
}
.metric span{
  display:block;
  margin-top:3px;
  font-size:12px;
  color:var(--muted2);
}

.hero-media{
  position:relative;
  overflow:hidden;
  min-height: 320px;
}
.hero-media .photo{
  position:absolute;
  inset:0;
  background-image:
    url("../img/Master Wee.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}
.hero-media .globe{
  position:absolute;
  right:-52px;
  bottom:-60px;
  width:280px;
  height:280px;
  background-image: url("../img/globe-wire.png");
  background-size: cover;
  opacity:.08;
  filter: blur(.2px);
  animation: spin 20s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes spin{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
.hero-media .badge{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(248,181,0,.25);
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(16px);
}
.badge strong{ display:block; font-size:14px; }
.badge span{ display:block; font-size:12px; color:var(--muted2); margin-top:4px; }

/* Sections */
.section{
  padding: 26px 0;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-title h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color:var(--muted2);
  font-size:13px;
  max-width:60ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.grid-3 > .card{ height:100%; }
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.grid-2 > .card{ height:100%; }

.card{
  padding:18px;
  border-radius: var(--radius2);
  background: rgba(0,0,0,.45);
  border:1px solid rgba(248,181,0,.20);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow2);
}
.card h3{
  margin:0 0 6px;
  font-size:16px;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.tag{
  display:inline-flex;
  font-size:11px;
  color:rgba(255,255,255,.70);
  border:1px solid rgba(248,181,0,.25);
  background: rgba(0,0,0,.55);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:10px;
}
.icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  border:1px solid rgba(248,181,0,.25);
  background: linear-gradient(135deg, rgba(248,181,0,.18), rgba(248,181,0,.12));
  margin-bottom:10px;
}
.icon svg{ width:18px; height:18px; opacity:.95; }

/* Page shell */
.page-hero{
  padding: 26px 0 10px;
}
.page-hero .wrap{
  padding: 22px;
}
.breadcrumbs{
  font-size:12px;
  color:var(--muted2);
}
.page-hero h1{
  margin:10px 0 8px;
  font-size:30px;
  letter-spacing:-.4px;
}
.lead{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.content{
  padding: 18px 0 34px;
}

.list{
  margin:10px 0 0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.75;
  font-size:13px;
}

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:12px;
}
.speakers-split{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.split > .card{ height:100%; }
.split > .card + .card{ margin-top:0; }

.quote{
  padding:18px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(248,181,0,.10), rgba(0,0,0,.55));
  border:1px solid rgba(248,181,0,.25);
}
.quote p{ margin:0; color:rgba(255,255,255,.86); line-height:1.7; }
.quote span{ display:block; margin-top:10px; color:var(--muted2); font-size:12px; }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(248,181,0,.20);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(248,181,0,.12);
  font-size:13px;
}
.table th{
  text-align:left;
  color:rgba(255,255,255,.92);
  background: rgba(248,181,0,.10);
}
.table td{ color:var(--muted); }

.footer{
  padding: 30px 0 40px;
  border-top: 1px solid rgba(248,181,0,.20);
  background:
    linear-gradient(180deg, rgba(0,0,0,0), rgba(248,181,0,.03));
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:end;
}
.footer-panel{
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
}
.footer-brand{ margin:0 0 14px; }
.footer-logo-mark{
  display:block;
  width:min(100%, 360px);
  height:auto;
  object-fit:contain;
}
.footer-tagline{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.75;
  font-size:13px;
  max-width:52ch;
}
.footer-cert{
  display:grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(0,0,0,.72), rgba(20,20,20,.84));
  border:1px solid rgba(248,181,0,.25);
  box-shadow: 0 10px 30px rgba(0,0,0, .3);
}
.footer-cert-copy strong{
  display:block;
  font-size:14px;
  line-height:1.5;
}
.footer-cert-copy p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.footer-cert-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
}
.footer-cert-logos img{
  display:block;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0, .10));
}
.footer-cert-logos img:first-child{ height:58px; }
.footer-cert-logos img:last-child{ height:64px; }
.footer-heading{
  margin:0 0 12px;
  font-size:14px;
  letter-spacing:.02em;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
}
.footer-meta{
  margin-top:14px;
}
.footer-panel .btn.small{
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.4;
}
.footer-panel .btn.small:hover{
  transform:none;
  background:none;
  border-color:transparent;
  text-decoration:underline;
}
.footer small{ color:var(--muted2); }

.nav-close { display: none; }
.nav-overlay { display: none; }
.mobile-nav-footer { display: none; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size:40px; }
  .split{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .site-header{ background-size:auto, 150px auto; }
  .footer{ background-size:auto, 150px auto; }
  .footer-links{ gap:8px 14px; }
  .trust-strip-side{ grid-template-columns: 1fr; }
  .trust-strip,
  .footer-cert{ flex-direction:column; align-items:flex-start; }
  .trust-logos,
  .footer-cert-logos{ justify-content:flex-start; }
  .trust-logos img{ height:54px; }
  .footer-cert-logos img:first-child{ height:52px; }
  .footer-cert-logos img:last-child{ height:58px; }

  .site-header {
    z-index: 999;
  }
  .nav-close {
    display: none; /* 原本抽屉内的关闭键，有了右上角变 X 的汉堡按键即可隐藏，以保极简 */
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav.open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links{
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.97), rgba(10, 10, 10, 0.94));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 1px solid var(--stroke);
    z-index: 100;
    padding: 80px 24px 40px;
    gap: 10px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav.open .nav-links {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    padding: 12px 16px;
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    text-align: left;
    box-sizing: border-box;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(248, 181, 0, 0.08) !important;
    border-color: rgba(248, 181, 0, 0.18) !important;
    color: var(--accent) !important;
  }
  
  /* 移动端菜单底部操作区 */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--stroke2);
    width: 100%;
    box-sizing: border-box;
  }
  .mobile-nav-footer .lang-switch {
    display: flex;
    width: fit-content;
    align-self: center;
  }
  .mobile-nav-footer .btn.primary {
    width: 100%;
    box-shadow: 0 4px 12px rgba(248,181,0,0.15);
  }
  
  /* 移动端汉堡 3 条杠按钮与旋转成 X 的动画 */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    outline: none;
  }
  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    border-radius: 99px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent);
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent);
  }

  .brand{ min-width:auto; }
  .nav-right{ display: none !important; }
}

/* Events Gallery Section */
.events-gallery-section {
  padding: 54px 0 28px;
}
.events-gallery-section .section-title {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}
.events-gallery-section .section-desc {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--stroke);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.event-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #000;
  border-bottom: 1px solid var(--stroke2);
}

.event-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.event-slide.active {
  opacity: 1;
  z-index: 2;
}

.event-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 12px;
}

.next-btn {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.event-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.event-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.event-title {
  font-size: 17px;
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce){
  body::before, .hero-media .globe{ animation:none !important; }
  .btn{ transition:none; }
}

