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

html, body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #060a19;
  color: #fff;
  overflow-x: hidden;
}

/* ── BACKGROUND ── */
.byf-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1800&h=1200&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.byf-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(5,10,25,0.88) 0%, rgba(10,20,50,0.80) 40%, rgba(20,10,5,0.85) 100%);
}

.byf-beam {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.byf-beam::before, .byf-beam::after {
  content: '';
  position: absolute;
  top: -20%;
  width: 3px;
  height: 180%;
  transform: rotate(-15deg);
  animation: beamPulse 6s ease-in-out infinite;
}
.byf-beam::before {
  left: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(96,165,250,0.12) 40%, rgba(96,165,250,0.06) 60%, transparent 100%);
}
.byf-beam::after {
  left: 60%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(96,165,250,0.07) 40%, rgba(96,165,250,0.04) 60%, transparent 100%);
  animation-delay: 2s;
}

/* ── LAYOUT ── */
.byf-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── MAIN ── */
.byf-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.byf-logo {
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 24px rgba(26,106,191,0.45));
}
.byf-logo img {
  width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.byf-title {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 3.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a6abf;
  text-shadow: 0 2px 18px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.9);
  margin-bottom: 0.5rem;
}

.byf-subtitle {
  color: #bfdbfe;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(0.65rem, 1.6vw, 0.9rem);
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.byf-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.byf-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(96,165,250,0.6), transparent);
}
.byf-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  opacity: 0.8;
}

/* ── CONSTRUCTION BOX ── */
.byf-box {
  position: relative;
  max-width: 640px;
  width: 100%;
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(59,130,246,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.byf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.byf-badge-icon {
  display: inline-block;
  animation: spin 3s linear infinite;
}

.byf-box-title {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.byf-box-title span {
  color: #93c5fd;
}

.byf-box-text {
  color: #d1d5db;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.byf-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.byf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #60a5fa;
  animation: dotPulse 1.4s ease-in-out infinite;
}
.byf-dot:nth-child(2) { animation-delay: 0.2s; }
.byf-dot:nth-child(3) { animation-delay: 0.4s; }

/* ── TAGS ── */
.byf-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 640px;
}
.byf-tag {
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
}

/* ── FOOTER ── */
.byf-footer {
  position: relative;
  z-index: 10;
  background: rgba(5,8,20,0.92);
  border-top: 1px solid rgba(59,130,246,0.15);
}
.byf-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.byf-footer-label {
  text-align: center;
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 2rem;
}

.byf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .byf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .byf-grid { grid-template-columns: repeat(6, 1fr); } }

.byf-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.byf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.4);
}
.byf-card-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #1f2937;
  position: relative;
}
.byf-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.byf-card:hover .byf-card-img-wrap img {
  transform: scale(1.1);
}
.byf-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,8,20,0.85) 100%);
}
.byf-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  text-align: center;
}
.byf-card-icon { font-size: 1.2rem; }
.byf-card-label {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.68rem;
  margin-top: 0.2rem;
  line-height: 1.2;
}

.byf-copy {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  color: #6b7280;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ── ANIMATIONS ── */
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  100% { transform: scale(1.12) translate(-3%, -2%); }
}
@keyframes beamPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.3; }
  40%           { transform: scale(1.2); opacity: 1; }
}
