/* ====================================
   GLOBAL & BASE
==================================== */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f1724;
  color: #fff;
  margin: 0;
  padding: 20px;
  font-size: 18px;
}

h1 {
  text-align: center;
  color: #f59e0b;
  font-size: 2.2em;
}

/* ====================================
   MAIN BUTTON
==================================== */
.event-btn {
  margin-top: 30px;
  background-color: #e63946;
  padding: 14px 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 2.6rem;
  font-weight: bold;
  display: inline-block;
  transition: background 0.2s ease;
  text-decoration: none;
}

/* ====================================
   FOOTER
==================================== */
footer {
  text-align: center;
  margin-top: 60px;
  padding: 25px;
  background-color: #1e293b;
  border-radius: 12px;
  font-size: 0.95em;
  color: #cbd5e1;
}

.footer-menu {
  margin-top: 10px;
}

footer a {
  color: #f59e0b;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* ====================================
   HERO BET CTA (top of page)
==================================== */
.hero-bet-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0 30px;
}

.hero-bet-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 20px 26px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-bet-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.5);
  color: #fff;
}

.hero-bet-title {
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

.hero-bet-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-bet-btn.place { background: linear-gradient(135deg, #e63946, #b8202d); }
.hero-bet-btn.any { background: linear-gradient(135deg, #f59e0b, #d97e00); }
.hero-bet-btn.exact { background: linear-gradient(135deg, #3946e6, #232fb8); }

@media (max-width: 480px) {
  .hero-bet-btn { min-width: 42%; padding: 16px 18px; }
  .hero-bet-title { font-size: 1.15rem; }
}

/* ====================================
   BET TYPE BUTTONS
==================================== */
.bet-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.bet-links a {
  text-decoration: none;
  color: #fff;
  padding: 14px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.2s ease;
}

.bet-links a.place { background-color: #e63946; }
.bet-links a.place:hover { background-color: #d32c3b; }

.bet-links a.exact { background-color: #3946e6; }
.bet-links a.exact:hover { background-color: #2936c6; }

.bet-links a.any { background-color: #f59e0b; }
.bet-links a.any:hover { background-color: #e58e00; }

.bet-links a.inactive { background-color: #444; color:#888; }
.bet-links a.inactive:hover { background-color: #444; color:#EEE; }

/* ====================================
   CARD LAYOUT
==================================== */
.bet-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.6);
}

.card h2 {
  margin-top: 0;
  font-size: 1.6em;
}

.card p {
  font-size: 1.1em;
  line-height: 1.6em;
}

.card .probability {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffd700;
}

.card.place { background-color: #e63946; }
.card.exact { background-color: #3946e6; }
.card.any { background-color: #f59e0b; }

/* highlight */
.highlight { color: #f59e0b; font-weight: bold; }

/* ====================================
   BITCOIN SECTION
==================================== */
.bitcoin-section {
  background-color: #fff;
  color: #111;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 50px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-align: center;
}

.bitcoin-section h2 {
  color: #111;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.bitcoin-section p {
  font-size: 1.2em;
  line-height: 1.8em;
}

/* ====================================
   PARTNERS SECTION
==================================== */
.partners {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 50px 20px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.partners h2 {
  font-size: 1.9em;
  color: #f59e0b;
  margin-bottom: 40px;
}

/* 로고 레이아웃 */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 100px;
  width: auto;
  opacity: 0.95;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.partner-logos a:hover img {
  transform: scale(1.15);
  opacity: 1;
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

/* ====================================
   EVENT NOTICE
==================================== */
.event-notice {
  background: linear-gradient(90deg, #ffddbb, #ffeedd);
  color: #FF6600;
  padding: 12px 20px;
  margin: 30px 0;
  text-align: center;
  font-size: 2.0rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid rgba(255,255,255,0.4);
  animation: fadeInDown 0.8s ease-in-out;
}

.notice-content {
  display: flex;
  margin:10px 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notice-content .emoji {
  font-size: 1.5rem;
}

.notice-content .close-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 1.2rem;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  transition: background 0.2s;
}

.notice-content .close-btn:hover {
  background: rgba(255,255,255,0.4);
}

/* 애니메이션 */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================================
   RESPONSIVE
==================================== */
@media (max-width: 768px) {
  .partner-logos { gap: 40px; }
  .partner-logos img { height: 80px; }
  .partners h2 { font-size: 1.6em; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .bet-types { grid-template-columns: 1fr; }
  .bet-links { flex-direction: column; align-items: center; }
  .bet-links a { width: 80%; text-align: center; }
  .card p, 
  .card .probability { font-size: 1em; }
  .bitcoin-section p { font-size: 1.1em; }
}


/* ====================================
   VAULT / WITHDRAW CARD
==================================== */
.vault-card {
  background: linear-gradient(180deg, #111827, #0f1724);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
}

.vault-card .card-body {
  padding: 35px 30px;
}

.vault-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f59e0b;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

/* ====================================
   FORM CONTROLS (BOOTSTRAP OVERRIDE)
==================================== */
.form-control,
.form-select {
  background-color: #020617;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1.05rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-control:focus,
.form-select:focus {
  background-color: #020617;
  color: #fff;
  border-color: #f59e0b;
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.35);
}

/* select arrow */
.form-select {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f59e0b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* input group */
.input-group-text {
  background-color: #020617;
  color: #f59e0b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  font-weight: 600;
}

/* ====================================
   INVALID STATE
==================================== */
.is-invalid {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 0.15rem rgba(230, 57, 70, 0.35) !important;
}

/* ====================================
   WITHDRAW BUTTON
==================================== */
.btn-warning {
  background: linear-gradient(90deg, #f59e0b, #ffb703);
  border: none;
  color: #111;
  border-radius: 14px;
  padding: 14px;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.btn-warning:hover {
  background: linear-gradient(90deg, #ffb703, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.6);
}

.btn-warning:disabled {
  background: #555;
  color: #999;
  transform: none;
  box-shadow: none;
}

/* FORCE DARK CARD INSIDE PARTNERS */
.partners .vault-card {
  background-color: #0f1724 !important;
  background-image: linear-gradient(180deg, #111827, #0f1724);
  color: #fff;
}

@media (max-width: 576px) {
  body {
    padding: 12px;
  }

  .partners {
    padding: 30px 15px;
  }

  .vault-card .card-body {
    padding: 24px 18px;
  }
}