/* =====================================================
       INVENTORY BAR
    ===================================================== */
/* =====================================================
       TOP NAV
    ===================================================== */

    /* =====================================================
       CALENDAR PAGE
    ===================================================== */
    .calendar-page { padding-bottom: 24px; }

    .calendar-title-wrap { text-align: center; padding: 24px 24px 0; }
    .calendar-month {
      font-size: 28px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 3px; color: #fff;
    }
    .calendar-day {
      font-size: 14px; color: #FFD700; font-weight: 600;
      margin-top: 4px; letter-spacing: 1px;
    }

    /* =====================================================
       CALENDAR GRID
    ===================================================== */
    .calendar-section {
      padding: 24px 24px 0; display: flex; justify-content: center;
    }
    .calendar-wrapper { width: 100%; max-width: 1200px; }
    .calendar-grid {
      display: flex; gap: 10px; align-items: stretch; flex-wrap: nowrap;
    }

    /* Locked day card */
    .cal-day {
      position: relative; flex: 1; min-width: 0;
      background: linear-gradient(180deg, #1c1c2e 0%, #141420 100%);
      border: 1px solid #252540; border-radius: 12px;
      display: flex; flex-direction: column; align-items: center;
      justify-content: center; padding: 20px 10px 14px;
      min-height: 160px; cursor: default;
    }
    .cal-day.locked { cursor: default; }
    .cal-day.current { border-color: rgba(255,215,0,0.3); }

    .cal-day-badge {
      position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
      font-size: 11px; color: #687894; font-weight: 600;
    }

    /* Lock icon */
    .lock-icon {
      width: 90px; height: 90px; display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    .lock-icon svg { width: 90px; height: 90px; }
    .lock-icon img { width: 90px; height: 90px; object-fit: contain; position: relative; z-index: 1; }
    .lock-glow {
      position: absolute; inset: -16px;
      background: radial-gradient(circle, rgba(255,193,7,0.22) 0%, transparent 65%);
      border-radius: 50%; pointer-events: none;
    }

    .cal-day-num {
      margin-top: 12px; font-size: 13px; color: #8888aa; font-weight: 600;
    }

    /* Reward cards */
    .cal-reward {
      position: relative; flex: 1; min-width: 0;
      background: linear-gradient(180deg, #1c1c2e 0%, #141420 100%);
      border: 1px solid #252540; border-radius: 12px;
      display: flex; flex-direction: column; align-items: center;
      padding: 10px 10px 14px; min-height: 160px;
    }
    .cal-reward-num {
      font-size: 11px; color: #687894; font-weight: 600; margin-bottom: 6px; align-self: flex-start; padding-left: 2px;
    }
    .cal-reward-img-wrap {
      width: 100%; flex: 1;
      display: flex; align-items: center; justify-content: center;
      position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 8px;
      min-height: 90px;
    }

    /* Promo card (День 5) */
    .cal-reward.promo .cal-reward-img-wrap {
      background: radial-gradient(circle at center, rgba(255,193,7,0.12) 0%, transparent 70%);
    }
    .cal-reward.promo .reward-logo {
      width: 80px; height: 80px; object-fit: contain;
    }
    .cal-reward.promo .reward-sub {
      font-size: 11px; color: #8888aa; margin-bottom: 2px; text-align: center;
    }
    .cal-reward.promo .reward-code {
      font-size: 14px; color: #FFD700; font-weight: 800; letter-spacing: 1px; text-align: center;
    }
    .cal-reward.promo .reward-underline {
      width: 100%; height: 2px; background: linear-gradient(90deg, #FFD700, #FFA500); border-radius: 1px; margin-top: 8px;
    }

    /* Case card (День 6) */
    .cal-reward.case .cal-reward-img-wrap {
      background: radial-gradient(circle at center, rgba(75,105,255,0.1) 0%, transparent 70%);
    }
    .cal-reward.case .reward-case-img {
      width: 90px; height: 70px; object-fit: contain;
    }
    .cal-reward.case .reward-sub { font-size: 11px; color: #8888aa; margin-bottom: 4px; text-align: center; }
    .cal-reward.case .reward-btn {
      width: 100%; background: linear-gradient(135deg, #FFD700, #FFA500); border: none;
      padding: 8px; border-radius: 8px; color: #ffffff; font-weight: 700; font-size: 13px;
      cursor: pointer; transition: all 0.2s; text-align: center;
    }
    .cal-reward.case .reward-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,215,0,0.45); }
    .cal-reward.case .reward-underline {
      width: 100%; height: 2px; background: linear-gradient(90deg, #FFD700, #FFA500); border-radius: 1px; margin-top: 8px; display: none;
    }

    /* Gun card (День 7) */
    .cal-reward.gun .cal-reward-img-wrap {
      background: radial-gradient(circle at center, rgba(255,193,7,0.10) 0%, transparent 70%);
    }
    .cal-reward.gun .reward-price-badge {
      position: absolute; top: 6px; right: 6px;
      background: rgba(20,20,40,0.85); border: 1px solid rgba(255,215,0,0.3);
      border-radius: 6px; padding: 2px 7px; font-size: 10px; color: #4BB543; font-weight: 700;
      display: flex; align-items: center; gap: 3px;
    }
    .cal-reward.gun .reward-price-badge svg { width: 8px; height: 8px; fill: #4BB543; }
    .cal-reward.gun .reward-gun-img {
      width: 100px; height: 70px; object-fit: contain;
      filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    }
    .cal-reward.gun .reward-name { font-size: 10px; color: #8888aa; margin-bottom: 2px; text-align: center; }
    .cal-reward.gun .reward-subname { font-size: 11px; color: #fff; font-weight: 700; text-align: center; margin-bottom: 6px; }
    .cal-reward.gun .reward-btn {
      width: 100%; background: linear-gradient(135deg, #FFD700, #FFA500); border: none;
      padding: 8px; border-radius: 8px; color: #FFFFFF; font-weight: 700; font-size: 13px;
      cursor: pointer; transition: all 0.2s;
    }
    .cal-reward.gun .reward-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,215,0,0.45); }

    /* =====================================================
       STATS SECTION
    ===================================================== */
/* =====================================================
       CLAIM ANIMATION
    ===================================================== */
    .cal-reward { overflow: visible; }

    @keyframes claimPulse {
      0%   { transform: scale(1); }
      40%  { transform: scale(0.92); }
      70%  { transform: scale(1.06); }
      100% { transform: scale(1); }
    }
    @keyframes claimSpark {
      0%   { opacity: 1; transform: translate(0,0) scale(1); }
      100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.3); }
    }
    @keyframes claimOverlay {
      0%   { opacity: 0; transform: scale(0.7); }
      50%  { opacity: 1; transform: scale(1.08); }
      100% { opacity: 1; transform: scale(1); }
    }
    @keyframes claimGlow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
      50%       { box-shadow: 0 0 30px 8px rgba(255,215,0,0.35); }
    }
    @keyframes checkDraw {
      0%   { stroke-dashoffset: 40; }
      100% { stroke-dashoffset: 0; }
    }
    @keyframes claimBtnSuccess {
      0%   { background: linear-gradient(135deg,#FFD700,#FFA500); }
      100% { background: linear-gradient(135deg,#4BB543,#36a330); }
    }

    .cal-reward.claimed { pointer-events: none; }
    .cal-reward.claimed .reward-btn {
      animation: claimBtnSuccess 0.35s forwards;
      cursor: default;
    }

    .claim-overlay {
      position: absolute; inset: 0; z-index: 10;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 6px; border-radius: 12px;
      background: rgba(15,15,30,0.78);
      animation: claimOverlay 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    }
    .claim-overlay svg { width: 44px; height: 44px; }
    .claim-overlay .check-circle {
      fill: none; stroke: #4BB543; stroke-width: 3;
    }
    .claim-overlay .check-mark {
      fill: none; stroke: #4BB543; stroke-width: 3;
      stroke-linecap: round; stroke-linejoin: round;
      stroke-dasharray: 40; stroke-dashoffset: 40;
      animation: checkDraw 0.45s 0.2s ease forwards;
    }
    .claim-overlay-text {
      color: #4BB543; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    }

    .claim-spark {
      position: fixed; width: 7px; height: 7px; border-radius: 50%;
      pointer-events: none; z-index: 9999;
      animation: claimSpark 0.7s ease-out forwards;
    }

    /* =====================================================
       FOOTER
    ===================================================== */
/* =====================================================
       RESPONSIVE
    ===================================================== */
    @media (max-width: 1024px) and (min-width: 768px) {
    }
    @media (max-width: 900px) {
      .calendar-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .cal-reward.gun, .cal-reward.case, .cal-reward.promo { grid-column: span 1; }
    }
    @media (max-width: 767px) {
      .calendar-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
    }
