:root{
  --bg: #07070c;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.04);
  --stroke: rgba(255,255,255,0.12);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);

  --gold: #d8b15a;
  --gold2:#f3d28b;

  --shadow: 0 18px 70px rgba(0,0,0,0.55);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x:hidden;
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(216,177,90,0.16), transparent 55%),
    radial-gradient(700px 420px at 80% 15%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(900px 620px at 50% 90%, rgba(216,177,90,0.10), transparent 58%),
    linear-gradient(180deg, #050509 0%, #07070c 40%, #05050a 100%);
}

.grain{
  position:absolute;
  inset:-60px;
  z-index:-1;
  opacity:0.18;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  pointer-events:none;
}

.glow{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  filter: blur(70px);
  opacity:0.22;
}
.glow-1{ left:-120px; top:110px; background: rgba(216,177,90,0.85); }
.glow-2{ right:-140px; top:220px; background: rgba(255,255,255,0.55); }

/* Layout */
.container{
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar{
  width: min(1100px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.logo{
  width:44px;
  height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight:700;
  letter-spacing:1px;
  color:#0b0b10;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 16px 36px rgba(216,177,90,0.22);
  flex:0 0 auto;
}
.brand-text{ min-width:0; }
.brand-name{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-tag{
  margin-top:3px;
  font-size: 12px;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mini-cta{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(216,177,90,0.30);
  background: rgba(216,177,90,0.10);
}

/* Hero */
.hero{
  margin-top: 18px;
  padding: 26px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216,177,90,0.28);
  background: rgba(216,177,90,0.10);
  color: rgba(255,255,255,0.90);
  font-size: 12px;
  font-weight: 600;
}

.hero h1{
  margin: 14px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 5.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.2px;
}

.gold{
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn.primary{
  color:#0b0b10;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 18px 40px rgba(216,177,90,0.20);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn.ghost{
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.btn.full{ width:100%; }

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.stat{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
}
.stat-num{
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,0.96);
}
.stat-txt{
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Grid */
.grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.card-icon{
  width:38px;
  height:38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(216,177,90,0.14);
  border: 1px solid rgba(216,177,90,0.22);
  margin-bottom: 10px;
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

/* Panel */
.panel{
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.panel-head h2{
  margin: 4px 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.panel-head p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 7px;
}
.field.full{ grid-column: 1 / -1; }

label{
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  font-weight: 600;
}

input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.92);
  outline:none;
  font-size: 14px;
}
input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,0.40);
}

.form-note{
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
  text-align:center;
}
.form-note a{
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  border-bottom: 1px dashed rgba(216,177,90,0.55);
}

.cta-strip{
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(216,177,90,0.18);
  background: linear-gradient(180deg, rgba(216,177,90,0.10), rgba(255,255,255,0.03));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.cta-text h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.cta-text p{
  margin:0;
  color: var(--muted);
  font-size: 13.2px;
}
.cta-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* Footer */
.footer{
  margin-top: 18px;
  padding: 10px 2px 22px;
}
.footer-line{
  height:1px;
  background: rgba(255,255,255,0.10);
  margin-bottom: 12px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-brand{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
}
.foot-sub{
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}
.footer .right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.footer a{
  color: rgba(255,255,255,0.90);
  text-decoration:none;
  font-weight: 600;
  font-size: 13px;
}
.dot{ color: rgba(255,255,255,0.35); }

copyright{
  display:none;
}
.copyright{
  margin-top: 12px;
  text-align:center;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

/* Mobile */
@media (max-width: 820px){
  .stats{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
  .cta-strip{ flex-direction:column; align-items:flex-start; }
  .cta-actions{ width:100%; justify-content:flex-start; }
}
.club-links{
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.club-links a{
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216,177,90,0.24);
  background: rgba(216,177,90,0.10);
  transition: transform .12s ease;
}

.club-links a:hover{
  transform: translateY(-1px);
}
.avatar{
  width:44px;
  height:44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(216,177,90,0.35);
  box-shadow: 0 16px 36px rgba(216,177,90,0.18);
}
/* FIX AVATAR TOPBAR */
.brand img.avatar{
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  display: block !important;
  flex: 0 0 auto !important;
  border: 1px solid rgba(216,177,90,0.35) !important;
  box-shadow: 0 16px 36px rgba(216,177,90,0.18) !important;
}
.brand img.avatar{
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  object-fit:cover !important;
  display:block !important;
}
