:root {
        --gradient-hue: 350;
        --gradient-glow-color: hsl(350 76% 56% / 0.52);
        --gradient-mid-color: hsl(350 58% 12%);
        --gradient-late-color: hsl(350 48% 34%);
        --gradient-bottom-color: hsl(350 72% 52%);
        --gradient-pulse-alpha: 0.52;
        --gradient-y: 88%;
        --page-padding: 16px;
        --content-width: 40rem;
    }

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

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

img {
        height: auto;
    }

.age-display {
        position: relative;
        display: inline-block;
        cursor: help;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.58);
        outline: none;
    }

.age-display::after {
        position: absolute;
        z-index: 10;
        left: 0;
        bottom: calc(100% + 10px);
        width: max-content;
        max-width: min(18rem, 78vw);
        padding: 8px 10px;
        color: #fff;
        font-family: 'Unbounded', sans-serif;
        font-size: 0.7rem;
        line-height: 1.3;
        text-align: center;
        content: attr(data-birthday);
        background: rgba(20, 15, 17, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
        transform: translate(0, 4px);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    }

.age-display:hover::after,
.age-display:focus-visible::after {
        visibility: visible;
        opacity: 1;
        transform: translate(0, 0);
    }

@property --gradient-pulse-alpha {
        syntax: '<number>';
        inherits: true;
        initial-value: 0.52;
    }

@property --gradient-hue {
        syntax: '<number>';
        inherits: true;
        initial-value: 350;
    }

@property --gradient-glow-color {
        syntax: '<color>';
        inherits: true;
        initial-value: hsl(350 76% 56% / 0.52);
    }

@property --gradient-mid-color {
        syntax: '<color>';
        inherits: true;
        initial-value: hsl(350 58% 12%);
    }

@property --gradient-late-color {
        syntax: '<color>';
        inherits: true;
        initial-value: hsl(350 48% 34%);
    }

@property --gradient-bottom-color {
        syntax: '<color>';
        inherits: true;
        initial-value: hsl(350 72% 52%);
    }

@property --gradient-y {
        syntax: '<percentage>';
        inherits: true;
        initial-value: 88%;
    }

@keyframes gradient-color-pulse {
        0%, 100% {
            --gradient-pulse-alpha: 0.28;
        }

        50% {
            --gradient-pulse-alpha: 0.82;
        }
    }

html {
        min-height: 100%;
        min-height: -webkit-fill-available;
        margin: 0;
        -webkit-text-size-adjust: 100%;
        background:
            radial-gradient(circle at 50% var(--gradient-y), color-mix(in srgb, var(--gradient-glow-color) calc(var(--gradient-pulse-alpha) * 100%), transparent), transparent 34rem),
            linear-gradient(180deg, #000000 0%, #090303 28%, var(--gradient-mid-color) 58%, var(--gradient-late-color) 84%, var(--gradient-bottom-color) 100%);
        background-attachment: fixed;
        animation: gradient-color-pulse 2.8s ease-in-out infinite;
        transition:
            --gradient-glow-color 0.9s ease,
            --gradient-mid-color 0.9s ease,
            --gradient-late-color 0.9s ease,
            --gradient-bottom-color 0.9s ease;
    }

body {
        font-family: 'Unbounded', sans-serif;
        color: #ffffff;
        margin: 0;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        overflow-wrap: break-word;
        background:
            radial-gradient(circle at 50% var(--gradient-y), color-mix(in srgb, var(--gradient-glow-color) calc(var(--gradient-pulse-alpha) * 100%), transparent), transparent 34rem),
            linear-gradient(180deg, #000000 0%, #090303 28%, var(--gradient-mid-color) 58%, var(--gradient-late-color) 84%, var(--gradient-bottom-color) 100%);
        background-attachment: fixed;
        animation: gradient-color-pulse 2.8s ease-in-out infinite;
        transition:
            --gradient-glow-color 0.9s ease,
            --gradient-mid-color 0.9s ease,
            --gradient-late-color 0.9s ease,
            --gradient-bottom-color 0.9s ease;
    }
    
    p {
     line-height: 1.25;
        padding-left: 20px;
    }

    /* Existing styles... */
    .content {
        width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
        max-width: var(--content-width);
        height: auto;
        /* background: #FCFBF0; */ /* Remove background */
        /* border-radius: 15px; */ /* Remove border-radius */
        margin: 20px auto 10px auto;
        padding: 10px 30px 0px 30px;
        box-sizing: border-box;
        /* border: 3px solid #58585839; */ /* Remove border */

        display: flex;
        flex-direction: column; /* Stack title and text */
        align-items: center; /* Center content horizontally */
        gap: 0.2rem;
        /* padding: 1rem 1.6rem; */ /* Use existing padding values */
        background-color: rgba(105, 105, 105, 0.089);
        color: white;
        border-radius: 30px;
        transition: all 0.5s ease;
        -webkit-backdrop-filter: blur(45px);
        backdrop-filter: blur(45px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }

    .content:hover {
        background-color: #42424242;
        transform: translateY(-2px);
    }

    .content2 {
        width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
        max-width: var(--content-width);
        height: auto;
        margin: 20px auto 10px auto;
        padding: 10px 30px 20px 30px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.2rem;

        background-color: rgba(105, 105, 105, 0.089);
        color: white;
        border-radius: 30px;
        transition: all 0.5s ease;
        -webkit-backdrop-filter: blur(45px);
        backdrop-filter: blur(45px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }

    .content2:hover {
        background-color: #42424242;
        transform: translateY(-2px);
    }

    .content3 {
        width: 40rem;
        height: 40%;
        text-align: center;
        background: #FCFBF0;
        border-radius: 30px;
        margin: 20px auto 10px auto;    
        padding: 20px 30px 20px 30px;
        box-sizing: border-box;
    }
    .fa-discord:before {
        content:"\f392"
      }
    .social-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 links per row on larger screens */
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
        width: min(calc(100% - (var(--page-padding) * 2)), 1000px);
        max-width: 1000px; /* Optional: Adjust the container width */
        margin-left: auto;
        margin-right: auto;
    }
    .social-link {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        min-width: 0;
        padding: 1rem 1.6rem;
        background-color: rgba(105, 105, 105, 0.089);
        color: white;
        border-radius: 30px;
        transition: all 0.5s ease;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }

    .social-link span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    
    .social-link:hover {
        background-color: #42424242;
        transform: translateY(-4px);
        -webkit-backdrop-filter: blur(40px);
        backdrop-filter: blur(40px);
    }

    .festival-entry-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: min(95%, 40rem);
        max-width: calc(100% - (var(--page-padding) * 2));
        min-height: 56px;
        margin: 1rem auto 0;
        padding: 0.9rem 1.4rem;
        color: white;
        text-decoration: none;
        background-color: rgba(105, 105, 105, 0.089);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        transition: all 0.5s ease;
    }

    .festival-entry-link:hover {
        background-color: #42424242;
        transform: translateY(-4px);
        -webkit-backdrop-filter: blur(40px);
        backdrop-filter: blur(40px);
    }
    
    .social-link i {
        font-size: 1.2rem;
        padding-right: 4px;
    }

    .content .title h1 {
        font-weight: 700;
        font-size: 20px;
        text-align: center;
        text-transform: uppercase;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .content .title,
    .content2 .title,
    .content2 .text {
        width: 100%;
        min-width: 0;
    }

    .content2 .title h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .content .button {
        color: #ffffff9f;
        background-color: #f76262;
        text-decoration: none;
        font-size: 16px;
        line-height: 1.33;
        padding: 10px 45px;
        display: inline-block;
        font-weight: normal;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        white-space: nowrap;
    }
    .content .button:hover {
        border-color: #adadad;
        background-color: #88dff9;
    }
    .content .text {
        width: 100%;
        min-width: 0;
        padding-bottom: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        text-align: left;
        line-height: 22px;
        
    }

    .content p,
    .content2 p,
    #specs-content,
    #specs-content li {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer {
        text-align: center;
    }
    .footer .copyright {
        display: inline-block;
        opacity: 0.5;
        filter: alpha(opacity=50);
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }
    .footer .copyright:hover {
        opacity: 1;
    }
    .footer .copyright .version {
        text-align: center;
        font-size: 11px;
    }
    .footer .copyright .version a {
        text-decoration: none;
        color: #605756;
    }
    .footer .copyright .version a:hover {
        text-decoration: underline;
    }
    .footer .copyright #logotype {
        margin: 0 auto 10px auto;
        width: 32px;
        height: 32px;
        display: block;
    }
    .footer .copyright #logotype img {
        width: 100%;
    }

    a {
        color: #ffffff;
        text-decoration: none;
    }
    a:hover, a:focus {
        color: #ffffff;
        text-decoration: none;
        
    }

    .language-toggle {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1000;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    #language-button,
    #gradient-refresh-button {
        display: flex;
        font-family: 'Unbounded', sans-serif;
        align-items: center;
        gap: 0.6rem;
        padding: 1rem 1.6rem;
        background-color: rgba(43, 43, 43, 0.123);
        color: white;
        border-radius: 14px;
        transition: all 0.5s ease;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border: 3px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
        cursor: pointer;
        min-height: 56px;
        box-sizing: border-box;
    }

    #gradient-refresh-button {
        width: 56px;
        height: 56px;
        padding: 0;
        font-size: 1.25rem;
    }

    #gradient-refresh-button i {
        line-height: 1;
        transition: transform 0.35s ease;
    }

    #gradient-refresh-button.is-refreshing i {
        animation: refresh-button-spin 0.65s ease;
    }

    @keyframes refresh-button-spin {
        0% {
            transform: rotate(0deg) scale(1);
        }

        55% {
            transform: rotate(220deg) scale(1.08);
        }

        100% {
            transform: rotate(360deg) scale(1);
        }
    }

    #language-button:hover,
    #gradient-refresh-button:hover {
        background-color: #42424242;
        transform: translateY(-2px);
    }

    @supports (-webkit-touch-callout: none) {
        html,
        body {
            background-attachment: scroll;
        }
    }

    #last-track {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .track-section-title {
      margin-top: 28px;
      margin-bottom: 20px;
      padding-left: 0 !important;
      text-align: left !important;
      font-size: 20px !important;
      line-height: 0.8 !important;
    }

    .track-card {
      display: flex;
      align-items: center;
      gap: 18px;
      width: 100%;
      max-width: 640px;
      min-width: 0;
      box-sizing: border-box;
      padding: 16px;
      background: linear-gradient(135deg, rgba(30, 30, 35, 0.64), rgba(8, 8, 10, 0.5));
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 22px;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 16px 34px rgba(0, 0, 0, 0.28);
    }

    .track-card img,
    .track-cover-placeholder {
      flex: 0 0 auto;
      width: 116px;
      height: 116px;
      border-radius: 16px;
    }

    .track-card img {
      object-fit: cover;
      background: #17131a;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    }

    .track-cover-placeholder,
    .track-state-icon {
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.08);
      color: #d7ecff;
      border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .track-cover-placeholder {
      font-size: 1.65rem;
    }

    .track-info {
      min-width: 0;
      text-align: left;
    }

    .track-info h2 {
      margin: 0 0 7px;
      font-size: 1.35rem;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    .track-info p {
      margin: 0;
      padding-left: 0;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.98rem;
      overflow-wrap: anywhere;
    }

    .track-info .track-link {
      color: #f8fbff;
      font-weight: 700;
      text-decoration: none;
      text-shadow: 0 1px 12px rgba(124, 201, 255, 0.22);
    }

    .track-info .track-link:hover {
      color: #a6dbff;
      text-decoration: none;
    }

    .track-info .track-artist {
      color: #a6dbff;
      font-size: 1rem;
      font-weight: 500;
    }

    .track-info .track-status {
      display: flex;
      align-items: center;
      width: fit-content;
      gap: 6px;
      margin-top: 12px !important;
      padding: 6px 10px;
      color: rgba(255, 255, 255, 0.78) !important;
      font-size: 0.76rem !important;
      line-height: 1.15;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
    }

    .track-info .track-status--playing {
      gap: 0;
      padding: 5px 12px 5px 12px;
      color: #fff3f4 !important;
      background: linear-gradient(
        110deg,
        color-mix(in srgb, var(--gradient-late-color) 78%, #12090b) 0%,
        color-mix(in srgb, var(--gradient-bottom-color) 70%, #eaa0ab) 48%,
        color-mix(in srgb, var(--gradient-mid-color) 72%, #13090b) 100%
      );
      background-size: 220% 100%;
      animation: track-status-gradient-flow 6s linear infinite alternate;
      border-color: color-mix(in srgb, var(--gradient-bottom-color) 62%, #ffffff);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 3px 7px rgba(0, 0, 0, 0.26), 0 5px 16px color-mix(in srgb, var(--gradient-bottom-color) 28%, transparent);
    }

    @keyframes track-status-gradient-flow {
      from { background-position: 0% 50%; }
      to { background-position: 100% 50%; }
    }

    .track-info .track-status--playing .playing-icon {
      display: grid;
      place-items: center;
      width: 18px;
      height: 18px;
      margin: 0 10px 0 0;
      color: #fff;
      font-size: 1.1rem;
      filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.26));
    }

    @media (prefers-reduced-motion: reduce) {
      .track-info .track-status--playing {
        animation: none;
      }
    }

    .track-card--state {
      justify-content: center;
      min-height: 136px;
      text-align: center;
    }

    .track-state-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      font-size: 1rem;
    }

    .track-state-copy {
      margin: 0;
      color: rgba(255, 255, 255, 0.82);
      font-size: 0.98rem;
    }

    .track-card--error .track-state-icon {
      color: #ffb7bb;
      border-color: rgba(255, 141, 149, 0.42);
      background: rgba(127, 44, 57, 0.34);
    }

    .intro-fullscreen {
        position: relative;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1;
        color: white;
        font-size: clamp(40px, 5vw, 5vw);
        text-transform: uppercase;
        background: transparent;
    }

    .scroll-down {
        font-size: 1em;
        margin-top: 30px;
        cursor: pointer;
        opacity: 0.4;
    }

    .main-content {
        padding-top: 1vh; /* Контент начинается после экрана */
        width: 100%;
        overflow-x: hidden;
    }

    .hide-scrollbar {
  overflow-y: scroll; /* или auto */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE и Edge */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.glass-surface {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.26s ease-out;
}

.glass-surface__filter {
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: -1;
}

.glass-surface__content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.glass-surface--svg {
  background: light-dark(hsl(0 0% 100% / var(--glass-frost, 0)), hsl(0 0% 0% / var(--glass-frost, 0)));
  -webkit-backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1));
  backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1));
  box-shadow:
    0 0 2px 1px light-dark(color-mix(in oklch, black, transparent 85%), color-mix(in oklch, white, transparent 65%))
      inset,
    0 0 10px 4px light-dark(color-mix(in oklch, black, transparent 90%), color-mix(in oklch, white, transparent 85%))
      inset,
    0px 4px 16px rgba(17, 17, 26, 0.05),
    0px 8px 24px rgba(17, 17, 26, 0.05),
    0px 16px 56px rgba(17, 17, 26, 0.05),
    0px 4px 16px rgba(17, 17, 26, 0.05) inset,
    0px 8px 24px rgba(17, 17, 26, 0.05) inset,
    0px 16px 56px rgba(17, 17, 26, 0.05) inset;
}

.glass-surface--fallback {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.2),
    0 2px 16px 0 rgba(31, 38, 135, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  .glass-surface--fallback {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
    backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
  }
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .glass-surface--fallback {
    background: rgba(255, 255, 255, 0.4);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
  }

  .glass-surface--fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: inherit;
    z-index: -1;
  }
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  @media (prefers-color-scheme: dark) {
    .glass-surface--fallback {
      background: rgba(0, 0, 0, 0.4);
    }

    .glass-surface--fallback::before {
      background: rgba(255, 255, 255, 0.05);
    }
  }
}

.glass-surface:focus-visible {
  outline: 2px solid light-dark(#007aff, #0a84ff);
  outline-offset: 2px;
}

#specs-content {
    margin: 0 auto;
    padding: 15px;
    background: rgba(105, 105, 105, 0.089);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(45px);
    backdrop-filter: blur(45px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
    max-width: var(--content-width);
    box-sizing: border-box;
}

#specs-content.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
}

#specs-content ul {
    margin: 0;
    padding-left: 20px;
}

#specs-content li {
    margin-bottom: 5px;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fursona-preview {
    position: relative;
    display: block;
    width: min(100%, 420px);
    aspect-ratio: 16 / 15;
    margin: 0 auto;
    overflow: hidden;
    background: #1a1113;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.fursona-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.fursona-expand,
.fursona-modal__close {
    position: absolute;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(13, 10, 11, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.fursona-expand {
    right: 10px;
    bottom: 10px;
}

.fursona-expand:hover,
.fursona-modal__close:hover {
    background: rgba(55, 40, 44, 0.88);
}

.fursona-gallery-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px auto 0;
    padding: 9px 13px;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
}

.fursona-gallery-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

.fursona-gallery {
    display: none;
}

.fursona-gallery.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.gallery-art {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    text-align: left;
    background: rgba(16, 12, 14, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    cursor: pointer;
}

.gallery-art img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #171114;
    transition: filter 0.22s ease, transform 0.22s ease;
}

.gallery-art span {
    display: block;
    padding: 10px;
    font-size: 0.84rem;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

.gallery-art b {
    display: none;
}

.gallery-art--blurred img {
    filter: blur(17px) brightness(0.62);
    transform: scale(1.08);
}

.gallery-art--blurred b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 14px;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

#specs-content:has(.fursona-gallery.is-open) {
    max-height: min(78vh, 780px);
    overflow-y: auto;
}

@media (min-width: 641px) {
    #specs-content:has(.fursona-gallery.is-open) {
        width: min(calc(100% - (var(--page-padding) * 2)), 58rem);
        max-width: 58rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: 24px;
    }

    #specs-content:has(.fursona-gallery.is-open) .fursona-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.fursona-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.76);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fursona-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.fursona-modal__dialog {
    position: relative;
    max-width: min(92vw, 1050px);
    max-height: 88vh;
}

.fursona-modal__dialog img {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
}

.fursona-modal__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 10px auto 0;
    padding: 9px 12px;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.72rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

.fursona-modal__author:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fursona-modal__close {
    z-index: 1;
    top: 10px;
    right: 10px;
}

#age-display {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1px 3px;
    border-radius: 5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.track-status {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px !important;
}
.track-link {
    color: #7cc9ff;
    text-decoration: none;
}

.track-link:hover {
    text-decoration: underline;
}

.specs-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.specs-buttons button {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        min-width: 0;
        padding: 1rem 1.6rem;
        background-color: rgba(105, 105, 105, 0.089);
        color: white;
        border-radius: 30px;
        transition: all 0.2s ease;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
        font-family: 'Unbounded', sans-serif;
        font-size: 1rem;
        overflow-wrap: anywhere;
}

.specs-buttons button:hover {
    background-color: #22222242;
    transform: translateY(-4px);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.specs-buttons button.active {
    background: rgba(27, 27, 27, 0.226);
    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px);
    border-radius: 15px;
    font-size: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.171);
}

@media (max-width: 640px) {
    html,
    body {
        background:
            radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--gradient-glow-color) 22%, transparent), transparent 18rem),
            linear-gradient(180deg, #030101 0%, var(--gradient-mid-color) 48%, var(--gradient-late-color) 100%);
        background-attachment: scroll;
        animation: none;
        transition: none;
    }

    body {
        font-size: 16px;
    }

    p {
        padding-left: 0;
    }

    .language-toggle {
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
        flex-direction: column;
        gap: 8px;
    }

    #language-button,
    #gradient-refresh-button {
        min-height: 48px;
        border-radius: 22px;
        border-width: 2px;
    }

    #language-button {
        padding: 0 1rem;
        min-width: 56px;
    }

    #gradient-refresh-button {
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
    }

    .intro-fullscreen {
        width: 100%;
        min-height: 100svh;
        height: 100svh;
        padding: 82px 16px 40px;
        box-sizing: border-box;
        font-size: clamp(28px, 9vw, 46px);
        overflow: hidden;
    }

    .intro-fullscreen h1 {
        max-width: 100%;
        margin: 0;
        font-size: clamp(44px, 15vw, 78px);
        line-height: 0.95;
        white-space: nowrap;
        text-align: center;
    }

    .scroll-down {
        font-size: 2rem;
        margin-top: 22px;
    }

    .main-content {
        padding: 0 10px;
        box-sizing: border-box;
        margin-top: 0;
    }

    .content,
    .content2,
    .festival-entry-link,
    #specs-content {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 10px auto;
        padding: 12px 14px;
        border-radius: 22px;
        background-color: rgba(18, 18, 18, 0.58);
        border-color: rgba(255, 255, 255, 0.14);
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        overflow: hidden;
    }

    .content:hover,
    .content2:hover,
    .festival-entry-link:hover {
        transform: none;
    }

    .content .title h1,
    .content2 .title h1 {
        font-size: 18px;
        line-height: 1.25;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .content .title,
    .content2 .title {
        width: 100%;
        min-width: 0;
    }

    .content .text {
        width: 100%;
        line-height: 1.45;
    }

    .content .text p {
        font-size: 17px;
        line-height: 1.4;
        margin: 0.75em 0;
    }

    .social-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: none;
        margin-top: 12px;
    }

    .social-link {
        min-width: 0;
        min-height: 48px;
        padding: 0.8rem 0.95rem;
        border-radius: 16px;
        font-size: 1rem;
        background-color: rgba(18, 18, 18, 0.5);
        border-color: rgba(255, 255, 255, 0.14);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .social-link:hover {
        transform: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .social-link span {
        overflow-wrap: anywhere;
    }

    .track-card {
        width: 100%;
        max-width: none;
        padding: 12px;
        gap: 12px;
        box-sizing: border-box;
        box-shadow: none;
    }

    .track-section-title {
        line-height: 1.2 !important;
        margin-bottom: 16px;
    }

    .track-card img,
    .track-cover-placeholder {
        width: 76px;
        height: 76px;
        flex: 0 0 auto;
    }

    .track-info {
        min-width: 0;
    }

    .track-info h2 {
        font-size: 1.08rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .track-info p {
        font-size: 0.92rem;
    }

    .track-info .track-artist {
        font-size: 0.92rem;
    }

    .track-info .track-status {
        margin-top: 8px !important;
        padding: 4px 7px;
        font-size: 0.7rem !important;
    }

    .track-card--state {
        min-height: 100px;
    }

    #specs-content,
    #specs-content li {
        font-size: 15px;
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .specs-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        width: min(calc(100% - (var(--page-padding) * 2)), var(--content-width));
        margin-left: auto;
        margin-right: auto;
    }

    .specs-buttons button {
        width: 50%;
        min-height: 48px;
        flex: 1 1 0;
        padding: 0.8rem 0.95rem;
        border-radius: 30px;
        font-size: 1rem;
        background-color: rgba(18, 18, 18, 0.5);
        border-color: rgba(255, 255, 255, 0.14);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .specs-buttons button:hover {
        transform: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .specs-buttons button.active {
        font-size: 1rem;
        border-radius: 15px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .specs-buttons #fursona-btn {
        flex: 0 0 100%;
        width: 100%;
    }

    .fursona-preview {
        width: min(100%, 340px);
        border-radius: 14px;
    }

    .fursona-expand {
        right: 8px;
        bottom: 8px;
        width: 34px;
        height: 34px;
    }

    #specs-content.active {
        max-height: min(680px, 62svh);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fursona-modal {
        padding: 14px;
    }

    .fursona-modal__dialog,
    .fursona-modal__dialog img {
        max-width: 100%;
        max-height: 90svh;
    }

    .content2 img {
        max-width: 100%;
        height: auto;
    }

    @supports (-webkit-touch-callout: none) {
        .content,
        .content2,
        #specs-content,
        .social-link,
        .specs-buttons button {
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }
    }
}

@media (max-width: 380px) {
    .social-links {
        grid-template-columns: 1fr;
    }

    .track-card {
        align-items: flex-start;
    }

    .intro-fullscreen h1 {
        font-size: clamp(38px, 14vw, 58px);
    }

    .content .text p {
        font-size: 16px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
