/* ==========================================================================
   GOLDEN CAPY - STYLE SHEET v22.0
   Restored & Intensified Spin Effects
   ========================================================================== */

:root {
  --gold: #ffd700;
  --dark-bg: #050505;
  --green-accent: #39ff14;
  --red-alert: #ff4444;
  --white: #ffffff;
  --app-width: 420px;
}

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

body {
  display: flex; justify-content: center; align-items: center;
  width: 100%; min-height: 100dvh;
  background: radial-gradient(circle at center, #1a4a28 0%, #050505 100%);
  font-family: 'Inter', sans-serif; overflow: hidden;
}

#app-container {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: var(--app-width); height: 100dvh;
  background: rgba(0, 0, 0, 0.92); border-right: 1px solid #333; border-left: 1px solid #333;
  overflow-y: auto; scrollbar-width: none;
}
#app-container::-webkit-scrollbar { display: none; }

#modal-overlay, #auth-screen {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999; display: flex; justify-content: center; align-items: center;
  background: rgba(0,0,0,0.98); padding: 20px;
}

.modal-box, .auth-box {
  width: 100%; max-width: 380px; padding: 25px;
  background: #0a0a0a; border: 2px solid var(--gold); border-radius: 20px;
  text-align: center; box-shadow: 0 0 30px #000;
}

.auth-box h2, .auth-box h3, .modal-box h3 {
  margin-bottom: 20px; color: var(--gold) !important; font-weight: 900; text-transform: uppercase;
}

.auth-input {
  width: 100%; margin-bottom: 12px; padding: 14px;
  background: #000; border: 1px solid #333; border-radius: 10px;
  color: var(--gold); font-size: 16px;
}

.header { display: flex; justify-content: space-between; align-items: center; padding: 15px; flex-shrink: 0; }
.logo-img { height: 60px; width: auto; filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); }
.btn-deposit-header { background: var(--green-accent); color: #000; border: none; padding: 10px 14px; border-radius: 20px; font-weight: 900; cursor: pointer; }

.game-area { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 15px; min-height: 320px; }
#win-msg { height: 40px; margin-bottom: 8px; color: var(--green-accent); font-size: 20px !important; font-weight: 900; text-shadow: 0 0 10px #000; }

.slot-frame { width: 100%; max-width: 360px; padding: 8px; background: #1a1a10; border: 5px solid var(--gold); border-radius: 15px; box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
.grid-3x3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell { aspect-ratio: 1/1; background: #000; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid #222; overflow: hidden; }

/* --- INTENSIFIED SPIN EFFECT --- */
@keyframes rollEffect {
  0% { transform: translateY(0); filter: blur(0); }
  30% { transform: translateY(-30px); filter: blur(4px); } /* Aumentado desfoque e movimento */
  70% { transform: translateY(30px); filter: blur(4px); }
  100% { transform: translateY(0); filter: blur(0); }
}
.is-spinning img { animation: rollEffect 0.12s infinite linear; }
.symbol-img { width: 85%; height: 85%; object-fit: contain; }

.controls { width: 100%; padding: 15px 15px 30px 15px; display: flex; flex-direction: column; align-items: center; background: #000; border-top: 2px solid var(--gold); border-radius: 25px 25px 0 0; flex-shrink: 0; }
.balance-box { width: 190px; margin: 10px 0 12px 0; padding: 8px 0; background: #111; border: 2px solid var(--gold); border-radius: 50px; font-size: 22px; font-weight: 800; text-align: center; color: white; }
.btn-spin { width: 95px; height: 95px; background: url('/assets/images/btn_spin.png') no-repeat center; background-size: contain; border: none; cursor: pointer; margin-bottom: 8px; }
.btn-rules-link { color: white; text-decoration: underline; font-size: 13px; margin-bottom: 12px; }
.btn-logout { color: var(--red-alert); font-weight: bold; font-size: 12px; text-transform: uppercase; cursor: pointer; }