/* === BASE RESET & BODY === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #102650;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  color: #fff;
  position: relative;
}

/* === BLUE BACKGROUND === */
.video-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(41, 199, 255, 0.16) 0%,
      transparent 60%
    ),
    linear-gradient(145deg, #102650 0%, #164a87 55%, #103566 100%);
  pointer-events: none;
  z-index: 1;
}

/* === MAIN CONTENT WRAPPER === */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px 0;
}

/* === LOGO === */
.logo-container {
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.logo {
  width: 450px;
  max-width: 95%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

/* === MARQUEE TEXT === */
.marquee-text {
  width: 100%;
  background: rgba(12, 38, 80, 0.85);
  padding: 14px 0;
  border-top: 2px solid #29c7ff;
  border-bottom: 2px solid #29c7ff;
  margin-bottom: 18px;
  overflow: hidden;
  white-space: nowrap;
  color: #29c7ff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(14px, 4vw, 20px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(41, 199, 255, 0.3);
}

.marquee-inner {
  display: inline-block;
  animation: scrollText 20s linear infinite;
  padding-left: 100%;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* === CTA BUTTON === */
.btn-wrapper {
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ref-btn {
  display: inline-block;
  background: linear-gradient(145deg, #29c7ff, #2860ff);
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 4.5vw, 24px);
  padding: 12px clamp(24px, 6vw, 44px);
  border-radius: 80px;
  text-decoration: none;
  border: 3px solid #53d5ff;
  box-shadow:
    0 10px 30px rgba(41, 199, 255, 0.3),
    inset 0 2px 5px rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(9, 32, 80, 0.4);
  text-transform: uppercase;
}

.ref-btn:hover {
  background: linear-gradient(145deg, #2860ff, #1746cc);
  transform: translateY(-5px);
  box-shadow:
    0 16px 36px rgba(41, 199, 255, 0.45),
    inset 0 2px 5px rgba(255, 255, 255, 0.6);
  border-color: #fff;
}

/* === FLAG SECTION === */
.flag-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.flag-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  margin-bottom: 15px;
  cursor: pointer;
}

.flag {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #29c7ff;
  box-shadow: 0 0 22px rgba(41, 199, 255, 0.4);
  animation: spinLeft 10s linear infinite;
  pointer-events: none;
}

.flag-item:active {
  opacity: 0.8;
}

@keyframes spinLeft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.country-name {
  margin-top: 10px;
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px #000;
  text-align: center;
  pointer-events: none;
}

.greeting {
  font-size: clamp(14px, 4.5vw, 18px);
  font-weight: 600;
  color: #29c7ff;
  text-shadow: 1px 1px 2px #000;
  margin-bottom: 2px;
  pointer-events: none;
}

/* === SEO CONTENT === */
.seo-content {
  width: 100%;
  max-width: 1200px;
  background: rgba(12, 34, 72, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(41, 199, 255, 0.5);
  padding: 40px 30px;
  border-radius: 40px;
  text-align: left;
  margin-top: 50px;
  color: #fff;
  box-shadow: 0 0 30px rgba(40, 96, 255, 0.2);
}

.seo-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  color: #29c7ff;
  margin-bottom: 20px;
  border-left: 6px solid #2860ff;
  padding-left: 18px;
}

.seo-content p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 18px;
  color: #f0f0f0;
}

.seo-content b {
  color: #29c7ff;
  font-weight: 700;
}

.security-badge {
  background: rgba(40, 96, 255, 0.2);
  border: 1px solid #29c7ff;
  padding: 15px;
  border-radius: 16px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  backdrop-filter: blur(5px);
}

/* === JACKPOT TICKER === */
.jackpot-section {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 15px 20px;
  background: rgba(12, 34, 72, 0.85);
  border: 1px solid rgba(41, 199, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(41, 199, 255, 0.1);
}

.jackpot-title {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #29c7ff;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(41, 199, 255, 0.2);
  font-size: 14px;
  color: #ddd;
}

.ticker-item:last-child {
  border-bottom: none;
}
.ticker-time {
  color: #aaa;
  min-width: 45px;
  font-size: 13px;
}
.ticker-game {
  color: #fff;
  min-width: 100px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
}
.ticker-user {
  color: #ccc;
  flex: 1;
  font-family: monospace;
  font-size: 13px;
}
.ticker-amount {
  color: #29c7ff;
  font-weight: 700;
  font-size: 14px;
}

/* === REVIEW SECTION === */
.review-section {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 40px 30px;
  background: rgba(12, 34, 72, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(41, 199, 255, 0.3);
  border-radius: 40px;
  box-shadow: 0 0 30px rgba(40, 96, 255, 0.2);
}

.review-title {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #29c7ff;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.review-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(41, 199, 255, 0.3);
}

.rating-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 35px;
  color: #444;
  cursor: pointer;
  transition: 0.1s;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
  color: #29c7ff;
  text-shadow: 0 0 20px #29c7ff;
}

.review-input {
  width: 100%;
  max-width: 600px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.review-input textarea {
  flex: 1;
  min-width: 250px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(41, 199, 255, 0.5);
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  resize: none;
  height: 60px;
  transition: 0.3s;
}

.review-input textarea:focus {
  outline: none;
  border-color: #29c7ff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(41, 199, 255, 0.3);
}

.review-input textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
  padding: 0 30px;
  background: linear-gradient(145deg, #29c7ff, #2860ff);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.5);
  height: 60px;
  min-width: 120px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(41, 199, 255, 0.5);
  background: linear-gradient(145deg, #2860ff, #1746cc);
}

.reviews-header {
  font-size: 20px;
  font-weight: 700;
  color: #29c7ff;
  margin-bottom: 20px;
  text-align: center;
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 280px;
}

.review-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: rgba(16, 48, 94, 0.75);
  border: 1px solid rgba(41, 199, 255, 0.3);
  border-radius: 30px;
  padding: 25px 20px;
  backdrop-filter: blur(5px);
  transition: 0.3s;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card:hover {
  background: rgba(12, 38, 80, 0.85);
  border-color: #29c7ff;
  box-shadow: 0 0 30px rgba(41, 199, 255, 0.2);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, #29c7ff, #2860ff);
  border: 2px solid #29c7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  color: #29c7ff;
  font-size: 16px;
}

.review-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
}

.review-stars {
  color: #29c7ff;
  margin-bottom: 15px;
  font-size: 16px;
}

.review-stars i {
  margin-right: 3px;
}

.review-text {
  color: #f0f0f0;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

/* === MODAL STYLES === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(135deg, #102650, #164a87);
  border: 3px solid #29c7ff;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 50px rgba(41, 199, 255, 0.3);
  animation: modal-pop 0.3s ease-out;
}

@keyframes modal-pop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-title {
  font-family: "Orbitron", sans-serif;
  color: #29c7ff;
  font-size: 28px;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(41, 199, 255, 0.5);
}

.minigame-container {
  background: #102650;
  border: 3px solid #444;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: inset 0 0 20px #000;
}

.slot-machine {
  display: flex;
  justify-content: space-around;
  font-size: 50px;
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  border: 2px solid #2860ff;
  box-shadow: inset 0 10px 10px rgba(0, 0, 0, 0.5);
}

.slot-reel {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(#e0e0e0, #fff, #e0e0e0);
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-message {
  font-size: 20px;
  color: #d8f3ff;
  margin-bottom: 25px;
  min-height: 24px;
}

.success-text {
  color: #00ff00;
  font-weight: bold;
  font-size: 22px;
  text-shadow: 0 0 10px rgba(0, 40, 96, 255.5);
}

.hidden {
  display: none !important;
}

.modal-cta-btn {
  background: linear-gradient(to bottom, #29c7ff, #2860ff);
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 15px 30px;
  border: 3px solid #fff;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  box-shadow:
    0 0 20px #2860ff,
    inset 0 0 10px rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.modal-cta-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px #29c7ff,
    inset 0 0 20px rgba(255, 255, 255, 1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .logo {
    width: 450px;
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
  }
  .flag {
    width: 85px;
    height: 85px;
  }
  .flag-item {
    min-width: 110px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 450px;
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
  }
  .flag {
    width: 75px;
    height: 75px;
  }
  .flag-item {
    min-width: 100px;
  }
  .marquee-text {
    font-size: 13px;
    padding: 10px 0;
  }
  .ref-btn {
    white-space: normal;
    font-size: 18px;
    padding: 12px 24px;
    line-height: 1.3;
    word-break: keep-all;
  }
  .ticker-item {
    font-size: 12px;
    gap: 6px;
  }
  .ticker-time {
    min-width: 35px;
  }
  .ticker-game {
    min-width: 80px;
  }
}
