:root {
  --white: #fff;
  --black: #000;
  --yellow: #FFDE00;
  --green: #1E5122;
  --brown: #705812;
  --brown-dark: #493a0c;
  --brown-2: #5e4b13;
  --peach: #FFC570;
  --green-dark: #0f2a12;
  --green-light: #2a6e2f;
  --cream: #fcf9f2;
  --gray-muted: #7a7268;
  --border-light: #e0d6c0;
  --text-dark: #1a1a18;
  --text-mid: #4a4840;
  --red-500: #c0392b;
}

.june {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, var(--green) 0%, #042015 85%);
  font-family: 'Outfit', 'Space Grotesk', sans-serif;
  padding: 12px;
  position: relative;
  overflow-x: hidden;
}

.june::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 180, 100, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 182, 18, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 40%, rgba(0, 210, 120, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: greenPulse 10s ease-in-out infinite alternate;
}

@keyframes greenPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatGreen 14s infinite ease-in-out;
}

.shape1 {
  width: 280px;
  height: 280px;
  background: #00b06b;
  top: -40px;
  right: -40px;
  animation-delay: 0s;
}

.shape2 {
  width: 200px;
  height: 200px;
  background: #ffb612;
  bottom: 10%;
  left: -20px;
  animation-delay: -5s;
}

.shape3 {
  width: 250px;
  height: 250px;
  background: #00cc7a;
  top: 50%;
  right: 15%;
  border-radius: 40% 60% 55% 45%;
  animation-delay: -2s;
}

@keyframes floatGreen {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(25px, -20px) rotate(3deg) scale(1.1); }
  50% { transform: translate(-15px, 25px) rotate(-2deg) scale(0.95); }
  75% { transform: translate(20px, -10px) rotate(4deg) scale(1.05); }
}

/* ============ CARD ============ */
.june-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  perspective: 600px;
}

.card {
  position: relative;
  background: rgba(5, 35, 20, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 230, 130, 0.15) inset;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px) rotateX(1.5deg);
  box-shadow: 0 45px 75px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 182, 18, 0.35) inset;
}

/* Top flag banner */
.june-banner {
  display: flex;
  height: 8px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.banner-segment {
  flex: 1;
  height: 100%;
}

.seg-red { background: #DE3831; }
.seg-blue { background: #002395; }
.seg-white { background: #FFFFFF; }
.seg-green { background: var(--green); }
.seg-gold { background: var(--yellow); }
.seg-black { background: #000000; }

/* Image hero section */
.june-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #022b1a;
}

.june-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay gradient for text readability */
.june-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 35, 20, 0.7) 100%);
  pointer-events: none;
}

/* Badge overlay on image */
.badge-overlay {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 182, 18, 0.95);
  color: #042015;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Main content */
.card__content {
  padding: 2.2rem 2.2rem 2.4rem;
  position: relative;
  z-index: 1;
}

/* Eyebrow text */
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFB612;
  margin-bottom: 0.8rem;
  display: block;
}

.june-heading {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.2rem;
}

.june-heading .accent {
  background: linear-gradient(135deg, #FFB612 0%, #FFA000 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.subheading {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

/* june-message text */
.june-message {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 95%;
}

.june-message strong {
  color: #FFB612;
  font-weight: 700;
}

/* Icon burst */
.action-icons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 200, 83, 0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 182, 18, 0.5);
  color: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-circle:hover {
  transform: scale(1.2) rotate(8deg);
  background: rgba(255, 182, 18, 0.3);
  border-color: #FFB612;
  box-shadow: 0 0 20px rgba(255, 182, 18, 0.4);
}

/* CTA Button */
.june-button {
  display: inline-block;
  background: linear-gradient(135deg, #FFB612 0%, #FFA000 100%);
  color: #042015;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 182, 18, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.june-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 182, 18, 0.5);
}

.june-button:active {
  transform: translateY(-1px);
}

/* Secondary text */
.footer-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00e676;
  border-top: 1px solid rgba(0, 200, 83, 0.4);
  padding-top: 1.4rem;
  display: block;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .card {
    border-radius: 24px;
  }
    
  .card__content {
    padding: 1.8rem 1.6rem 2.2rem;
  }
    
  .june-image {
    height: 120px;
  }
    
  .june-heading {
    font-size: 18px;
  }
  
    
  .subheading {
    font-size: 16px;
  }
    
  .june-message {
    font-size: 12px;
  }
    
  .june-button {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    font-size: 16px;
  }

  .footer-text {
    font-size: 8px;
    padding-top: 1rem;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 0.8rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}