/* ==========================================================================
   MMO11 — GÜNLÜK GİRİŞ ÖDÜLLERİ STİLLERİ (AGENTS.md §4.2)
   ========================================================================== */

.daily-login-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(10px, 2.5%, 30px);
  box-sizing: border-box;
}

.daily-login-card {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 18px;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  width: 100%;
  max-width: 860px;
  max-height: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.dlm-header {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dlm-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dlm-icon {
  font-size: 26px;
}

.dlm-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.dlm-streak-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 2px;
}

.dlm-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlm-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
}

.dlm-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
}

.dlm-section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* 7 Yatay Günlük Kart Grid */
.dlm-track-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.dlm-day-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-width: 0;
}

.dlm-day-card.is-active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(14, 165, 233, 0.15));
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px) scale(1.03);
}

.dlm-day-card.is-claimed {
  opacity: 0.65;
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.05);
}

.dlm-day-card.is-grand {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.1));
}

.dlm-day-card.is-grand.is-active {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  border-color: #fbbf24;
}

.dlm-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.dlm-day-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 900;
  color: #cbd5e1;
}

.dlm-card-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dlm-card-tag.active {
  background: #38bdf8;
  color: #0f172a;
}

.dlm-card-tag.claimed {
  background: #16a34a;
  color: #ffffff;
}

.dlm-card-tag.locked {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.dlm-card-icon-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlm-card-icon-png {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.dlm-card-reward-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 3 Gizemli Sandık Bölümü */
.dlm-mystery-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-mystery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dlm-mystery-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.8));
  border: 2px dashed rgba(56, 189, 248, 0.4);
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dlm-mystery-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(51, 65, 85, 1));
}

.dlm-mystery-card.is-selected {
  border-style: solid;
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.7), rgba(69, 26, 3, 0.7));
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
  transform: scale(1.02);
}

.dlm-mystery-card.is-revealed {
  border-style: solid;
  cursor: default;
}

.dlm-mystery-card.is-revealed.is-selected {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.8), rgba(2, 44, 34, 0.8));
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.5);
}

.dlm-mystery-card.is-revealed.is-faded {
  opacity: 0.5;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
}

.dlm-mc-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.dlm-mystery-card.is-selected .dlm-mc-badge {
  color: #fbbf24;
}

.dlm-mc-question-mark {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.dlm-mc-icon-png {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.dlm-mc-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: #ffffff;
}

.dlm-mc-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
}

.dlm-mc-reward-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #10b981;
}

/* Footer & Buttons */
.dlm-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.dlm-claim-notice {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  margin: 0;
  text-align: center;
}

.dlm-buttons-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

.btn-dlm-claim-normal {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-dlm-claim-normal:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-dlm-claim-normal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-dlm-claim-ad {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid rgba(253, 224, 71, 0.5);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
  transition: all 0.15s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-dlm-claim-ad:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-dlm-claim-ad:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .dlm-track-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dlm-track-grid .dlm-day-card:last-child {
    grid-column: span 2;
  }
}
