﻿/* Banner */
.notice-bar{
  width:100%;
  background: linear-gradient(90deg,#0f172a,#111827);
  border-bottom:1px solid rgba(124,255,150,0.15);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:8px 12px;
  flex-wrap:wrap;
  font-size:1.2rem;
  font-weight:600;
}

.notice-text{
  color:#a8ffca;
}

.notice-btn{
  background:linear-gradient(135deg,#7dffaa,#4ade80);
  color:#022c22;
  padding:6px 14px;
  border-radius:6px;
  font-size:1.1rem;
  font-weight:800;
  text-decoration:none;
  transition:all .2s;
  box-shadow:0 0 12px rgba(100,220,130,0.25);
}

.notice-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 0 18px rgba(100,220,130,0.35);
}


  /* ===== BANNER WRAPPER ===== */
  .banner-spring {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg,
      #0d1b2a 0%,
      #1a1035 35%,
      #162a1a 70%,
      #0d1b2a 100%
    );
    border-bottom: 1px solid rgba(124, 255, 150, 0.18);
    box-shadow: 0 2px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(124,255,150,0.08);
  }

  /* noise texture overlay */
  .banner-spring::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
  }

  /* aurora glow right */
  .banner-spring::before {
    content: "";
    position: absolute;
    top: -60px;
    right: 5%;
    width: 320px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(100, 220, 130, 0.12) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
  }

  /* aurora glow left */
  .aurora-left {
    position: absolute;
    top: -40px;
    left: 8%;
    width: 200px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(160, 100, 255, 0.1) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 0;
  }

  /* spring floating elements container */
  #spring-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  }

  .spring-item {
    position: absolute;
    bottom: -8%;
    left: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.85);
    filter: drop-shadow(0 0 4px rgba(100,220,130,0.4));
    will-change: transform, opacity;
  }

  .spring-item.is-active {
    animation-name: springFly;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-duration: var(--spring-duration, 7s);
    animation-delay: var(--spring-delay, 0s);
  }

  @keyframes springFly {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.8); opacity: 0; }
    15%  { opacity: 0.7; }
    85%  { opacity: 0.35; }
    100% { transform: translate3d(var(--spring-drift-x, 0px), var(--spring-rise, -130px), 0) rotate(var(--spring-rotate, 280deg)) scale(var(--spring-scale, 1.08)); opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .spring-item {
      display: none !important;
    }
  }

  /* ===== MAIN CONTENT ROW ===== */
  .banner-spring-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ===== TEXT BLOCK ===== */
  .banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .banner-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(100, 220, 130, 0.1);
    border: 1px solid rgba(100, 220, 130, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(100,220,130,0.12);
  }

  .banner-icon-wrap i {
    font-size: 1.4rem;   /* 14px */
    color: #7dffaa;
  }

  .banner-text-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* ط¹ظ†ظˆط§ظ† ط§طµظ„غŒ */
  .spring-title {
    font-size: 1.6rem;       /* 16px */
    font-weight: 900;
    color: #b8ffd0;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  /* ط²غŒط±ظ†ظˆغŒط³ */
  .spring-message {
    font-size: 1.25rem;      /* 12.5px */
    font-weight: 600;
    color: rgba(200, 220, 210, 0.8);
    line-height: 1.5;
  }

  /* ط¹ط¯ط¯ طھط®ظپغŒظپ */
  .discount {
    font-weight: 900;
    color: #7dffaa;
    background: rgba(100,220,130,0.12);
    border: 1px solid rgba(100,220,130,0.25);
    padding: 1px 7px;
    border-radius: 5px;
    font-size: 1.2rem;       /* 12px */
    letter-spacing: 0.02em;
  }

  /* ===== VERTICAL DIVIDER ===== */
  .banner-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom,
      transparent,
      rgba(124,255,150,0.2),
      transparent
    );
    flex-shrink: 0;
  }

  /* ===== TIMER ===== */
  .timer-group {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
  }

  .timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(124,255,150,0.14);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
  }

  /* top shine line */
  .timer-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
      transparent,
      rgba(124,255,150,0.3),
      transparent
    );
  }

  .timer-box:hover {
    border-color: rgba(124,255,150,0.35);
    transform: translateY(-2px);
  }

  /* ط¹ط¯ط¯ ط¯ط§ط®ظ„ طھط§غŒظ…ط± */
  .timer-box div {
    font-size: 1.8rem;       /* 18px */
    font-weight: 900;
    color: #a8ffca;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
  }

  /* ط¨ط±ع†ط³ط¨ ط²غŒط± ط¹ط¯ط¯ */
  .timer-box small {
    font-size: 0.9rem;       /* 9px */
    font-weight: 700;
    color: rgba(168, 255, 202, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 3px;
  }

  /* ط¬ط¯ط§ع©ظ†ظ†ط¯ظ‡ : ط¨غŒظ† ط§ط¹ط¯ط§ط¯ */
  .timer-sep {
    color: rgba(124,255,150,0.3);
    font-size: 1.6rem;       /* 16px */
    font-weight: 300;
    margin-bottom: 14px;
  }

  /* ===== CTA BUTTON ===== */
  .banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg,
      rgba(100,220,130,0.18),
      rgba(100,220,130,0.08)
    );
    border: 1px solid rgba(100,220,130,0.3);
    color: #7dffaa;
    font-size: 1.3rem;       /* 13px */
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(100,220,130,0.06);
  }

  .banner-cta:hover {
    background: linear-gradient(135deg,
      rgba(100,220,130,0.28),
      rgba(100,220,130,0.14)
    );
    border-color: rgba(100,220,130,0.55);
    box-shadow: 0 0 30px rgba(100,220,130,0.18);
    transform: translateY(-1px);
    color: #a8ffca;
  }

  .banner-cta i {
    font-size: 1.1rem;       /* 11px */
    transition: transform 0.2s;
  }

  .banner-cta:hover i {
    transform: translateX(-3px);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .banner-spring-content {
      padding: 12px 16px;
      justify-content: center;
      text-align: center;
    }
    .banner-divider {
      display: none;
    }
    .banner-text {
      justify-content: center;
    }
    .banner-text-content {
      align-items: center;
    }
    .spring-title {
      font-size: 1.4rem;
    }
    .spring-message {
      font-size: 1.1rem;
    }
    .timer-box {
      width: 50px;
      height: 50px;
    }
    .timer-box div {
      font-size: 1.5rem;
    }
    .banner-icon-wrap{
      display: none;
    }
  }
