/* style.css */
body {
  font-family: 'Padauk', 'Orbitron', sans-serif;
  background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
  color: white;
  text-align: center;
  margin: 0;
  padding: 20px 10px 150px 10px;
  min-height: 100vh;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8em;
  color: #00e6ff;
  text-shadow: 0 0 10px #00e6ff;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* SCROLLING TEXT */
.announcement-bar {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid #00e6ff;
  border-bottom: 1px solid #00e6ff;
  padding: 8px 0;
  margin-bottom: 20px;
  white-space: nowrap;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 25s linear infinite;
  font-family: 'Padauk', sans-serif;
  color: #ffd700;
  font-size: 0.95em;
  font-weight: bold;
}

@keyframes scroll-text {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* INSTALL APP BANNER */
#install-banner {
  display: none;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  cursor: pointer;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* iOS Hint */
#ios-install-hint {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85em;
  color: #bbb;
  margin-bottom: 15px;
  border: 1px solid #444;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.agent-box {
  background-color: #89cff0;
  border-radius: 15px;
  padding: 15px 5px;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: -3px -3px 7px rgba(255,255,255,0.4), 3px 3px 7px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  height: 100px;
}
.agent-box:active { transform: scale(0.95); }
.agent-icon { font-size: 1.5em; margin-bottom: 5px; color: #0f2027; }
.agent-title { font-size: 0.8em; font-weight: bold; line-height: 1.2; }

/* Action Bar */
.action-bar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 95%; max-width: 500px; display: flex; justify-content: space-between;
  background: rgba(15, 32, 39, 0.9); backdrop-filter: blur(10px);
  padding: 10px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(0, 230, 255, 0.3); z-index: 100;
}
.action-btn {
  flex: 1; margin: 0 5px; border: none; border-radius: 12px; padding: 12px 5px;
  font-family: 'Padauk', sans-serif; font-weight: bold; font-size: 0.9em;
  cursor: pointer; color: white; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.btn-deposit { background: linear-gradient(145deg, #00b09b, #96c93d); }
.btn-withdraw { background: linear-gradient(145deg, #ff416c, #ff4b2b); }
.btn-contact { background: linear-gradient(145deg, #f09819, #edde5d); color: #333; }
.action-btn i { font-size: 1.2em; margin-bottom: 3px; }

/* Modal & Form Styles */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; backdrop-filter: blur(5px); }
.modal-content { background: #1e3c4a; padding: 20px; border-radius: 20px; width: 100%; max-width: 400px; position: relative; border: 1px solid #00e6ff; box-shadow: 0 0 20px rgba(0, 230, 255, 0.2); max-height: 90vh; overflow-y: auto; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 24px; color: #ff4b2b; cursor: pointer; }
.modal-title { color: #00e6ff; margin-bottom: 15px; font-size: 1.2em; }
.warning-box { background: rgba(255, 200, 0, 0.1); border-left: 4px solid #ffc107; padding: 10px; text-align: left; font-size: 0.85em; color: #ffd700; margin-bottom: 15px; border-radius: 4px; }
.copy-box { background: #111; padding: 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border: 1px solid #444; }
.copy-text { color: #00e6ff; font-family: monospace; font-size: 1.1em; }
.copy-btn { background: #444; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8em; }
.form-group { margin-bottom: 12px; text-align: left; }
.form-label { display: block; font-size: 0.9em; margin-bottom: 5px; color: #ccc; }
.form-input, .form-select { width: 100%; padding: 12px; background: #0f2027; border: 1px solid #444; border-radius: 8px; color: white; font-family: 'Padauk', sans-serif; box-sizing: border-box; outline: none; }
.form-input:focus { border-color: #00e6ff; }
.submit-btn { width: 100%; padding: 15px; border: none; border-radius: 10px; font-size: 1.1em; font-weight: bold; color: white; cursor: pointer; margin-top: 10px; }
.submit-green { background: linear-gradient(90deg, #00b09b, #96c93d); }
.submit-red { background: linear-gradient(90deg, #ff416c, #ff4b2b); }
.contact-link { display: flex; align-items: center; background: white; color: black; padding: 12px; margin-bottom: 10px; border-radius: 10px; text-decoration: none; font-weight: bold; }
.cl-messenger { color: #006AFF; }
.cl-telegram { color: #229ED9; }
.cl-viber { color: #665CAC; }
.cl-phone { color: #333; }
#toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 10px; padding: 16px; position: fixed; z-index: 2000; left: 50%; bottom: 100px; transform: translateX(-50%); font-size: 17px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 100px; opacity: 1;} }
@keyframes fadeout { from {bottom: 100px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* AD CONTAINERS */
.ad-container { display: flex; justify-content: center; margin: 15px 0; overflow: hidden; width: 100%; }