*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bee-yellow: #FFC107;
  --bee-dark:   #1a1200;
  --bee-black:  #0a0800;
  --bee-stripe: #2a1f00;
  --bee-glow:   rgba(255,193,7,0.25);
  --text:       #fff8e1;
  --muted:      #8a7340;
}

html, body {
  min-height: 100%;
  background: var(--bee-black);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 0 L56 16 L56 50 L28 66 L0 50 L0 16 Z' fill='none' stroke='%23FFC107' stroke-width='0.3' opacity='0.12'/%3E%3Cpath d='M28 66 L56 82 L56 116 L28 132 L0 116 L0 82 Z' fill='none' stroke='%23FFC107' stroke-width='0.3' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
}

.bee { position: fixed; font-size: 22px; pointer-events: none; z-index: 1; }
.bee-1 { animation: fly1 18s linear infinite; top: 15%; }
.bee-2 { animation: fly2 24s linear infinite; top: 55%; animation-delay: -8s; }
.bee-3 { animation: fly3 20s linear infinite; top: 80%; animation-delay: -14s; }

@keyframes fly1 {
  0%   { left: -60px; transform: scaleX(-1) rotate(-5deg); }
  50%  { left: calc(100% + 60px); transform: scaleX(-1) rotate(5deg); }
  50.001% { left: calc(100% + 60px); transform: scaleX(1); }
  100% { left: -60px; transform: scaleX(1) rotate(-5deg); }
}
@keyframes fly2 {
  0%   { left: calc(100% + 60px); transform: scaleX(1); }
  50%  { left: -60px; transform: scaleX(1) rotate(5deg); }
  50.001% { left: -60px; transform: scaleX(-1); }
  100% { left: calc(100% + 60px); transform: scaleX(-1); }
}
@keyframes fly3 {
  0%   { left: -60px; transform: scaleX(-1); }
  100% { left: calc(100% + 60px); transform: scaleX(-1); }
}

.page {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
}

header {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bee-black);
  background: var(--bee-yellow);
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

h1 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 5.2rem);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: 2px;
  animation: textReact 10s infinite linear;
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
}
.title-glow {
  animation: neonBlink 1.5s infinite alternate ease-in-out;
}
@keyframes neonBlink {
  0% { filter: drop-shadow(0 0 2px rgba(255,193,7,0.4)) drop-shadow(0 0 5px rgba(255,193,7,0.2)); }
  100% { filter: drop-shadow(0 0 5px rgba(255,193,7,0.9)) drop-shadow(0 0 15px rgba(255,193,7,0.7)); }
}
h1 span {
  color: var(--bee-yellow);
  display: block;
  font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  letter-spacing: 4px;
}

.giant-bee {
  position: fixed;
  font-size: 110px;
  pointer-events: none;
  z-index: 1;
  top: 30px;
  filter: drop-shadow(0 15px 25px rgba(255, 193, 7, 0.4));
  animation: flyGiant 10s infinite linear;
}

@keyframes flyGiant {
  0% { left: -200px; transform: scaleX(-1) translateY(0) rotate(-10deg); }
  45% { left: 40%; transform: scaleX(-1) translateY(20px) rotate(-5deg); }
  50% { left: 50%; transform: scaleX(-1) translateY(0) rotate(0deg); }
  55% { left: 60%; transform: scaleX(-1) translateY(-20px) rotate(5deg); }
  100% { left: calc(100% + 200px); transform: scaleX(-1) translateY(0) rotate(10deg); }
}

@keyframes textReact {
  0%, 45%, 55%, 100% { 
    transform: translateY(0) skewX(0deg); 
    text-shadow: none;
  }
  48% { 
    transform: translateY(-4px) skewX(3deg); 
  }
  50% { 
    transform: translateY(-8px) skewX(0deg) scale(1.02); 
    text-shadow: 0 20px 40px rgba(255,193,7,0.7);
  }
  52% { 
    transform: translateY(-4px) skewX(-3deg); 
  }
}

.tagline {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bee-stripe);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.dot { width:8px;height:8px;border-radius:50%;background:var(--muted);transition:all .4s; }
.dot.live { background:var(--bee-yellow);box-shadow:0 0 8px var(--bee-yellow);animation:blink 2s infinite; }
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.3}}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(26,18,0,0.85);
  border: 1px solid rgba(255,193,7,0.18);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.7s ease 0.15s both;
}

.card-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bee-yellow);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-label::after { content:'';flex:1;height:1px;background:rgba(255,193,7,0.15); }

/* COUNTDOWN & QR CSS */
.countdown-wrap { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.countdown-item {
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 10px;
  padding: 10px 0;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.countdown-item span { font-family: 'Archivo Black', sans-serif; font-size: 24px; color: var(--bee-yellow); line-height: 1; }
.countdown-item small { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 800; margin-top: 6px; }

.qr-section { text-align: center; border-top: 1px solid rgba(255,193,7,0.15); padding-top: 20px; display: flex; justify-content: center; }
.qr-matrix-wrap {
  width: 160px; height: 160px;
  background: #000;
  border: 3px solid var(--bee-yellow);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px var(--bee-glow);
}
#matrix-canvas {
  width: 100%; height: 100%;
  display: block;
  opacity: 0.8;
}
.qr-frame-box {
  position: absolute;
  width: 34px; height: 34px;
  border: 4px solid var(--bee-yellow);
  border-radius: 4px;
  background: #000;
  z-index: 2;
}
.qr-frame-box::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  background: var(--bee-yellow);
  border-radius: 1px;
}
.top-left { top: 10px; left: 10px; }
.top-right { top: 10px; right: 10px; }
.bottom-left { bottom: 10px; left: 10px; }

.qr-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(10, 8, 0, 0.85);
  border: 1.5px solid var(--bee-yellow);
  color: var(--bee-yellow);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.qr-btn:hover {
  background: var(--bee-yellow);
  color: var(--bee-black);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 20px var(--bee-glow);
}

.steps { display:flex;flex-direction:column;gap:12px; }
.step { display:flex;align-items:flex-start;gap:14px;font-size:13px;line-height:1.6;color:#c0a860; }
.step-num {
  flex-shrink:0;width:30px;height:30px;
  background:rgba(255,193,7,0.1);
  border:1px solid rgba(255,193,7,0.3);
  border-radius:6px;display:grid;place-items:center;
  font-size:12px;font-weight:900;color:var(--bee-yellow);
}

.lb-list { display:flex;flex-direction:column;gap:8px; }
.lb-item {
  display:flex;align-items:center;gap:12px;
  padding:10px 14px;
  background:rgba(0,0,0,0.4);
  border:1px solid rgba(255,193,7,0.08);
  border-radius:10px;font-size:13px;
  transition:border-color .2s,transform .15s;
}
.lb-item:hover{border-color:rgba(255,193,7,0.35);transform:translateX(3px);}
.lb-item.top1{border-color:rgba(255,193,7,0.5);background:rgba(255,193,7,0.07);}
.lb-rank{width:28px;text-align:center;font-weight:900;font-size:14px;}
.lb-name{flex:1;font-weight:700;color:var(--text);}
.lb-score{font-weight:900;background:var(--bee-yellow);color:var(--bee-black);padding:3px 10px;border-radius:100px;font-size:12px;}
.lb-empty{text-align:center;color:var(--muted);font-size:13px;padding:28px 0;border:1px dashed rgba(255,193,7,0.15);border-radius:10px;}
.lb-loading{text-align:center;color:var(--bee-yellow);font-size:13px;padding:28px 0;animation:blink 1.5s infinite;}

.cta-wrap { width:100%;max-width:420px;animation:fadeUp 0.7s ease 0.3s both; }

.btn-cta {
  display:block;width:100%;
  background:var(--bee-yellow);color:var(--bee-black);
  font-family:'Archivo Black',sans-serif;font-size:20px;letter-spacing:2px;
  padding:18px;border:none;border-radius:14px;cursor:pointer;
  text-decoration:none;text-align:center;
  transition:transform .15s,box-shadow .15s;
  box-shadow:0 6px 30px var(--bee-glow);
}
.btn-cta:hover{transform:translateY(-3px);box-shadow:0 12px 40px rgba(255,193,7,0.4);}
.btn-cta.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(1);
  box-shadow: none;
  transform: none;
}

.btn-sub {
  display:block;width:100%;background:transparent;
  color:var(--muted);font-family:'Nunito',sans-serif;
  font-size:13px;font-weight:800;letter-spacing:1px;
  padding:14px;border:1px solid rgba(255,193,7,0.15);
  border-radius:14px;cursor:pointer;text-decoration:none;
  text-align:center;margin-top:10px;
  transition:border-color .2s,color .2s;
}
.btn-sub:hover{border-color:rgba(255,193,7,0.4);color:var(--bee-yellow);}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  animation: fadeUp 0.7s ease 0.4s both;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-glow {
  font-weight: 900;
  color: var(--bee-yellow);
  letter-spacing: 2px;
  font-size: 12px;
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 4px rgba(255,193,7,0.4); }
  to { text-shadow: 0 0 14px rgba(255,193,7,1); color: #fff; }
}

@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

/* MODAL */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 8, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; pointer-events: all; visibility: visible; }

.modal-content {
  background: var(--bee-dark);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 24px;
  width: 95%; max-width: 900px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  width: 100%;
}

.visual-steps {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.v-step {
  min-width: 100%;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.v-img-wrap {
  width: 100%;
  height: 380px;
  background-color: #0a0a0a;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 0 15px 30px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.v-img-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,193,7,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.v-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
  border-radius: 12px;
  z-index: 1;
}
.v-step:hover .v-img-wrap img { transform: scale(1.05) translateY(-2px); }

.v-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--bee-yellow);
  margin-bottom: 8px;
}
.v-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #c0a860;
}

.carousel-btn {
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.3);
  color: var(--bee-yellow);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  flex-shrink: 0;
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--bee-yellow);
  color: var(--bee-black);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255,193,7,0.4);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,193,7,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dots .dot.active {
  background: var(--bee-yellow);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255,193,7,0.5);
}

@media (max-width: 768px) {
  .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
  .carousel-wrapper { gap: 8px; }
  .modal-content { padding: 24px; max-height: 85vh; overflow-y: auto; }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,193,7,0.1); border: 1px solid rgba(255,193,7,0.3);
  color: var(--bee-yellow); font-size: 16px; font-weight: bold;
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center; transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,193,7,0.2); transform: scale(1.05); }

.modal-title {
  font-size: 18px; font-weight: 900; color: var(--bee-yellow);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;
  display: flex; align-items: center; gap: 8px;
}
.modal-title::after { content:''; flex:1; height:1px; background:rgba(255,193,7,0.15); }

/* --- MAP STYLES --- */
.leaflet-container {
  background: #000 !important;
  font-family: 'Nunito', sans-serif;
}

.custom-map-marker {
  background: none;
  border: none;
}

.map-button-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.map-button-core {
  width: 28px;
  height: 28px;
  background: var(--bee-yellow);
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #0a0800;
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
}

.map-button-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 193, 7, 0.5);
  border-radius: 50%;
  animation: mapPulse 2s infinite;
  z-index: 1;
}

@keyframes mapPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Detail Sheet for Map */
.detail-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(160deg, rgba(20,18,10,0.97) 0%, rgba(10,8,4,0.99) 100%);
  border-top: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 28px 28px 0 0;
  padding: 12px 28px 36px;
  z-index: 9999;
  backdrop-filter: blur(18px);
  box-shadow: 0 -8px 40px rgba(255, 193, 7, 0.15);
  animation: slideUpMap 0.32s cubic-bezier(0.34, 1.28, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.detail-sheet-handle {
  width: 42px;
  height: 4px;
  background: rgba(255, 193, 7, 0.35);
  border-radius: 99px;
  margin-bottom: 6px;
}

.detail-sheet-icon {
  font-size: 2.8rem;
  filter: drop-shadow(0 0 12px rgba(255,193,7,0.6));
  line-height: 1;
}

.detail-sheet-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffc107;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0 0 20px rgba(255,193,7,0.4);
}

.detail-sheet-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

.detail-sheet-divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,193,7,0.3), transparent);
  margin: 4px 0;
}

.detail-sheet-info {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  font-style: italic;
}

.detail-sheet-close {
  margin-top: 8px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.4);
  color: #ffc107;
  border-radius: 14px;
  padding: 10px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.detail-sheet-close:hover {
  background: rgba(255,193,7,0.2);
  box-shadow: 0 0 14px rgba(255,193,7,0.25);
}

@keyframes slideUpMap {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ============================================================
   Mini Oyun Butonu
   ============================================================ */
#bee-game-fab {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--bee-yellow);
    color: var(--bee-black);
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    max-width: max-content;
    margin: 10px auto 0;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: fadeUp 0.7s ease 0.35s both;
}
#bee-game-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5);
}
#bee-game-fab:active {
    transform: scale(0.98);
}
.fab-icon {
    font-size: 18px;
    display: inline-block;
}
.fab-label {
    line-height: 1;
}

/* Blur background */
.page.blurred {
    filter: blur(6px);
    opacity: 0.4;
    pointer-events: none;
    transition: filter 0.3s, opacity 0.3s;
}

/* Modal */
.bee-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem;
    animation: modal-fade-in 0.3s ease;
}
.bee-modal.hidden {
    display: none !important;
}
@keyframes modal-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
.bee-modal-inner {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--bee-dark);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(255, 193, 7, 0.2), 0 24px 48px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
}
.bee-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    background: rgba(255, 193, 7, 0.08);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}
.bee-hud-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--bee-yellow);
    text-shadow: 0 0 12px rgba(255,193,7,0.6);
}
.bee-hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}
.hud-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 193, 7, 0.6);
    text-transform: uppercase;
}
.hud-value {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.6rem;
    color: var(--bee-yellow);
    line-height: 1;
    text-shadow: 0 0 16px rgba(255,193,7,0.7);
    transition: color 0.3s;
}
.bee-canvas-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    background: #000;
}
@media (max-width: 500px) {
    .bee-canvas-wrap { height: 320px; }
}
#bee-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
}
#bee-canvas:active {
    cursor: grabbing;
}
.bee-hint {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: rgba(255,193,7,0.8);
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255,193,7,0.2);
    pointer-events: none;
    white-space: nowrap;
    animation: hint-pulse 2.5s ease-in-out infinite;
}
.bee-modal-x {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.bee-modal-x:hover {
    background: rgba(239,68,68,0.2);
    color: #ef4444;
}
.bee-game-over {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modal-fade-in 0.4s ease;
    z-index: 50;
}
.bee-game-over.hidden {
    display: none !important;
}
.game-over-card {
    text-align: center;
    padding: 2.5rem 2.5rem;
    background: var(--bee-dark);
    border: 1px solid rgba(255,193,7,0.5);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(255,193,7,0.15), inset 0 0 30px rgba(0,0,0,0.5);
    max-width: 340px;
    width: 100%;
}
.game-over-emoji {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: trophy-bounce 0.6s ease;
}
.game-over-card h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.6rem;
    color: var(--bee-yellow);
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 20px rgba(255,193,7,0.6);
}
.game-over-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.game-over-score {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 24px rgba(255,193,7,0.6);
}
.game-over-score span {
    color: var(--bee-yellow);
}
.game-over-btns {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-restart {
    background: var(--bee-yellow);
    color: var(--bee-black);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.3rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    letter-spacing: 0.5px;
}
.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,193,7,0.4);
}
.btn-close-game {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.6rem 1.3rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.btn-close-game:hover {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
}

/* Easter Egg Lyrics */
.easter-lyric {
    position: fixed;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.5rem, 6vw, 3rem);
    color: #fff;
    text-shadow: 0 0 20px #a855f7, 0 0 40px #6366f1;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    width: 90%;
}

.easter-lyric.fade-in {
    opacity: 1;
    transform: translateX(-50%) translateY(-20px);
}

/* ============================================================
   Ay Dekoru (Easter Egg) — Sayfa altında arka plan dekoru
   ============================================================ */
#moon-deco {
    position: absolute;
    bottom: 22px;
    right: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 50;              /* Tıklanabilmesi için z-index yüksek olmalı */
    cursor: pointer;
    opacity: 0.65;           /* Mobilde belli olması için artırıldı */

    /* Görsel tabanlı ay */
    background-image: url('assets/moon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Arayüz çerçevesi */

    /* İnce dış parıltı */
    box-shadow:
        0 0 14px  rgba(200, 210, 240, 0.3),
        0 0 28px  rgba(180, 200, 255, 0.15);

    animation: moonGlow 4s ease-in-out infinite;
    transition: transform 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

#moon-deco:hover {
    opacity: 0.85;
}

#moon-deco:active {
    transform: scale(0.93);
}



@keyframes moonGlow {
    0%, 100% {
        box-shadow:
            0 0 14px  rgba(200, 210, 240, 0.30),
            0 0 28px  rgba(180, 200, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow:
            0 0 20px  rgba(200, 210, 240, 0.50),
            0 0 44px  rgba(180, 200, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

#moon-deco.moon-tap {
    transform: scale(1.12);
    opacity: 0.6;
}

/* Çok hafif mor-gri overlay (easter egg aktif) */
#moon-flash {
    position: fixed;
    inset: 0;
    background: rgba(80, 50, 120, 0.12);   /* Soluk mor-gri, çok az belirgin */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 8000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#moon-flash.active {
    opacity: 1;
    pointer-events: all;
}

/* Parallax için taşıyıcı katman */
#moon-flash-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    will-change: transform; /* Performans optimizasyonu */
}

/* "Ay tenli kadın" yazısı — daha cafcaflı, parlak beyaz ve tatlı */
#moon-flash-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
    
    /* Tatlı, parlak beyaz ve hafif eflatun tonlu katmanlı parıltı */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 4px 30px rgba(220, 200, 255, 0.9),
        0 8px 50px rgba(180, 150, 255, 0.6);

    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 1.8s ease 0.5s, transform 1.8s cubic-bezier(0.1, 0.9, 0.2, 1) 0.5s;

    width: 90vw;
    margin: 0 auto;
    z-index: 8005; /* Yıldızların önünde kalsın */
}

#moon-flash.active #moon-flash-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    /* Yazının çok hafif nefes alma efekti */
    animation: textPulse 4s ease-in-out infinite alternate 2s;
}

@keyframes textPulse {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); text-shadow: 0 0 15px #fff, 0 0 30px #fff, 0 4px 40px rgba(220, 200, 255, 1), 0 8px 60px rgba(180, 150, 255, 0.8); }
}

/* Kayan Yıldızlar Container */
#moon-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 8001; /* Arka plan pusu ile yazı arasında */
}

/* Kayan Yıldız Parçacıkları */
.moon-star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    /* Yıldızların parlama efekti */
    box-shadow: 0 0 6px #fff, 0 0 12px rgba(220, 200, 255, 0.8);
    opacity: 0;
}

@keyframes starFall {
    0% {
        transform: translateY(-20px) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(10vh) translateX(5px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(80vh) translateX(40px) scale(1);
    }
    100% {
        transform: translateY(110vh) translateX(50px) scale(0.2);
        opacity: 0;
    }
}

/* Sarı, duraksamadan kayan nadir yıldızlar (Gerçek yıldız şekli) */
.moon-star-yellow {
    position: absolute;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 4px #FFD700) drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    opacity: 0;
}

@keyframes yellowStarFall {
    0% {
        transform: translateY(-50px) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Easter Egg Kapatma Butonu */
#moon-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8010;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 1s;
    backdrop-filter: blur(4px);
}

#moon-flash.active #moon-close-btn {
    opacity: 1;
    transform: scale(1);
}

#moon-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

