/* BieberLAN Theme for LinkStack / BieberStack
   Derived from galaxy-2.1, redesigned for a sharper event / gaming landing-page feel. */

html {
  font-size: 100%;
}

:root {
  --bgColor: #050506;
  --bgColor2: #0a0a0d;
  --surface: rgba(14, 14, 18, 0.82);
  --surfaceStrong: rgba(8, 8, 10, 0.92);
  --surfaceBorder: rgba(255, 255, 255, 0.08);
  --surfaceBorderHover: rgba(255, 106, 0, 0.5);
  --textColor: #f4f4f6;
  --textMuted: rgba(255, 255, 255, 0.72);
  --accentColor: #ff6a00;
  --accentColor2: #ff9a3d;
  --accentGlow: rgba(255, 106, 0, 0.28);
  --font: 'Oswald', sans-serif;
  --delay: .15s;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #2e2e35 #0a0a0d;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #0a0a0d;
}

*::-webkit-scrollbar-thumb {
  background: #2e2e35;
  border-radius: 999px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--textColor);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 106, 0, 0.18), transparent 32%),
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.06), transparent 55%),
    linear-gradient(180deg, #09090c 0%, #050506 45%, #040405 100%);
  background-attachment: fixed;
  opacity: 0;
  animation: .7s ease-out var(--delay) 1 transitionAnimation;
  animation-fill-mode: forwards;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 55%);
  opacity: 0.25;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 106, 0, 0.18), transparent 20%),
    radial-gradient(circle at 10% 80%, rgba(255, 106, 0, 0.06), transparent 18%),
    radial-gradient(circle at 90% 74%, rgba(255, 106, 0, 0.06), transparent 18%);
  opacity: 0.8;
}

@keyframes transitionAnimation {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  position: relative;
  width: min(100%, 760px);
  padding: 0 18px 44px;
  text-align: center;
  margin: 0 auto;
}

.column,
.columns {
  width: 100%;
}

@media (min-width: 400px) {
  .container {
    width: min(88%, 760px);
    padding: 0 10px 48px;
  }
}

@media (min-width: 550px) {
  .container {
    width: min(82%, 760px);
  }
}

.spacing {
  padding: 26px 0 0;
}

h1 {
  margin: 12px 0 12px;
/*font-family: 'Oswald', sans-serif;*/
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p {
  margin-top: 0;
}

a {
  color: var(--accentColor);
  text-decoration: none;
}

a:hover {
  color: var(--accentColor2);
}

img,
svg {
  max-width: 100%;
}

button,
.button {
  display: block !important;
  width: 100%;
  margin: 0 0 14px;
}

input,
textarea,
select,
fieldset,
pre,
blockquote,
dl,
figure,
p,
ol {
  margin-bottom: 1.4rem;
}

.u-full-width,
.u-max-full-width {
  width: 100%;
}

hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Core profile / intro blocks */
#profilePicture,
.profilePicture {
  margin: 8px auto 18px;
}

#profilePicture img,
.profilePicture img,
.rounded-avatar {
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 50px rgba(0,0,0,0.35);
}

#userName,
.userName {
  display: block;
  width: 100%;
  margin: 0 auto 8px;
  color: var(--textColor);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

#description,
.description,
.bio,
#bio {
  width: min(100%, 640px);
  margin: 0 auto 22px;
  color: var(--textMuted);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Visual shell around content */
.bieberlan-shell {
  position: relative;
  margin: 18px auto 22px;
  padding: 24px 18px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17,17,21,0.85), rgba(9,9,12,0.78));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bieberlan-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,106,0,0.28), rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Link buttons */
.button,
a.button {
  position: relative;
  overflow: hidden;
  padding: 17px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20,20,24,0.94), rgba(12,12,15,0.96));
  border: 1px solid var(--surfaceBorder);
  color: var(--textColor);
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,106,0,0.08), 0 0 18px rgba(255,106,0,0.12);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.button::before,
a.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}

.button::after,
a.button::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accentColor), transparent 90%);
  opacity: 0.65;
}

@media (hover: hover) {
  .button:hover,
  a.button:hover {
    transform: translateY(-2px);
    border-color: var(--surfaceBorderHover);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,106,0,0.08), 0 0 24px var(--accentGlow);
  }

  .button:hover::before,
  a.button:hover::before {
    transform: translateX(120%);
  }
}

.button:active,
a.button:active {
  transform: translateY(0);
  border-color: rgba(255, 106, 0, 0.7);
}

.button .icon,
a.button .icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
}

/* Optional primary CTA if editor adds class */
.button.primary,
a.button.primary,
.button.button-primary,
a.button.button-primary {
  background: linear-gradient(135deg, rgba(255,106,0,0.22), rgba(255,106,0,0.08) 70%), linear-gradient(180deg, rgba(22,22,24,0.98), rgba(12,12,15,0.98));
  border-color: rgba(255,106,0,0.4);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28), 0 0 22px rgba(255,106,0,0.12);
}

/* Social icons */
.social-icon-div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px auto 26px;
  padding-bottom: 0;
}

.social-icon,
a.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 2.15rem;
  color: #fff;
  background: rgba(18,18,22,0.82);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

@media (hover: hover) {
  .social-icon:hover,
  a.social-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(255,106,0,0.4);
    box-shadow: 0 12px 28px rgba(0,0,0,0.26), 0 0 20px rgba(255,106,0,0.12);
  }
}

/* Footer / credit */
footer,
footer a,
.credit,
#credit {
  color: rgba(255,255,255,0.52);
}

/* Utility wrappers often used by LinkStack */
.link,
.links,
.links-container {
  width: 100%;
}

@media (max-width: 640px) {
  .bieberlan-shell {
    border-radius: 24px;
    padding: 20px 14px 14px;
  }

  .button,
  a.button {
    font-size: 1rem;
    padding: 16px;
    border-radius: 16px;
  }

  .social-icon,
  a.social-icon {
    width: 55px;
    height: 55px;
  }
}
