html,
body {
  min-height: 100%;
}

:root {
  --lw-accent: #38bdf8;
  --lw-accent-deep: #2563eb;
  --lw-line: rgba(148, 163, 184, .14);
  --lw-line-strong: rgba(148, 163, 184, .24);
  --lw-radius: .48rem;
  --lw-radius-sm: .32rem;
  --lw-glass-blur: 9px;
  --lw-font-weight: 370;
  --lw-title-weight: 560;
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-font-size: .9rem;
  --bs-body-font-weight: var(--lw-font-weight);
  --bs-body-line-height: 1.46;
  --bs-border-width: 1px;
  --bs-border-radius: var(--lw-radius);
  --bs-border-radius-sm: var(--lw-radius-sm);
  --bs-border-radius-lg: .6rem;
  --bs-border-radius-xl: .68rem;
  --bs-border-radius-xxl: .78rem;
  --bs-border-radius-pill: 50rem;
  --bs-focus-ring-width: .09rem;
  --bs-focus-ring-opacity: .14;
  --bs-focus-ring-color: rgba(56, 189, 248, .30);
  --bs-primary: var(--lw-accent-deep);
  --bs-primary-rgb: 37, 99, 235;
  --bs-info: var(--lw-accent);
  --bs-info-rgb: 56, 189, 248;
  --bs-link-color: #60a5fa;
  --bs-link-hover-color: #93c5fd;
  --bs-box-shadow: 0 .25rem .9rem rgba(2, 6, 23, .10);
  --bs-box-shadow-sm: 0 .12rem .45rem rgba(2, 6, 23, .08);
  --bs-box-shadow-lg: 0 .5rem 1.5rem rgba(2, 6, 23, .13);
  --bs-btn-font-weight: 430;
  --bs-btn-border-radius: var(--bs-border-radius-pill);
}

:root[data-bs-theme="dark"] {
  --bs-body-color: #eef6ff;
  --bs-body-bg: #06111f;
  --bs-secondary-color: rgba(226, 232, 240, .68);
  --bs-tertiary-color: rgba(226, 232, 240, .52);
  --bs-border-color: rgba(226, 232, 240, .14);
  --bs-heading-color: #f8fbff;
  --bs-emphasis-color: #ffffff;
  --bs-tertiary-bg: rgba(15, 23, 42, .36);
  --bs-card-bg: rgba(15, 23, 42, .26);
  --bs-card-border-color: rgba(226, 232, 240, .12);
  --bs-modal-bg: rgba(9, 16, 29, .88);
  --bs-modal-border-color: rgba(226, 232, 240, .14);
  --bs-form-control-bg: rgba(15, 23, 42, .38);
  --bs-form-control-color: #f8fbff;
  --bs-form-control-border-color: rgba(226, 232, 240, .16);
}

:root[data-bs-theme="light"] {
  --bs-body-color: #142033;
  --bs-body-bg: #f8fbff;
  --bs-secondary-color: #526176;
  --bs-tertiary-color: #718095;
  --bs-border-color: rgba(15, 23, 42, .12);
  --bs-heading-color: #0d1728;
  --bs-emphasis-color: #07101f;
  --bs-tertiary-bg: rgba(255, 255, 255, .52);
  --bs-card-bg: rgba(255, 255, 255, .48);
  --bs-card-border-color: rgba(15, 23, 42, .10);
  --bs-modal-bg: rgba(255, 255, 255, .92);
  --bs-modal-border-color: rgba(15, 23, 42, .12);
  --bs-form-control-bg: rgba(255, 255, 255, .62);
  --bs-form-control-color: #0d1728;
  --bs-form-control-border-color: rgba(15, 23, 42, .14);
  --bs-link-color: #1d4ed8;
  --bs-link-hover-color: #1e40af;
}

body {
  background-image: url("../images/lil-works-guitar-optimized-DIoMW_c.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  font-size: var(--bs-body-font-size);
}

@media (max-width: 768px), (pointer: coarse) {
  body {
    background-attachment: scroll;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

:root[data-bs-theme="dark"] body::before {
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(0, 0, 0, .06), rgba(0, 0, 0, .20)),
    linear-gradient(to bottom, rgba(0, 0, 0, .04), rgba(0, 0, 0, .16));
  backdrop-filter: saturate(115%) blur(.8px);
}

:root[data-bs-theme="light"] body::before {
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .38)),
    linear-gradient(to bottom, rgba(255, 255, 255, .12), rgba(255, 255, 255, .28));
  backdrop-filter: saturate(110%) blur(1px);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--lw-title-weight);
}

.btn {
  --bs-btn-font-weight: 430;
  --bs-btn-padding-x: .62rem;
  --bs-btn-padding-y: .27rem;
  --bs-btn-font-size: .82rem;
  --bs-btn-border-width: 1px;
  letter-spacing: 0;
}

.btn-lg {
  --bs-btn-padding-x: .74rem;
  --bs-btn-padding-y: .36rem;
  --bs-btn-font-size: .86rem;
}

.btn-sm {
  --bs-btn-padding-x: .48rem;
  --bs-btn-padding-y: .2rem;
  --bs-btn-font-size: .72rem;
}

.form-control,
.form-select,
.form-check-input {
  border-color: var(--bs-form-control-border-color);
  background-color: var(--bs-form-control-bg);
  color: var(--bs-form-control-color);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(56, 189, 248, .36);
  box-shadow: 0 0 0 .09rem rgba(56, 189, 248, .13);
}

.modal-content,
.dropdown-menu,
.card {
  border-width: 1px;
  border-color: var(--bs-border-color);
  box-shadow: var(--bs-box-shadow-sm);
}

.app-glass {
  border: 1px solid;
  border-radius: var(--lw-radius);
  backdrop-filter: blur(var(--lw-glass-blur)) saturate(145%);
}

:root[data-bs-theme="dark"] .app-glass {
  background: rgba(20, 25, 40, .18);
  border-color: rgba(255, 255, 255, .075);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .015) inset;
}

:root[data-bs-theme="light"] .app-glass {
  background: rgba(255, 255, 255, .32);
  border-color: rgba(15, 23, 42, .07);
  box-shadow: 0 .28rem .9rem rgba(15, 23, 42, .045);
}

.app-kicker {
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: .95;
  margin-bottom: .25rem;
}

.app-title {
  font-weight: var(--lw-title-weight);
  line-height: 1.06;
  letter-spacing: 0;
  margin: .2rem 0 .5rem;
  color: #fff;
  -webkit-text-fill-color: currentColor;
  background: none;
}

:root[data-bs-theme="light"] .app-title {
  color: #0b1a33;
  -webkit-text-fill-color: #0b1a33;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 0 1px rgba(0, 0, 0, .08);
}

:root[data-bs-theme="dark"] .app-title {
  background: linear-gradient(90deg, #fff, #cfe5ff 55%, #a8d7ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.btn-pill {
  border-radius: 999px;
}

.btn-primary {
  background: linear-gradient(180deg, #2f7df6, #1d4ed8);
  border: 1px solid;
  color: #fff;
}

:root[data-bs-theme="dark"] .btn-primary {
  border-color: rgba(255, 255, 255, .2);
}

:root[data-bs-theme="light"] .btn-primary {
  border-color: rgba(15, 23, 42, .10);
}

:root[data-bs-theme="dark"] .btn-outline-light {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .45);
}

:root[data-bs-theme="dark"] .btn-outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .7);
}

:root[data-bs-theme="light"] .btn-outline-light {
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, .20);
}

:root[data-bs-theme="light"] .btn-outline-light:hover {
  background: #f3f6fb;
  border-color: rgba(15, 23, 42, .35);
}

.language-switcher {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 999px;
  backdrop-filter: blur(8px) saturate(145%);
}

.language-switcher a {
  min-width: 3rem;
  padding: .26rem .4rem;
  border-radius: 999px;
  color: inherit;
  font-size: .68rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  opacity: .75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  line-height: 1;
}

.language-flag {
  font-size: .86rem;
}

.language-code {
  letter-spacing: 0;
}

.language-switcher a:hover,
.language-switcher a.active {
  opacity: 1;
}

:root[data-bs-theme="dark"] .language-switcher {
  background: rgba(4, 10, 18, .58);
}

:root[data-bs-theme="dark"] .language-switcher a.active {
  background: rgba(56, 189, 248, .2);
  color: #e0f2fe;
}

:root[data-bs-theme="light"] .language-switcher {
  background: rgba(255, 255, 255, .78);
}

:root[data-bs-theme="light"] .language-switcher a.active {
  background: rgba(14, 165, 233, .14);
  color: #075985;
}

.site-logo {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  height: 68px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.modern-footer {
  border-top: 1px solid var(--lw-line);
  backdrop-filter: blur(8px) saturate(140%);
}

.modern-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 100%;
}

.modern-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.modern-footer-brand img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.modern-footer-title {
  display: block;
  font-size: .78rem;
  font-weight: 520;
  line-height: 1.05;
}

.modern-footer-copy {
  display: block;
  font-size: .66rem;
  opacity: .68;
  line-height: 1.1;
}

.modern-footer-links {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modern-footer-link {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .22rem .48rem;
  border: 1px solid var(--lw-line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: .72rem;
  line-height: 1;
  opacity: .86;
}

.modern-footer-icon-set {
  display: inline-flex;
  align-items: center;
  gap: .12rem;
  font-size: .72rem;
  line-height: 1;
}

.modern-footer-icon-set .bi {
  opacity: .9;
}

.modern-footer-link:hover {
  opacity: 1;
  border-color: var(--lw-line-strong);
}

:root[data-bs-theme="dark"] .modern-footer {
  background: rgba(0, 0, 0, .24);
}

:root[data-bs-theme="light"] .modern-footer {
  background: rgba(255, 255, 255, .58);
}

@media (max-width: 768px) {
  .language-switcher {
    left: .75rem;
    top: .75rem;
  }

  .language-switcher a {
    min-width: 2.42rem;
    padding: .24rem .34rem;
  }

  .logo-container-mobile {
    display: block;
    text-align: center;
    padding: 14px 0 0;
  }

  .logo-container-desktop {
    display: none;
  }

  .site-logo {
    position: relative;
    margin: 0 auto;
  }

  .modern-footer-inner {
    justify-content: center;
  }

  .modern-footer-copy {
    display: none;
  }
}
