/* ================================
   Reset & Base
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0a1a3a, #1a3a6d, #0a1a3a);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 15px;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ================================
   Header & Logo
================================ */
header {
  margin: 30px 0 10px;
  position: relative;
}

.logo-container {
  position: relative;
  margin: 0 auto 10px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
}

.logo-container::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 50%;
}

.crown-icon {
  font-size: 60px;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 50px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  background: linear-gradient(to right, #ffd700, #ff9800, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, transparent, #ffd700, #ff5722, transparent);
  border-radius: 50%;
}

.tagline {
  font-size: 0.9rem;
  width: 280px !important;
  color: #ffd700;
  font-weight: 500;
  margin: -15px auto 20px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  display: block;
}

/* ================================
   Main Section
================================ */
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: -50px auto 20px;
  background: rgba(10, 20, 40, 0.85);
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 152, 0, 0.2);
  z-index: 10;
}

main::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #ff9800, #ff5722, #0a1a3a, #1a3a6d);
  z-index: -1;
  border-radius: 22px;
}

main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.85);
  z-index: -1;
  border-radius: 18px;
}

/* ================================
   Features
================================ */
.features {
  display: flex;
  justify-content: space-around;
  margin: 25px 0 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  flex: 1 1 40%;
  min-width: 120px;
}

.feature-icon {
  font-size: 28px;
  color: #ffd700;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 0.9rem;
  color: #d0d0d0;
}

p.guide {
  font-size: 1.1rem;
  margin: -10px 0 -5px;
  line-height: 1.6;
  color: #e0e0e0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ================================
   Forms
================================ */
form#registerForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  margin: 0 auto 20px;
}

form#registerForm input[type="text"],
form#registerForm input[type="password"] {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
}

form#registerForm input:focus {
  outline: 2px solid #ff9800;
  background: #fff;
  color: #000;
}

/* ================================
   Buttons
================================ */
.register-btn,
button.download-btn {
  background: linear-gradient(to right, #ff9800, #ff5722);
  border: none;
  padding: 15px;
  width: 280px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
  transition: background 0.3s ease, transform 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.register-btn:hover,
button.download-btn:hover,
.register-btn:focus,
button.download-btn:focus {
  background: linear-gradient(to right, #ff5722, #ff9800);
  outline: none;
}

.register-btn:active,
button.download-btn:active {
  transform: scale(0.95);
  box-shadow:
    inset 0.1vw 0.1vw 0.2vw rgba(255, 255, 255, 0.3),
    inset -0.1vw -0.1vw 0.2vw rgba(0, 0, 0, 0.2),
    0.3vw 0.3vw 0.6vw rgba(0, 0, 0, 0.4);
}

.register-message {
  margin-top: 10px;
  font-size: 1rem;
  min-height: 1.2em;
}

/* Download button specific */
.download-container {
  position: relative;
  margin: 20px 0;
}

button.download-btn {
  padding: 15px !important;
  font-size: 1.2rem !important;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 70px;
  width: 320px !important;
}

.btn-icon {
  font-size: 1.6rem;
}

.download-info {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 15px;
}

.version {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* ================================
   Partner & Policy
================================ */
.partner-policy-container {
  max-width: 500px;
  margin: 0 auto 15px;
  text-align: center;
}

.partner-policy-title {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 20px 0 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.partner-policy-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.4;
  margin: 0;
  padding: 0 10px;
}

/* ================================
   Footer
================================ */
footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 0 10px;
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255, 215, 0, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* ================================
   Toast
================================ */
.toast {
  visibility: hidden;
  min-width: 330px;
  max-width: 90vw;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 15px 20px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: visibility 0s, opacity 0.3s ease-in-out;
  opacity: 0;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

/* ================================
   Headings
================================ */
h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  color: orange;
  text-align: center;
  margin: 20px 0;
}

h2::after {
  content: '👇';
  display: inline-block;
  margin-left: 8px;
}

/* Light, soft colors for game headings */
section h3:nth-of-type(1) { color: #FFB347; } /* Teen Patti */
section h3:nth-of-type(2) { color: #87CEFA; } /* Andar Bahar */
section h3:nth-of-type(3) { color: #FFD700; } /* Lucky Wheel */
section h3:nth-of-type(4) { color: #90EE90; } /* Aviator */
section h3:nth-of-type(5) { color: #FF69B4; } /* Tiger Slot */
section h3:nth-of-type(6) { color: #FFA07A; } /* Mining */
section h3:nth-of-type(7) { color: #20B2AA; } /* High Low */
section h3:nth-of-type(8) { color: #BA55D3; } /* Red & White */
section h3:nth-of-type(9) { color: #40E0D0; } /* Mind Games */
section h3:nth-of-type(10){ color: #F08080; } /* Shooting Games */
section h3:nth-of-type(11){ color: #DA70D6; } /* Money Coming */

/* ================================
   Responsive
================================ */
@media (max-width: 600px) {
  header h1 { font-size: 1.3rem; }
  .logo-container { width: 100px; height: 100px; }
  .crown-icon { font-size: 40px; }
  main { padding: 25px 20px; max-width: 95vw; }
  button.download-btn { width: 100%; padding: 18px 0; font-size: 1.2rem; }
  .features { gap: 15px; }
  .feature { flex: 1 1 40%; }
}

@media (max-width: 480px) {
  header h1 { font-size: 1.3rem; }
  .tagline { font-size: 0.8rem; }
  p.guide { font-size: 0.9rem; }
  .logo-container { width: 85px; height: 85px; }
  .crown-icon { font-size: 40px; }
  .feature-icon { font-size: 24px; }
}

/* Highlighted intro text (preferred) */
.guide.highlight {
  color: #FFD700;          /* gold — visible on dark background */
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.6rem auto;
  text-align: center;
}

/* special colour for the verified badge line */
.guide.highlight .verified {
  color: #00BFFF;          /* bright cyan */
  font-size: 1rem;
  font-weight: 700;
}

section.partnership-policy p {
  color: gray;
}
