:root {
  --blue: #0038b8;
  --deep-blue: #001f5c;
  --white: #ffffff;
  --gold: #ffd700;
  --dark: #0a0f1e;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 900;
  letter-spacing: 1px;
}

/* Israeli flag fixed background across the whole page */
#flag-bg {
  position: fixed;
  inset: 0;
  background: url('flag.jpg') center center / cover no-repeat;
  z-index: -2;
}

#flag-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,10,40,0.75), rgba(0,10,40,0.9) 40%, var(--dark) 95%);
}

#star-field {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,56,184,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,215,0,0.15), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Flag borders top/bottom */
.flag-border {
  width: 100%;
  height: 36px;
  display: flex;
  background: var(--deep-blue);
  position: relative;
  z-index: 5;
}

.border-flag {
  height: 100%;
  width: calc(100% / 12);
  object-fit: cover;
  flex: 1;
}

/* HERO - single viewport, no scrolling content */
.hero {
  height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  background: rgba(0, 31, 92, 0.85);
  backdrop-filter: blur(6px);
}

.logo {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-flag {
  height: 24px;
  width: auto;
  border-radius: 3px;
}

.hero-content {
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flag-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.side-flag {
  width: 50px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-portrait {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--gold);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.7), 0 0 100px rgba(255, 215, 0, 0.3);
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.glow-text {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  text-shadow: 0 0 20px var(--gold), 0 0 40px rgba(255,215,0,0.4);
  margin-bottom: 0.8rem;
}

.glow-text.mega {
  font-size: clamp(2.5rem, 9vw, 6rem);
  letter-spacing: 3px;
  text-shadow: 0 0 25px var(--gold), 0 0 60px rgba(255,215,0,0.6), 0 0 100px rgba(255,215,0,0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 25px var(--gold), 0 0 60px rgba(255,215,0,0.6), 0 0 100px rgba(255,215,0,0.3); }
  50% { text-shadow: 0 0 35px var(--gold), 0 0 80px rgba(255,215,0,0.8), 0 0 140px rgba(255,215,0,0.5); }
}

.subtitle {
  font-size: 1.2rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 0.8rem;
  max-width: 700px;
}

.jewish-line {
  font-size: 1.05rem;
  color: var(--white);
  font-style: normal;
  font-weight: 600;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1.2rem 0;
}

.badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge-flag {
  height: 24px;
  width: auto;
  border-radius: 3px;
  border: 1px solid var(--gold);
}

.flag-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  max-width: 500px;
}

.strip-flag {
  width: 40px;
  height: 26px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--gold);
}

footer {
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
}

.disclaimer {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}
