/* Shared site styles */
:root {
  --blue:#4B6D9D;
  --blue-dark:#151645;
  --gold:#CB9022;
  --gold-soft:#ECCEA7;
  --bg:#4B6D9D;
  --text:#151645;
  --muted:#4B6D9D;
  --line:#CB9022;
  --white:#FFFFFF;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; background:#151645;}
body{background:#151645;}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.wrap{width:min(1180px, calc(100% - 32px)); margin:0 auto;}

nav{
  font-family:"Cinzel", serif;
  position:sticky;
  top:0;
  z-index:100;
  background:#4B6D9D;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.15);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:14px; min-width:0;}
.logo{
  width:56px;
  height:56px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:white;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
  border:none; 
}
.logo img{width:112%;height:112%;object-fit:contain;display:block;}
.brand small{display:none;}
.brand strong{
  display:block;
  font-size:19px;
  line-height:1.1;
  color:#ECCEA7;
  font-family:"Cinzel", "Copperplate", "Copperplate Gothic Light", serif;
  font-weight:700;
  letter-spacing:.5px;
}
.tabs{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.tab{
  padding:10px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  color:#ECCEA7;
  font-family:"Cinzel", "Copperplate", "Copperplate Gothic Light", serif;
  letter-spacing:.4px;
  transition:.18s ease;
}
.tab:hover,
.tab.active{
  background:rgba(236,206,167,.2);
  color:#FFFFFF;
}
.nav-btn{
  padding:12px 18px;
  font-family:"Montserrat", Arial, sans-serif;
  font-size:14px;
  letter-spacing:.03em;
  border-radius:16px;
  background:linear-gradient(135deg,#CB9022,#ECCEA7);
  color:#151645;
  font-weight:900;
  box-shadow:0 10px 24px rgba(203,144,34,.18);
  white-space:nowrap;
}
.nav-btn:hover{transform:translateY(-1px);}

.nav-dropdown{
  position:relative;
  display:inline-block;
}
.nav-dropdown::after{
  content:"";
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  height:10px;
}

.dropdown-menu{
  display:none;
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  min-width:172px;
  padding:6px;
  background:linear-gradient(180deg, #1C2745 0%, #243154 100%) !important;
  border:1px solid rgba(236,206,167,.22) !important;
  border-radius:14px !important;
  box-shadow:0 16px 32px rgba(8,12,28,.26) !important;
  overflow:hidden;
  z-index:200;
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #F2DFC3 !important;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(236,206,167,0.14) !important;
  color: #FFFFFF !important;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu{
  display:block;
}

footer{
  padding:28px 0 38px;
  color:#ECCEA7;
  font-family:"Montserrat", Arial, sans-serif;
}
.foot{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-top:1px solid rgba(236,206,167,.35);
  padding-top:18px;
}
.foot a.active{color:#fff;}

@media (max-width: 900px){
  .nav-inner{flex-direction:column;}
}

/* ===== Custom Gavel Cursor ===== */
/* Only hide native cursor once JS has positioned the gavel (gavel-ready class on body) */
body.gavel-ready *,
body.gavel-ready {
  cursor: none !important;
}

.gavel-cursor,
.gavel-impact-ring {
  position: fixed;
  top: 24px;
  left: 24px;
  pointer-events: none;
  z-index: 999999;
}

.gavel-cursor {
  width: 56px;
  height: 56px;
  display: block;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-35deg);
  transform-origin: 50% 75%;
  transition: transform 0.08s ease;
  will-change: transform, left, top;
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,0.9))
    drop-shadow(0 4px 12px rgba(0,0,0,0.65));
}

.gavel-cursor img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gavel-cursor.is-clicking {
  transform: translate(-50%, -50%) rotate(10deg) scale(0.9);
}

.gavel-impact-ring {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(217,185,113,0.95);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
}

.gavel-impact-ring.is-active {
  animation: gavelImpactRing 0.34s ease-out forwards;
}

@keyframes gavelImpactRing {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.25);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

@media (pointer: coarse) {
  body,
  body a,
  body button,
  body [role="button"],
  body .flip-tile,
  body input,
  body textarea,
  body select,
  body label {
    cursor: auto !important;
  }

  .gavel-cursor,
  .gavel-impact-ring {
    display: none !important;
  }
}

.gavel-cursor.is-visible {
  display: block !important;
  opacity: 1 !important;
}

.gavel-impact-ring.is-visible {
  display: block !important;
}
