*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #0f0f0f;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: white;
  min-height: 100vh;
  line-height: 1.4;
}

:root {
  --glass-bg: rgba(15, 15, 15, 0.55);
  --glass-blur: blur(12px) saturate(150%);
  --glass-border: rgba(255, 255, 255, 0.03);
  --glass-shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.30);
  --glass-shadow-strong: 0 8px 35px rgba(0, 0, 0, 0.35);
  --glass-shadow-header: 0 8px 25px rgba(0, 0, 0, 0.25);
  --glass-shadow-footer: 0 -8px 25px rgba(0, 0, 0, 0.25);
  --radius-lg: 18px;
  --radius-md: 14px;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

img, svg, canvas, video {
  vertical-align: middle;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.w-full {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow-soft);
  border: 1px solid var(--glass-border);
}

.section-wrapper {
  width: 100%;
  padding: 2rem 0.5rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.section-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .section-wrapper {
    padding: 2rem 0.5rem;
  }

  .section-inner {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
}

.no-break-span {
  white-space: nowrap;
}

img {
  pointer-events: auto;
  -webkit-user-drag: none;
  user-select: none;
}

#content-area {
  padding: 0;
  min-height: 40vh;
}

@media (min-width: 701px) {
  #content-area {
    padding: 2rem 1rem;
  }
}

.main-btn {
  background: #ffffff15;
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.main-btn:hover {
  background: #ffffff30;
}

.main-btn.active {
  background: #ffffff40;
  border-color: #ffffff80;
}

.overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.overlay.active {
  pointer-events: auto;
  opacity: 1;
}

.header-spacer {
  height: 70px;
  width: 100%;
}

.noscript-warning {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
}

.noscript-warning h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.noscript-warning h2 i {
  color: #ffde59;
  font-size: 1.6rem;
}

.noscript-warning p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.page-error-msg {
  padding: 1rem 1.4rem;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  width: fit-content;
  animation: fade-error-msg 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-error-msg i {
  color: #FFD43B;
  font-size: 1.2rem;
}

@keyframes fade-error-msg {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.15em;
}

.inline-link:visited {
  color: inherit;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration-thickness: 2px;
}

