/* 🌐 GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63);
  color: #fff;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* 🔰 HEADER */
.top-header {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00f58c;
}

.wallet {
  text-align: right;
}

.wallet span {
  font-weight: bold;
  color: #00f58c;
}

.wallet-actions {
  margin-top: 8px;
}

.btn {
  background-color: #00f58c;
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #00e67a;
}

/* 🎮 GAME CARDS GRID */
.game-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2 cards per row */
  gap: 10px;
  justify-content: center;
}



@media (max-width: 768px) {
  .game-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* 🧩 INDIVIDUAL CARD */
.card {
  background-color: #1a1a2e;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 255, 140, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: scale(1.03);
}

.card h3 {
  color: #00f58c;
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

/* CARD IMAGE---------> */
.card-image-card {
  width: 100%;  /* ✅ to fit grid column */
  max-width: 300px;
  height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #1a1a2e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 255, 140, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  margin: auto;
}



.card-image-card:hover {
  transform: scale(1.03);
}

.card-image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}


.card-text {
  height: 40px;
  padding: 6px 12px;
  background: #12122d;
  display: flex;
  flex-direction: column;
  justify-content: center;
}.card-image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-text {
  padding: 10px 12px;
  background: #12122d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}



.card-text h3 {
  font-size: 0.1rem;
  font-weight: bold;
  margin-bottom: 70px;
  color: #00f58c;
}

.card-text p {
  font-size: 0.9rem;
  color: #ccc;
}


.card-img:hover {
  transform: scale(1.03);
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  width: 100%;
  text-align: left;
}

.card-img h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 4px;
  font-weight: 700;
}

.card-img p {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0 0 3px;
}

.game-sub {
  font-size: 0.75rem;
  color: #00f58c;
  font-weight: 500;
}

.countdown-label {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 10px;
}

.countdown {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.play-btn {
  margin-top: 10px;
  padding: 10px 20px;
  width: 100%;
}

/* 💬 MODAL (if used later) */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #12122d;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 255, 140, 0.2);
  position: relative;
  color: #fff;
}

.modal-content h2 {
  margin-bottom: 15px;
  color: #00f58c;
}

.modal-content label {
  display: block;
  margin-bottom: 6px;
  margin-top: 12px;
  font-size: 0.9rem;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  background: #1f1f3a;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
}

.modal-content .btn {
  margin-top: 15px;
  width: 100%;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.4rem;
  color: #ff4d6d;
  cursor: pointer;
}


/* play button------> */
.play-btn {
  margin-top: 6px;
  padding: 8px 14px;
  background: #00f58c;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.play-btn:hover {
  background: #00e67a;
}

/* 📍 FOOTER STYLES */
.site-footer {
  margin-top: 40px;
  padding: 20px;
  background: #1a1a2e;
  text-align: center;
  border-top: 1px solid #333;
  border-radius: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #00f58c;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00e67a;
}

.footer-copy {
  font-size: 0.75rem;
  color: #888;
}


/* color game  */

/* ✅ SECTION 2: GAME INFO + COUNTDOWN */
.game-info {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 255, 140, 0.05);
}

.game-info h2 {
  font-size: 1.5rem;
  color: #00f58c;
  margin-bottom: 10px;
}

.countdown-box {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 255, 140, 0.1);
}

.countdown-box h3 {
  font-size: 1.3rem;
  color: #00f58c;
}

.manual-result {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #fff;
}

/* 🎨 Color Select Box */
.color-select-box {
  background: #1a1a2e;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 140, 0.08);
  margin-bottom: 30px;
}

/* 🎯 Color Options Buttons */
.color-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.color-btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid transparent;
  background-color: #333;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.color-btn:hover {
  background-color: #444;
}

.color-btn.active {
  border-color: #00f58c;
  box-shadow: 0 0 10px #00f58c;
}

/* 💸 Bet Area */
.bet-area {
  text-align: center;
}

.bet-area label {
  font-size: 0.95rem;
  color: #ccc;
  display: block;
  margin-bottom: 8px;
}

.bet-area input[type="number"] {
  padding: 12px;
  width: 200px;
  background: #1f1f3a;
  border: 1px solid #555;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.btn {
  padding: 10px 20px;
  background-color: #00f58c;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 8px 5px;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #00e67a;
}

.confirm-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #00f58c;
}

.confirm-btn:hover {
  background-color: #00f58c;
  color: black;
}
/* 🎯 Fullscreen Modal Overlay */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* 🧾 Modal Box */
.modal-content {
  background: #12122d;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  color: white;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 140, 0.2);
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #00f58c;
}

.modal-content label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  background: #1f1f3a;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.modal-content .btn {
  width: 100%;
  padding: 12px;
  background-color: #00f58c;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.4rem;
  color: #ff4d6d;
  cursor: pointer;
}
/* 🕒 Countdown Box */
.countdown-box {
  text-align: center;
  background-color: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(0,255,140,0.1);
}

.countdown-box h3 {
  color: #00f58c;
  font-size: 1.4rem;
}

/* 📢 Manual Result */
.result-section {
  background-color: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0,255,140,0.1);
  text-align: center;
}

#manualResultText {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 10px;
}

/* 📜 Bet History Table */
.history-section {
  background-color: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 50px;
  box-shadow: 0 0 10px rgba(0,255,140,0.1);
}

.history-section h3 {
  color: #00f58c;
  margin-bottom: 15px;
  text-align: center;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.history-table th, .history-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.history-table th {
  color: #00f58c;
}

.history-table td {
  color: #eee;
}

/* resposive---> */
/* ✅ CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ✅ HEADER */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.logo-area {
  flex: 1;
}

.logo {
  font-size: 1.8rem;
  color: #00f58c;
  margin: 0;
}

.subtitle {
  font-size: 0.9rem;
  color: #ccc;
}

.mascot img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* 🟢 MOBILE HEADER FIX */
@media (max-width: 600px) {
  .top-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .mascot img {
    height: 90px;
    margin-top: 10px;
  }
}
.color-select-box {
  text-align: center;
  margin-bottom: 30px;
}

.color-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.color-btn {
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: #1a1a2e;
  color: white;
}

.color-btn.active {
  border-color: #00f58c;
  box-shadow: 0 0 10px #00f58c;
}

.bet-area {
  text-align: center;
}

.bet-area input {
  padding: 10px;
  margin-top: 10px;
  font-size: 1rem;
  width: 80%;
  max-width: 250px;
  border-radius: 6px;
  background: #1f1f3a;
  border: 1px solid #444;
  color: white;
}

.btn {
  margin-top: 10px;
  background-color: #00f58c;
  color: black;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 80%;
  max-width: 250px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #12122d;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 255, 140, 0.2);
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #1f1f3a;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
}
.history-section {
  margin-top: 30px;
  padding: 20px;
  background: #1a1a2e;
  border-radius: 12px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.history-table th,
.history-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #333;
  color: white;
}

/* 📱 SCROLL ON SMALL DEVICES */
@media (max-width: 500px) {
  .history-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
.countdown-box,
.result-section {
  text-align: center;
  margin-bottom: 25px;
}

.result-section p {
  font-size: 1rem;
  color: #fff;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #0f0c29, #302b63);
  color: white;
  margin: 0;
  padding: 0;
}
/* ✅ HEADER FLEX CONTAINER */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #1a1a2e;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

/* 🔰 LOGO LEFT */
.logo-left {
  width: 50px;
  height: 50px;
  background: #2e2e2e;
  border-radius: 8px;
  /* background: url('logo.png') no-repeat center center / cover; */
}

/* 🎯 CENTER TITLE + TAGLINE */
.header-center {
  text-align: center;
  flex-grow: 1;
}

.main-title {
  font-size: 2rem;
  font-weight: bold;
  color: #00f58c;
  margin-bottom: 5px;
}

.tagline {
  font-size: 1rem;
  color: #ccc;
}

/* 🔗 BUTTONS RIGHT */
.header-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  background-color: #00f58c;
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #00e67a;
}

.telegram-btn {
  background-color: #0088cc;
  color: white;
  text-decoration: none;
}

.telegram-btn:hover {
  background-color: #0072a3;
}

/* ✅ RESPONSIVE (STACKED ON SMALL DEVICES) */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    align-items: center;
  }

  .logo-left {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .header-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    flex-direction: row;
  }

  .header-center {
    margin-top: 60px;
  }

  .btn {
    padding: 8px 14px;
  }
}
.logo-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 120px;
  height: 50vh;
  margin-right: 10px;
  background-color: transparent; /* ✅ Ensure no background color */
}

.logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: transparent; /* ✅ No background in image itself */
}

/* ✅ ZONE BUTTON STYLE */
.zone-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
}

.zone-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.zone-btn span {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
  color: white;
}

.zone-btn.green span {
  color: #00f58c;
}

.zone-btn.red span {
  color: #ff4d6d;
}

.zone-btn:hover {
  transform: scale(1.05);
}

/* ✅ Neon Icons */
.zone-icon {
  width: 70px;
  height: 70px;
  border: 4px solid;
  border-radius: 50%;
  box-shadow: 0 0 15px;
}

.zone-icon.circle {
  border-color: #00f58c;
  box-shadow: 0 0 20px #00f58c;
}

.zone-icon.triangle {
  width: 0;
  height: 0;
  border: none;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid #ff4d6d;
  box-shadow: 0 0 20px #ff4d6d;
  border-radius: 0;
}

.zone-btn.active span {
  text-shadow: 0 0 10px white;
}

.color-btn.hot,
.color-btn.cold {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid transparent;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

/* 🔥 Hot Style */
.color-btn.hot {
  background-color: #ff5733;
  border: 2px solid #ff9966;
  box-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
}

/* ❄️ Cold Style */
.color-btn.cold {
  background-color: #3498db;
  border: 2px solid #85c1e9;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* Hover Effect */
.color-btn.hot:hover,
.color-btn.cold:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* 🟢 Active (selected) effect */
.color-btn.active {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 255, 140, 0.7);
  border-color: #00f58c;
}

/* 🎲 NUMBER STYLES */
.color-btn.number6 {
  background-color: #f39c12;
  color: #fff;
  border: 2px solid #f8c471;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.6);
}

.color-btn.number9 {
  background-color: #8e44ad;
  color: #fff;
  border: 2px solid #bb8fce;
  box-shadow: 0 0 10px rgba(142, 68, 173, 0.6);
}

/* Active/selected effect */
.color-btn.active {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00f58c;
}


.header-buttons a {
  text-decoration: none;
}

.telegram-btn {
  background-color: #0088cc;
  color: white;
}

.withdraw-btn {
  background-color: #00f58c;
  color: black;
}
.header-buttons{text-align: center;}
.trust-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #1a1a2e;
  padding: 8px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.trust-marquee-text {
  color: #00f58c;
  font-size: 0.95rem;
  font-weight: 500;
}

