/* ==========================================================================
   GOLDEN BOSSES CLUB — MINIMAL LUXURY 3D COMING SOON
   Aesthetic: Quiet Luxury, Haute Horlogerie & Masterpiece Antiques
   ========================================================================== */

:root {
  --bg-dark: #070709;
  --bg-card: rgba(18, 18, 22, 0.65);
  
  --gold-highlight: #fae4a8;
  --gold-primary: #d4af37;
  --gold-deep: #8c6d23;
  --gold-glow: rgba(212, 175, 55, 0.22);
  --gold-border: rgba(212, 175, 55, 0.28);
  
  --text-main: #f5f5f7;
  --text-muted: #8e8e99;
  --text-dim: #5c5c66;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --gold-gradient: linear-gradient(135deg, #fcebb6 0%, #d4af37 50%, #94711f 100%);
  --gold-btn-gradient: linear-gradient(135deg, #f0d68a 0%, #caa132 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #151419 0%, #070709 75%);
}

/* Ambient Radial Glow Behind 3D Coin */
.ambient-glow.center {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 650px);
  height: min(90vw, 650px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 1rem;
}

.brand-est {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--gold-highlight);
  background: rgba(212, 175, 55, 0.06);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.lang-btn.active {
  color: var(--gold-highlight);
  font-weight: 700;
  background: rgba(212, 175, 55, 0.14);
}

.lang-btn:hover:not(.active) {
  color: var(--text-main);
}

.lang-switch .sep {
  color: var(--text-dim);
}

/* ==========================================================================
   MAIN: 3D MEDALLION & INFO
   ========================================================================== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 2rem;
  text-align: center;
}

/* WebGL Container */
.webgl-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  touch-action: none;
}

#webgl-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#webgl-canvas-container:active {
  cursor: grabbing;
}

#webgl-canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Drag to rotate hint pill */
.hint-pill {
  position: absolute;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(14, 14, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.hint-pill.fade-out {
  opacity: 0;
}

.hint-icon {
  width: 12px;
  height: 12px;
  color: var(--gold-primary);
  animation: spinHint 6s linear infinite;
}

@keyframes spinHint {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Info Block */
.info-block {
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-strip {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.25));
  margin-bottom: 0.85rem;
}

.status-line {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

/* VIP Form */
.vip-box {
  width: 100%;
  max-width: 480px;
}

.input-row {
  display: flex;
  gap: 0.5rem;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.35rem 0.4rem 0.35rem 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.input-row:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.input-row input::placeholder {
  color: var(--text-dim);
}

.vip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-btn-gradient);
  color: #08080a;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.vip-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.vip-btn:hover .arrow-icon {
  transform: translateX(2px);
}

.vip-msg {
  font-size: 0.82rem;
  margin-top: 0.85rem;
  min-height: 1.2rem;
  transition: opacity 0.3s;
}

.vip-msg.success {
  color: #86efac;
}

.vip-msg.error {
  color: #fca5a5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 0 0.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold-highlight);
}

.footer .sep {
  margin: 0 0.4rem;
  color: rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .app-container {
    padding: 1rem 1.25rem;
  }

  .webgl-wrapper {
    height: 320px;
    margin-bottom: 0.5rem;
  }

  .brand-title {
    font-size: 2rem;
  }

  .category-strip {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .status-line {
    font-size: 0.88rem;
  }

  .input-row {
    padding: 0.25rem 0.3rem 0.25rem 1rem;
  }

  .vip-btn {
    padding: 0.7rem 1.1rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
}
