html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000;
  color: white;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

#bg-video {
  position: fixed;
  top: 50%; left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  /* Blur on a pseudo-element instead of the video itself = better performance */
}

#bg-video::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

header, footer {
  background: #00000066;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.1px solid #333;
  padding: 1rem 0;
  text-align: center;
  z-index: 2;
}

header { border-bottom: 1px solid #444; }
footer { border-top: 1px solid #444; }

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.content-box {
  background: #00000088;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.1px solid #444;
  border-radius: 12px;
  padding: 2rem 3rem;
  transition: all 0.3s ease;
  max-width: 90%;
}

.content-box:hover {
  background: #000000aa;
  border-color: #fafafa;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

h1 {
  font-size: 3.8rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: block;
}

.persona {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.persona:hover {
  color: #ff4d4d;
  text-shadow: 0 0 15px rgba(255,77,77,0.6);
}

main p {
  margin: 0.6rem 0;
  opacity: 0.9;
  font-size: 1.15rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  color: white;
  text-decoration: none;
  border: 1px solid #fafafa;
  border-radius: 8px;
  padding: 0.65rem 1.3rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #24242488;
  border-width: 3px;
  border-color: #ff4d4d;
}

.social-links i {
  font-size: 1.6rem;
}

@media (max-width: 768px) {

  header {
    border-bottom: 1px solid #444;
  }

  footer {
    border-top: 1px solid #444;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 2.8rem; }
  .content-box { padding: 1.5rem 2rem; }
  .social-links a { padding: 0.6rem 1rem; font-size: 1rem; }
}