*{ margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

:root{
  --vh:1vh;
}

html, body{
  width:100%;
  overflow-x:hidden;
  background: #030509;
  scroll-behavior: smooth;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ===== Custom logo cursor ===== */
html.has-custom-cursor, html.has-custom-cursor body,
html.has-custom-cursor a, html.has-custom-cursor button,
html.has-custom-cursor [role="button"], html.has-custom-cursor .member-card,
html.has-custom-cursor .gallery-item{
  cursor:none;
}

.custom-cursor{
  position:fixed;
  top:0;
  left:0;
  width:38px;
  height:38px;
  pointer-events:none;
  z-index:9999;
  transform:translate(-50%,-50%) scale(1);
  opacity:0;
  transition: opacity .25s ease, transform .15s ease;
  will-change: transform;
}

.custom-cursor.is-active{ opacity:1; }
.custom-cursor.is-pointer{ transform:translate(-50%,-50%) scale(1.35); }
.custom-cursor.is-down{ transform:translate(-50%,-50%) scale(0.85); }

.custom-cursor img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:
    drop-shadow(0 0 4px rgba(79,216,255,0.9))
    drop-shadow(0 0 10px rgba(79,216,255,0.55));
}

.cursor-particles{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:9998;
}

@media (hover: none), (pointer: coarse){
  .custom-cursor, .cursor-particles{ display:none !important; }
  html.has-custom-cursor, html.has-custom-cursor body,
  html.has-custom-cursor a, html.has-custom-cursor button,
  html.has-custom-cursor [role="button"], html.has-custom-cursor .member-card,
  html.has-custom-cursor .gallery-item{
    cursor:auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .cursor-particles{ display:none !important; }
  html, body{ scroll-behavior:auto; }
}

.cosmic-bg{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(18,58,122,0.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(30,111,217,0.18), transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #05070d, #030509 80%);
}

.grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(79,216,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,216,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
  animation: gridPan 40s linear infinite;
}
@keyframes gridPan{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 200px 200px, 200px 200px; }
}

.vignette{
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(0,0,0,0.75) 100%);
  pointer-events:none;
}

canvas#net{
  position:absolute;
  inset:0;
  display:block;
}

.scene{
  position:relative;
  z-index:1;
  width:100%;
  height:100vh;
  height:calc(var(--vh, 1vh) * 100);
  height:100svh;
}
@supports (height: 100dvh){
  .scene{ height:100dvh; }
}

.aurora{
  position:absolute;
  inset:-20%;
  filter: blur(60px);
  opacity:0.4;
  mix-blend-mode: screen;
  pointer-events:none;
}
.aurora span{
  position:absolute;
  border-radius:50%;
  will-change: transform;
}
.aurora span:nth-child(1){
  width:45vw; height:45vw;
  top:5%; left:10%;
  background: radial-gradient(circle, #1e6fd9, transparent 70%);
  animation: float1 18s ease-in-out infinite;
}
.aurora span:nth-child(2){
  width:38vw; height:38vw;
  bottom:0%; right:5%;
  background: radial-gradient(circle, #4fd8ff, transparent 70%);
  animation: float2 22s ease-in-out infinite;
  opacity:0.5;
}
.aurora span:nth-child(3){
  width:30vw; height:30vw;
  top:40%; left:50%;
  background: radial-gradient(circle, #123a7a, transparent 70%);
  animation: float3 26s ease-in-out infinite;
  opacity:0.6;
}

@keyframes float1{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(8vw,6vh) scale(1.15); }
}
@keyframes float2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-6vw,-8vh) scale(1.1); }
}
@keyframes float3{
  0%,100%{ transform: translate(-50%,-50%) scale(1); }
  50%{ transform: translate(-45%,-55%) scale(1.2); }
}

.shimmer{
  position:absolute;
  inset:0;
  background: linear-gradient(115deg, transparent 40%, rgba(63,169,255,0.06) 50%, transparent 60%);
  background-size: 300% 300%;
  animation: shimmerMove 9s ease-in-out infinite;
  pointer-events:none;
}
@keyframes shimmerMove{
  0%{ background-position: 0% 0%; }
  50%{ background-position: 100% 100%; }
  100%{ background-position: 0% 0%; }
}

.label{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  pointer-events:none;
  
  opacity:0;
  transform:translateY(-46px);
  animation: heroReveal 1.3s cubic-bezier(.16,.84,.44,1) .2s forwards;
}
@keyframes heroReveal{
  to{ opacity:1; transform:translateY(0); }
}
.label h1{
  font-family: 'Cinzel', serif;
  font-size: clamp(48px, 14vw, 150px);
  letter-spacing: clamp(3px, 1.2vw, 10px);
  font-weight:700;
  
  background: linear-gradient(
    90deg,
    #1e6fd9 0%,
    #4fd8ff 25%,
    #ffffff 50%,
    #4fd8ff 75%,
    #1e6fd9 100%
  );
  background-size:200% 100%;
  background-repeat:repeat;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  text-shadow: 0 0 40px rgba(63,169,255,0.35);
  animation: titleShine 5s linear infinite;
}
@keyframes titleShine{
  from{ background-position:200% 0; }
  to{ background-position:0% 0; }
}
.label p{
  font-family: 'Marcellus', serif;
  margin-top:-15px;
  color: rgba(200,225,255,0.6);
  font-size: clamp(12px, 2.2vw, 17px);
  letter-spacing: clamp(2px, 0.6vw, 4px);
  text-transform: uppercase;
  padding:0 16px;
}

@media (max-width:420px){
  .label p{ margin-top:-6px; }
}

.scroll-down{
  position:absolute;
  bottom:44px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
  text-decoration:none;
  z-index:5;
  cursor:pointer;
  opacity:1;
  transition: opacity .6s ease, transform .6s ease;
}
.scroll-down.is-hidden{
  opacity:0;
  transform:translate(-50%, 14px);
  pointer-events:none;
}

.scroll-down-text{
  font-family:'Marcellus', serif;
  font-size:11px;
  letter-spacing:5px;
  
  text-indent:5px;
  text-transform:uppercase;
  
  background:linear-gradient(
    90deg,
    #8e97a6 0%,
    #c9d2de 30%,
    #ffffff 50%,
    #c9d2de 70%,
    #8e97a6 100%
  );
  background-size:200% 100%;
  background-repeat:repeat;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation: scrollShine 4s linear infinite;
  transition: filter .3s ease;
}
@keyframes scrollShine{
  from{ background-position:200% 0; }
  to{ background-position:0% 0; }
}
.scroll-down:hover .scroll-down-text{
  filter: brightness(1.25) drop-shadow(0 0 8px rgba(255,255,255,0.35));
}

.scroll-chevron{
  width:10px;
  height:10px;
  border-right:2px solid #4fd8ff;
  border-bottom:2px solid #4fd8ff;
  transform:rotate(45deg);
  animation: chevronBounce 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(79,216,255,0.7));
}
@keyframes chevronBounce{
  0%,100%{ transform:rotate(45deg) translate(0,0); opacity:0.4; }
  50%{ transform:rotate(45deg) translate(4px,4px); opacity:1; }
}

.exclusive-section{
  position:relative;
  z-index:1;
  min-height:100vh;
  padding:110px 24px 140px;
  display:flex;
  flex-direction:column;
  align-items:center;
  
}

.section-header{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin-bottom:70px;
  padding:0 16px;
}
.section-header .line{
  width:70px;
  max-width:14vw;
  height:1px;
  flex:0 1 70px;
  background:linear-gradient(90deg, transparent, #1e6fd9);
}
.section-header .line:last-child{
  background:linear-gradient(90deg, #1e6fd9, transparent);
}

.category-header-spaced{
  margin-top:90px;
}
.section-header h2{
  font-family:'Cinzel', serif;
  font-size:clamp(15px, 4vw, 22px);
  letter-spacing:clamp(3px, 1.6vw, 9px);
  text-transform:uppercase;
  text-shadow:0 0 20px rgba(63,169,255,0.5);
  white-space:nowrap;
  background:linear-gradient(
    90deg,
    #8e97a6 0%,
    #c9d2de 30%,
    #ffffff 50%,
    #c9d2de 70%,
    #8e97a6 100%
  );
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation: scrollShine 4s linear infinite;
}

.reveal-up{
  opacity:0;
  transform:translateY(56px);
  transition: opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
}
.reveal-up.in-view{
  opacity:1;
  transform:translateY(0);
}

.member-grid.reveal-up{ transition-delay:.12s; }

@media (prefers-reduced-motion: reduce){
  .label, .label h1, .section-header h2, .scroll-down-text, .scroll-chevron{
    animation:none !important;
  }
  .reveal-up{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
  .marquee-track{
    animation:none !important;
  }
  .marquee-outer{
    overflow-x:auto;
  }
}

.member-grid{
  
  --per-row:5;
  --member-w:150px;   
  --member-gap:10px;  
  --member-row-gap:46px; 

  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:var(--member-row-gap) var(--member-gap);
  width:100%;
  margin:0 auto;
  
  max-width:calc(var(--member-w) * var(--per-row) + var(--member-gap) * (var(--per-row) - 1));
}

.member-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
  width:var(--member-w);
  transition: transform .35s ease;
  
  text-decoration:none;
  color:inherit;
}
a.member-card{
  cursor:pointer;
}
.member-card:hover{
  transform: translateY(-8px);
}

.marquee-outer{
  position:relative;
  z-index:1;
  width:100%;
  overflow:hidden;
  padding:14px 0;
  
  --marquee-fade:160px;
  -webkit-mask-image: linear-gradient(90deg,
    transparent, #000 var(--marquee-fade),
    #000 calc(100% - var(--marquee-fade)), transparent);
  mask-image: linear-gradient(90deg,
    transparent, #000 var(--marquee-fade),
    #000 calc(100% - var(--marquee-fade)), transparent);
}
.marquee-track{
  display:flex;
  align-items:flex-start;
  width:max-content;
  gap:44px;
  animation: marquee-rtl 48s linear infinite;
}

.marquee-outer:hover .marquee-track{
  animation-play-state:paused;
}
.marquee-track .member-card{
  width:120px;
}
@keyframes marquee-rtl{
  from{ transform:translateX(0%); }
  to{ transform:translateX(-50%); }
}

@media (max-width:640px){
  .marquee-outer{
    --marquee-fade:60px;
  }
}

.avatar-wrap{
  position:relative;
  width:120px;
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.status-ring{
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid rgba(150,160,180,0.25);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.member-card[data-status="online"] .status-ring{
  border-color:#3ba55d;
  box-shadow:0 0 16px rgba(59,165,93,0.5);
}
.member-card[data-status="idle"] .status-ring{
  border-color:#f0b232;
  box-shadow:0 0 16px rgba(240,178,50,0.5);
}
.member-card[data-status="dnd"] .status-ring{
  border-color:#ed4245;
  box-shadow:0 0 16px rgba(237,66,69,0.5);
}

.avatar-img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  background:#0a1a3a;
  position:relative;
  z-index:1;
}
.avatar-decoration{
  position:absolute;
  width:150px;
  height:150px;
  pointer-events:none;
  z-index:2;
}
.status-dot{
  position:absolute;
  bottom:1px;
  right:1px;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#8a8f98;
  border:3px solid #05070d;
  z-index:3;
}
.member-card[data-status="online"] .status-dot{ background:#3ba55d; }
.member-card[data-status="idle"] .status-dot{ background:#f0b232; }
.member-card[data-status="dnd"] .status-dot{ background:#ed4245; }

.member-name{
  font-family:'Cinzel', serif;
  font-size:18px;
  letter-spacing:2px;
  color:#eaf5ff;
  text-transform:uppercase;
  text-align:center;
}

@media (max-width: 640px){
  .member-grid{
    --member-w:110px;
    --member-row-gap:34px;
  }
  .avatar-wrap,
  .avatar-img{ width:92px; height:92px; }
  .avatar-decoration{ width:115px; height:115px; }
  .status-dot{ width:20px; height:20px; border-width:2px; }
  .member-name{ font-size:15px; }
}

.server-section{
  position:relative;
  z-index:1;
  padding:110px 24px 60px;
  display:flex;
  flex-direction:column;
  min-height: 80vh;
  align-items:center;
}

.server-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:720px;
  padding:36px 34px 30px;
  border-radius:22px;
  background:linear-gradient(160deg, rgba(15,26,48,0.65), rgba(6,12,24,0.65));
  border:1px solid rgba(79,216,255,0.22);
  box-shadow:0 0 0 1px rgba(79,216,255,0.05) inset, 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(30,111,217,0.12);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .server-card{
    background:linear-gradient(160deg, rgba(11,19,36,0.92), rgba(5,10,20,0.92));
  }
}

.server-card-head{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.server-icon{
  position:relative;
  width:72px;
  height:72px;
  border-radius:50%;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 30% 30%, #1e6fd9, #0a1a3a);
  border:2px solid rgba(79,216,255,0.4);
  box-shadow:0 0 24px rgba(63,169,255,0.35);
  overflow:hidden;
}
.server-icon img{ width:100%; height:100%; object-fit:cover; }
.server-icon span{
  font-family:'Cinzel', serif;
  font-size:26px;
  color:#eaf5ff;
}
.server-icon-pulse{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:1px solid rgba(79,216,255,0.5);
  animation: iconPulse 2.6s ease-out infinite;
  pointer-events:none;
}
@keyframes iconPulse{
  0%{ transform:scale(0.9); opacity:0.8; }
  100%{ transform:scale(1.35); opacity:0; }
}

.server-titles{ flex:1 1 220px; min-width:200px; }
.server-titles h3{
  font-family:'Cinzel', serif;
  font-size:26px;
  letter-spacing:3px;
  color:#eaf5ff;
  text-shadow:0 0 18px rgba(63,169,255,0.4);
}
.server-tagline{
  font-family:'Marcellus', serif;
  font-size:13px;
  letter-spacing:1.5px;
  color:rgba(200,225,255,0.55);
  margin-top:4px;
}
.server-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.tag-pill{
  font-family:'Marcellus', serif;
  font-size:10.5px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:999px;
  border:1px solid rgba(79,216,255,0.3);
  color:rgba(200,225,255,0.75);
  background:rgba(63,169,255,0.06);
}

.server-stats{
  display:flex;
  gap:34px;
  flex-wrap:wrap;
  margin:28px 0 4px;
  padding:20px 0;
  border-top:1px solid rgba(79,216,255,0.14);
  border-bottom:1px solid rgba(79,216,255,0.14);
}
.stat{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:80px;
}
.stat-value{
  font-family:'Cinzel', serif;
  font-size:20px;
  color:#eaf5ff;
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.stat-label{
  font-family:'Marcellus', serif;
  font-size:10.5px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(200,225,255,0.5);
}
.stat-online .dot{
  width:8px; height:8px; border-radius:50%;
  background:#3ba55d;
  box-shadow:0 0 8px rgba(59,165,93,0.8);
  animation: dotPulse 1.8s ease-in-out infinite;
  flex:0 0 auto;
}
@keyframes dotPulse{
  0%,100%{ opacity:1; }
  50%{ opacity:0.35; }
}

.server-tabs{
  display:flex;
  margin-top:26px;
  border-bottom:1px solid rgba(79,216,255,0.14);
}
.tab-btn{
  font-family:'Marcellus', serif;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  background:none;
  border:none;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  color:rgba(200,225,255,0.5);
  padding:12px 6px;
  margin-right:22px;
  cursor:pointer;
  position:relative;
  transition:color .3s ease;
}
.tab-btn::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:2px;
  background:linear-gradient(90deg,#1e6fd9,#4fd8ff);
  transform:scaleX(0);
  transition:transform .3s ease;
}
.tab-btn:hover{ color:rgba(230,240,255,0.85); }
.tab-btn.is-active{ color:#eaf5ff; }
.tab-btn.is-active::after{ transform:scaleX(1); }

.tab-panel{
  display:none;
  padding-top:24px;
  animation: panelFade .4s ease;
}
.tab-panel.is-active{ display:block; }
@keyframes panelFade{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

.tab-panel[data-panel="about"] p{
  font-family:'Marcellus', serif;
  font-size:14px;
  line-height:1.8;
  color:rgba(220,232,250,0.75);
}

.channels-list{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.channels-empty{
  font-family:'Marcellus', serif;
  font-size:13px;
  color:rgba(200,225,255,0.5);
  padding:10px 12px;
}
.channel-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:10px;
  transition:background .25s ease;
}
.channel-row:hover{ background:rgba(63,169,255,0.06); }
.channel-icon{
  color:rgba(150,190,230,0.7);
  display:flex;
  flex:0 0 auto;
}
.channel-name{
  font-family:'Marcellus', serif;
  font-size:13.5px;
  letter-spacing:0.5px;
  color:rgba(220,232,250,0.85);
  flex:1;
}
.channel-count{
  font-family:'Marcellus', serif;
  font-size:11px;
  color:rgba(150,190,230,0.55);
}

.member-grid--compact{
  --member-w:96px;
  --member-gap:8px;
  --member-row-gap:26px;
  max-width:none;
  justify-content:flex-start;
}
.member-grid--compact .avatar-wrap,
.member-grid--compact .avatar-img{ width:74px; height:74px; }
.member-grid--compact .avatar-decoration{ width:92px; height:92px; }
.member-grid--compact .status-dot{ width:16px; height:16px; border-width:2px; }
.member-grid--compact .member-name{ font-size:12px; }

.members-more{
  margin-top:14px;
  font-family:'Marcellus', serif;
  font-size:11.5px;
  letter-spacing:1px;
  color:rgba(200,225,255,0.5);
}

.server-note{
  margin-top:26px;
  font-family:'Marcellus', serif;
  font-size:11px;
  letter-spacing:1px;
  color:rgba(200,225,255,0.35);
  text-align:center;
}

@media (prefers-reduced-motion: reduce){
  .server-icon-pulse,
  .stat-online .dot{
    animation:none !important;
  }
}

@media (max-width:560px){
  .server-card{ padding:28px 20px 24px; }
  .server-card-head{ flex-direction:column; text-align:center; }
  .server-tags{ justify-content:center; }
  .server-stats{ justify-content:center; }
  .server-tabs{ justify-content:center; }
  .tab-btn{ margin-right:14px; }
}

.gallery-section{
  position:relative;
  z-index:1;
  padding:0 24px 140px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.gallery-grid{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.gallery-item{
  position:relative;
  aspect-ratio:4 / 3;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(160deg, rgba(15,26,48,0.65), rgba(6,12,24,0.65));
  border:1px solid rgba(79,216,255,0.22);
  box-shadow:0 0 0 1px rgba(79,216,255,0.05) inset, 0 20px 50px rgba(0,0,0,0.45);
  transition:transform .4s cubic-bezier(.16,.84,.44,1), border-color .4s ease, box-shadow .4s ease;
}
.gallery-item:hover{
  transform:translateY(-6px);
  border-color:rgba(79,216,255,0.5);
  box-shadow:0 0 0 1px rgba(79,216,255,0.12) inset, 0 26px 60px rgba(0,0,0,0.5), 0 0 40px rgba(30,111,217,0.25);
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.gallery-item-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(200,225,255,0.35);
  font-family:'Marcellus', serif;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
}

.gallery-item.is-clickable{ cursor:pointer; }
.gallery-item-zoom{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Marcellus', serif;
  font-size:20px;
  line-height:1;
  color:#eaf5ff;
  background:rgba(6,12,24,0.55);
  border:1px solid rgba(79,216,255,0.35);
  opacity:0;
  transform:scale(0.85);
  transition:opacity .3s ease, transform .3s ease;
  pointer-events:none;
}
.gallery-item.is-clickable:hover .gallery-item-zoom{
  opacity:1;
  transform:scale(1);
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:rgba(4,8,16,0.88);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease;
}
.lightbox.is-open{
  opacity:1;
  visibility:visible;
}
.lightbox-img{
  max-width:min(92vw, 1100px);
  max-height:88vh;
  width:auto;
  height:auto;
  border-radius:14px;
  border:1px solid rgba(79,216,255,0.3);
  box-shadow:0 30px 90px rgba(0,0,0,0.6), 0 0 60px rgba(30,111,217,0.2);
  transform:scale(0.94);
  transition:transform .3s ease;
}
.lightbox.is-open .lightbox-img{
  transform:scale(1);
}
.lightbox-close{
  position:absolute;
  top:24px;
  right:28px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(15,26,48,0.7);
  border:1px solid rgba(79,216,255,0.35);
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  color:#eaf5ff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
.lightbox-close:hover{
  background:rgba(63,169,255,0.18);
  border-color:rgba(79,216,255,0.6);
  transform:scale(1.06);
}
body.lightbox-open{ overflow:hidden; }

@media (max-width:760px){
  .gallery-grid{ grid-template-columns:1fr; }
}

@media (max-width:480px){
  .lightbox{ padding:16px; }
  .lightbox-close{ top:12px; right:12px; width:38px; height:38px; font-size:22px; }
}

@supports not (aspect-ratio: 4 / 3){
  .gallery-item{ padding-top:75%; height:0; }
  .gallery-item img,
  .gallery-item-placeholder{ position:absolute; top:0; left:0; }
}

#site-footer{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  padding:60px 24px 57px;
}

.footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  text-align:center;
}

.footer-copy{
  font-family:'Marcellus', serif;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(200,225,255,0.4);
}
.footer-brand{
  color:#4fd8ff;
  text-shadow:0 0 16px rgba(79,216,255,0.55);
  font-weight:600;
}

.footer-stats{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 18px;
  border-radius:999px;
  font-family:'Marcellus', serif;
  font-size:14px;
  letter-spacing:0.5px;
  color:rgba(220,232,250,0.85);
  background:linear-gradient(160deg, rgba(15,26,48,0.65), rgba(6,12,24,0.65));
  border:1px solid rgba(79,216,255,0.22);
  box-shadow:0 0 0 1px rgba(79,216,255,0.05) inset, 0 10px 30px rgba(0,0,0,0.4);
  cursor:default;
}
.footer-pill-icon{
  display:flex;
  width:17px;
  height:17px;
  color:rgba(150,190,230,0.75);
}
.footer-pill-icon svg{ width:100%; height:100%; }

.footer-pill--likes{
  cursor:pointer;
  font:inherit;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.footer-pill--likes:hover{
  transform:translateY(-2px);
  border-color:rgba(79,216,255,0.4);
}
.footer-pill--likes .footer-pill-icon{
  transition:color .25s ease, transform .25s ease;
}
.footer-pill--likes.is-liked{
  border-color:rgba(255,77,103,0.55);
  box-shadow:0 0 0 1px rgba(255,77,103,0.12) inset, 0 10px 30px rgba(0,0,0,0.4), 0 0 22px rgba(255,77,103,0.2);
  color:#ffd7dd;
}
.footer-pill--likes.is-liked .footer-pill-icon{
  color:#ff4d67;
  fill:#ff4d67;
  transform:scale(1.08);
}
.footer-pill--likes:active .footer-pill-icon{ transform:scale(0.9); }

.lavish-toast{
  position:fixed;
  left:50%;
  bottom:36px;
  z-index:300;
  transform:translate(-50%, 16px);
  padding:12px 22px;
  border-radius:999px;
  font-family:'Marcellus', serif;
  font-size:13px;
  letter-spacing:0.5px;
  color:#eaf5ff;
  background:rgba(10,18,34,0.92);
  border:1px solid rgba(79,216,255,0.35);
  box-shadow:0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(30,111,217,0.2);
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.lavish-toast.is-visible{
  opacity:1;
  transform:translate(-50%, 0);
}
