/* ====================================
   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;
}

/* === HEADER BASE === */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 25px;
background-color: #111827;
border-bottom: 2px solid #1f2937;
}


.logo img {
height: 45px;
}


/* === DESKTOP MENU === */
.nav-links {
display: flex;
gap: 20px;
}


.nav-links a {
color: #fff;
text-decoration: none;
font-weight: 500;
font-size: 1.05em;
transition: color 0.2s ease;
}
.nav-links a:hover { color: #f59e0b; }


/* === MOBILE HAMBURGER === */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
gap: 5px;
}
.hamburger div {
width: 28px;
height: 3px;
background-color: #fff;
border-radius: 3px;
}


/* === MOBILE MENU HIDDEN BOX === */
.mobile-menu {
display: none;
flex-direction: column;
background-color: #111827;
padding: 15px 20px;
border-top: 1px solid #1f2937;
}
.mobile-menu a {
padding: 10px 0;
font-size: 1.1em;
color: #fff;
text-decoration: none;
border-bottom: 1px solid #1f2937;
}
.mobile-menu a:hover { color: #f59e0b; }


/* === RESPONSIVE BREAKPOINT === */
@media (max-width: 900px) {
.nav-links { display: none; }
.hamburger { display: flex; }
}

/* ====================================
   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;
}

/* ====================================
   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 28px;
  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; }
}
