/* BASE */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: 0;
}

@keyframes fadeRise {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes steelShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

@keyframes spinPlanet {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* HEADER */
.header {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.header::after {
  content: "";
  display: block;
  width: 160px;
  height: 2px;
  margin: 18px auto;
  background: linear-gradient(to right, transparent, #aaa, transparent);
  opacity: 0.6;
}

h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #777 0%, #bbb 20%, #fff 40%, #bbb 60%, #777 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: steelShimmer 4s linear infinite;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.15);
}

p {
  letter-spacing: 1.5px;
  opacity: 0.8;
  font-size: 18px;
}

/* BUBBLES */
.section-title {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  margin-bottom: 10px;
}

.bubbles {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  max-width: 1900px;
  margin-left: auto;
  margin-right: auto;
}

.bubbles a {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  text-decoration: none;
  color: white;
}

.bubbles a:nth-child(2) {
  margin-top: 20px;
}

.bubbles a:nth-child(4) {
  margin-top: 20px;
}

.bubbleWrap {
  display: block;
  animation: fadeRise 1.4s ease forwards;
  opacity: 0;
  transition: transform 0.3s ease;
}

.bubble {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  animation: float 4s ease-in-out infinite;
  border: 2px solid rgba(220, 220, 220, 0.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15), inset 0 0 6px rgba(255, 255, 255, 0.2);
}

.bubble::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
  pointer-events: none;
}

.bubble::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid rgba(220, 220, 220, 0.25);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), inset 0 0 5px rgba(255, 255, 255, 0.3);
  animation: spinPlanet 8s linear infinite;
  pointer-events: none;
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.bubbles a:hover .bubbleWrap {
  transform: scale(1.08);
}

.bubbles a:hover .bubble {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
}

.label {
  margin-top: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 120px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.7;
  font-size: 14px;
}

.footer .tagline {
  margin-top: 6px;
  letter-spacing: 1px;
  font-size: 12px;
  opacity: 0.7;
}

/* PARTICLES */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  top: -12%;
  opacity: 0.75;
  user-select: none;
  will-change: transform, opacity;
}

.particle.motion-gentle { animation: fallGentle linear infinite; }
.particle.motion-floaty {
  animation: riseFloaty linear infinite;
}
.particle.motion-breezy { animation: fallBreezy linear infinite; }
.particle.motion-rain { animation: fallRain linear infinite; }
.particle.motion-petal { animation: fallPetal linear infinite; }
.particle.motion-lazy { animation: fallLazy linear infinite; }
.particle.motion-spark { animation: fallSpark linear infinite; }
.particle.motion-dust { animation: fallDust linear infinite; }
.particle.motion-leaf { animation: fallLeaf linear infinite; }
.particle.motion-wobble { animation: fallWobble linear infinite; }
.particle.motion-heavy { animation: fallHeavy linear infinite; }
.rain-drop {
  font-weight: 100;
  opacity: 0.45;
  text-shadow: 0 0 6px rgba(180, 220, 255, 0.35);
}

@keyframes fallGentle {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translateY(50vh) translateX(var(--drift-medium)) rotate(var(--spin-medium)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)); opacity: 0; }
}

@keyframes fallFloaty {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.9); opacity: 0; }
  15%  { opacity: 0.8; }
  30%  { transform: translateY(25vh) translateX(calc(var(--drift-medium) * -1)) rotate(var(--spin-small)) scale(1); }
  60%  { transform: translateY(60vh) translateX(var(--drift-medium)) rotate(var(--spin-medium)) scale(1.05); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)) scale(0.95); opacity: 0; }
}

@keyframes fallBreezy {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  25%  { transform: translateY(20vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-small)); }
  50%  { transform: translateY(50vh) translateX(var(--drift-large)) rotate(var(--spin-medium)); }
  75%  { transform: translateY(80vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-large)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)); opacity: 0; }
}

@keyframes fallRain {
  0% {
    transform: translateY(-15vh) translateX(0) rotate(12deg) scaleY(1.2);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(110vh) translateX(var(--drift-small)) rotate(12deg) scaleY(1.2);
    opacity: 0;
  }
}

@keyframes fallPetal {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.8; }
  30%  { transform: translateY(28vh) translateX(var(--drift-medium)) rotate(var(--spin-small)); }
  55%  { transform: translateY(58vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-medium)); }
  80%  { transform: translateY(88vh) translateX(var(--drift-small)) rotate(var(--spin-large)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)); opacity: 0; }
}

@keyframes fallLazy {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.95); opacity: 0; }
  15%  { opacity: 0.65; }
  50%  { transform: translateY(55vh) translateX(var(--drift-small)) rotate(var(--spin-medium)) scale(1); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)) scale(0.98); opacity: 0; }
}

@keyframes fallSpark {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.8); opacity: 0; }
  10%  { opacity: 0.9; }
  35%  { transform: translateY(35vh) translateX(var(--drift-small)) rotate(var(--spin-small)) scale(1.15); }
  70%  { transform: translateY(75vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-large)) scale(0.95); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)) scale(0.85); opacity: 0; }
}

@keyframes fallDust {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  15%  { opacity: 0.45; }
  40%  { transform: translateY(40vh) translateX(var(--drift-small)) rotate(var(--spin-small)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)); opacity: 0; }
}

@keyframes fallLeaf {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.75; }
  25%  { transform: translateY(22vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-small)); }
  50%  { transform: translateY(50vh) translateX(var(--drift-medium)) rotate(var(--spin-medium)); }
  75%  { transform: translateY(80vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-large)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin)); opacity: 0; }
}

@keyframes fallWobble {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.9; }
  20%  { transform: translateY(20vh) translateX(var(--drift-small)) rotate(var(--spin-small)); }
  40%  { transform: translateY(45vh) translateX(calc(var(--drift-small) * -1)) rotate(calc(var(--spin-small) * -1)); }
  65%  { transform: translateY(72vh) translateX(var(--drift-small)) rotate(var(--spin-small)); }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(var(--spin-small)); opacity: 0; }
}

@keyframes fallHeavy {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.7; }
  100% { transform: translateY(110vh) translateX(var(--drift-small)) rotate(var(--spin-medium)); opacity: 0; }
}

@keyframes riseFloaty {
  0% {
    transform: translateY(110vh) translateX(0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  30% {
    transform: translateY(80vh) translateX(calc(var(--drift-small) * -1)) rotate(var(--spin-small)) scale(1);
  }
  60% {
    transform: translateY(40vh) translateX(var(--drift-medium)) rotate(var(--spin-medium)) scale(1.05);
  }
  100% {
    transform: translateY(-15vh) translateX(var(--drift)) rotate(var(--spin)) scale(0.95);
    opacity: 0;
  }
}

/* RESPONSIVE DESIGN */

/* Tablets */
@media (max-width: 900px) {
  .header {
    padding-top: 50px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 34px;
    letter-spacing: 3px;
  }

  p {
    font-size: 16px;
  }

  .bubbles {
    gap: 20px;
    max-width: 90%;
    margin-top: 30px;
  }

  .bubbles a {
    width: 200px;
    margin-bottom: 30px;
  }

  .bubble {
    width: 180px;
    height: 180px;
  }

  .bubble::before {
    width: 240px;
    height: 240px;
    top: -30px;
    left: -30px;
  }

  .footer {
    margin-top: 80px;
    padding: 30px 15px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .header {
    padding-top: 35px;
    padding-bottom: 15px;
    margin-bottom: 25px;
  }

  .header::after {
    width: 120px;
    margin: 14px auto;
  }

  h1 {
    font-size: 26px;
    letter-spacing: 2px;
  }

  p {
    font-size: 15px;
    letter-spacing: 1px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .section-title {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .bubbles {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    max-width: 100%;
  }

  .bubbles a {
    width: 100%;
    max-width: 220px;
    margin-top: 0 !important;
    margin-bottom: 25px;
  }

  .bubble {
    width: 160px;
    height: 160px;
  }

  .bubble::before {
    width: 210px;
    height: 210px;
    top: -25px;
    left: -25px;
  }

  .label {
    font-size: 14px;
    margin-top: 8px;
  }

  .footer {
    margin-top: 60px;
    padding: 25px 12px;
    font-size: 13px;
  }

  .footer .tagline {
    font-size: 11px;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  h1 {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .bubble {
    width: 140px;
    height: 140px;
  }

  .bubbles a {
    max-width: 190px;
  }

  .label {
    font-size: 13px;
  }
}