/* FILE: assets/css/header.css */

.header-bg {
  display: none !important;
}

/* =========================
   TOP HEADER BAR
========================= */

.topbar {
  min-height: 112px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);

  background-image: url("/images/header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Slightly darken the image */
  filter: brightness(0.8);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;

  box-shadow: none;
}

.topbar::before,
.topbar::after {
  display: none !important;
  content: none !important;
}

/* =========================
   HEADER DIVIDER (NEW)
========================= */

.header-divider {
  height: 4px;
  margin-top: 1px;

  background: linear-gradient(
    to right,
    transparent,
    #4da3ff,
    transparent
  );

  box-shadow: 
    0 0 6px #4da3ff,
    0 0 12px rgba(77, 163, 255, 0.6);
}

/* Optional: tiny breathing space below divider */
.header-divider + * {
  margin-top: 8px;
}

/* =========================
   LEFT SIDE
========================= */

.header-left {
  text-align: left;
  justify-self: start;

  /* 🔥 CHANGE: anchor content lower */
  align-self: end;

  min-width: 0;
  padding-bottom: 6px; /* fine control for vertical position */
}

.brand-rating-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.header-left h1 {
  margin: 0;
  letter-spacing: 6px;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #bfeaff 35%,
    #0285d8 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(-2px -2px 0 #000)
    drop-shadow( 2px -2px 0 #000)
    drop-shadow(-2px  2px 0 #000)
    drop-shadow( 2px  2px 0 #000)
    drop-shadow(0 0 3px rgba(0,0,0,.95))
    drop-shadow(0 0 8px rgba(2,133,216,.45));
}

/* 🔥 MAIN FIX HERE */
.header-left p {
  color: #ffffff;

  /* was 10px — reduced and controlled */
  margin-top: 4px;

  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 6px rgba(0,0,0,.85);
}

/* =========================
   SITE RATING BOX
========================= */

.site-rating-box {
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
  min-width: 260px;
}

.site-rating-stars {
  color: #ffcc00;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 6px;

  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 0 10px rgba(255, 204, 0, .8);
}

/* =========================
   CENTER LOGO
========================= */

.header-logo {
  text-align: center;
  justify-self: center;
  align-self: center;
}

.header-logo img {
  max-height: 108px;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  background: transparent;

  filter:
    drop-shadow(0 0 10px rgba(47, 129, 247, .85))
    drop-shadow(0 0 28px rgba(47, 129, 247, .45));

  animation: logoGlow 2.8s ease-in-out infinite;
}

/* =========================
   RIGHT SIDE CLOCK
========================= */

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  justify-self: end;
  align-self: center;
}

.clock {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;

  min-width: 190px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(125,183,255,.9);
  background: rgba(47,129,247,.12);

  box-shadow:
    0 0 8px rgba(47,129,247,.45),
    inset 0 0 12px rgba(47,129,247,.08);
}

.clock span,
.clock small {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.clock span {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 4px;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #bfeaff 35%,
    #0285d8 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(-1px -1px 0 #000)
    drop-shadow( 1px -1px 0 #000)
    drop-shadow(-1px  1px 0 #000)
    drop-shadow( 1px  1px 0 #000)
    drop-shadow(0 0 6px rgba(2,133,216,.45));
}

.clock small {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #bfeaff 35%,
    #0285d8 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(-1px -1px 0 #000)
    drop-shadow( 1px -1px 0 #000)
    drop-shadow(-1px  1px 0 #000)
    drop-shadow( 1px  1px 0 #000)
    drop-shadow(0 0 4px rgba(2,133,216,.35));
}

/* =========================
   ANIMATION
========================= */

@keyframes logoGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 7px rgba(47, 129, 247, .55))
      drop-shadow(0 0 18px rgba(47, 129, 247, .25));
  }

  50% {
    filter:
      drop-shadow(0 0 12px rgba(47, 129, 247, .95))
      drop-shadow(0 0 34px rgba(47, 129, 247, .55));
  }
}