* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background-color: #05040a;
  color: #ffffff;
  overflow: hidden;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

#hero-section {
  position: relative;
  height: 100vh;
  background-image: linear-gradient(135deg,
      rgba(3, 0, 10, 0.8),
      rgba(64, 159, 174, 0.45)),
    url("../media/bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content-wrapper {
  max-width: 800px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  padding: 0 24px;
  z-index: 10;
}

.profile-header {
  position: relative;
  margin-bottom: 40px;
}

.profile-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: calc(60px + 8vw);
  font-weight: 900;
  margin: 0;
  color: #05040a;
  text-shadow: -1px -1px 0px #f02c15, 2px 2px 0px #409fae,
    0 0 40px rgba(0, 0, 0, 0.8);
  letter-spacing: -6px;
  line-height: 1;
}

.profile-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: calc(14px + 1.5vw);
  font-weight: 700;
  color: #fff;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 4px;
  margin: 10px 0 0 0;
  text-transform: none;
  opacity: 0.9;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.links a {
  font-family: "Montserrat", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.links a:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn-steam {
  background: linear-gradient(135deg, rgba(23, 26, 33, 0.8), rgba(42, 71, 94, 0.8)) !important;
}

.btn-discord {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.8), rgba(64, 78, 237, 0.8)) !important;
}

.btn-mail {
  background: linear-gradient(135deg, rgba(240, 44, 21, 0.8), rgba(132, 0, 255, 0.8)) !important;
}

.btn-discord:after {
  content: var(--after-content, "Discord");
}

.btn-discord.copied:after {
  content: "Copied!";
  color: #00ff88;
}

.btn-mail:after {
  content: "Email";
}

.btn-discord:hover:after {
  content: var(--after-content, "FaMEx#1971");
}

@media only screen and (max-width: 767px) {
  .profile-header h1 {
    font-size: calc(50px + 6vw);
    letter-spacing: -3px;
  }

  .profile-header h2 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .links {
    gap: 10px;
  }

  .links a {
    padding: 10px 28px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 480px) {
  .profile-header h1 {
    font-size: 60px;
    letter-spacing: -2px;
  }

  .links a {
    width: 100%;
    margin: 0;
  }
}

.footer {
  height: 50px;
  background: #05040a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
  width: 100%;
  text-align: center;
  line-height: 50px;
  position: absolute;
  bottom: 0;
  z-index: 100;
}

.footer a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  font-size: 12px;
  color: white;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 1;
  color: #409fae;
}