.user-avatar-component {
  display: flex;
}
.input {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.input--full-width {
  width: 100%;
}

.input__label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.input__required {
  color: var(--error-color);
  margin-left: 2px;
}

.input__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input__field {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all .2s ease;
   margin-bottom: 5px;
}

.input__field::placeholder {
  color: var(--text-muted);
}

.input__field:hover {
  border-color: var(--border-hover);
}

.input__field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.input__field:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: var(--bg-tertiary);
}

.input__field--error,
.input__field--error:focus {
  border-color: var(--error-color);
}

.input__field--error:focus {
  box-shadow: 0 0 0 3px hsla(0, 100%, 71%, .1);
}

.input__field--with-icon-left {
  padding-left: 44px;
}

.input__field--with-icon-right {
  padding-right: 44px;
}

.input__icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.input__icon--left {
  left: 12px;
}

.input__icon--right {
  right: 12px;
}

.input__icon svg {
  width: 100%;
  height: 100%;
}

.input__error {
  color: var(--error-color);
}

.input__error,
.input__helper {
  font-size: .75rem;
  margin-top: 4px;
}

.input__helper {
  color: var(--text-tertiary);
}
.user-avatar-component__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 50%;
  color: var(--on-primary);
  border: 1px solid var(--primary);
  background-color: var(--primary);
}

.user-avatar-component__img {
  border-radius: 50%;
  border: 1px solid var(--outline);
  border-color: var(--primary);
  object-fit: cover;
}

.user-avatar-component__img:hover,
.user-avatar-component__placeholder:hover {
  opacity: .9;
}

.profile-user-container {
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.profile-user-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.profile-user-loading {
  font-size: 1rem;
}

.profile-user-error,
.profile-user-loading {
  text-align: center;
  padding: 4rem 1rem;
  color: #888;
}

.profile-user-error h2 {
  font-size: 1.5rem;
  color: #e8e8f0;
  margin: 0 0 .5rem;
}

.profile-user-error p {
  font-size: .9375rem;
  margin: 0;
}

.profile-user-tab-content {
  min-height: 400px;
}

@media (max-width: 768px) {
  .profile-user-container {
    padding: 1rem 0 3rem;
  }

  .profile-user-content {
    padding: 0 1rem;
  }
}

.breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
  animation: breadcrumbs-fade-in .3s ease;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .2s ease;
  padding: 4px 6px;
  border-radius: 6px;
}

.breadcrumbs__link:hover {
  color: var(--primary-color);
  background: rgba(255, 140, 50, .08);
}

.breadcrumbs__link:active {
  transform: scale(.98);
}

.breadcrumbs__home-icon {
  flex-shrink: 0;
}

.breadcrumbs__current {
  color: var(--text-primary);
  font-weight: 600;
  padding: 4px 6px;
}

.breadcrumbs__separator {
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: .5;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .breadcrumbs__current,
  .breadcrumbs__link {
    padding: 3px 5px;
  }
}

@keyframes breadcrumbs-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.under-development__container {
  position: relative;
 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
}

.under-development__content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  text-align: center;
  animation: under-development-fade-in-up .8s ease-out;
}

.under-development__icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
  color: var(--primary);
  animation: under-development-float 3s ease-in-out infinite;
}

.under-development__sparkle {
  position: absolute;
  color: var(--blue);
  animation: under-development-sparkle 2s ease-in-out infinite;
}

.under-development__sparkle--1 {
  top: -10px;
  right: -10px;
  animation-delay: 0s;
}

.under-development__sparkle--2 {
  bottom: -5px;
  left: -15px;
  animation-delay: .7s;
}

.under-development__sparkle--3 {
  top: 50%;
  right: -20px;
  animation-delay: 1.4s;
}

.under-development__title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary) 0, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: under-development-slide-in .8s ease-out .2s both;
}

@media (max-width: 768px) {
  .under-development__title {
    font-size: 36px;
  }
}

.under-development__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 140, 50, .15);
  border: 1px solid rgba(255, 140, 50, .3);
  border-radius: 24px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
 
  animation: under-development-slide-in .8s ease-out .3s both;
}

.under-development__description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  animation: under-development-slide-in .8s ease-out .4s both;
}

@media (max-width: 768px) {
  .under-development__description {
    font-size: 16px;
  }
}

.under-development__features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  animation: under-development-slide-in .8s ease-out .5s both;
}

.under-development__feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all .3s ease;
}

.under-development__feature-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.under-development__feature-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary) 0, var(--blue) 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.under-development__back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
  animation: under-development-slide-in .8s ease-out .6s both;
}

.under-development__back-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 140, 50, .4);
}

.under-development__back-button:active {
  transform: translateY(-2px);
}

.under-development__decorative-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .1;
  animation: under-development-pulse 4s ease-in-out infinite;
}

.under-development__decorative-circle--1 {
  top: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0, transparent 70%);
  animation-delay: 0s;
}

.under-development__decorative-circle--2 {
  bottom: 15%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue) 0, transparent 70%);
  animation-delay: 1.5s;
}

.under-development__decorative-circle--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple) 0, transparent 70%);
  animation-delay: 3s;
}

@keyframes under-development-fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes under-development-slide-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes under-development-float {

  0%,
  to {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes under-development-sparkle {

  0%,
  to {
    opacity: 0;
    transform: scale(.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes under-development-pulse {

  0%,
  to {
    transform: scale(1);
    opacity: .1;
  }

  50% {
    transform: scale(1.1);
    opacity: .15;
  }
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../media/abfec168c8990f67-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../media/3131c862d4942660-s.p.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../media/6a9c36ea9dc9b36b-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../media/e1694c6cb47c173f-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../media/ee40bb094c99a29a-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../media/abfec168c8990f67-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../media/3131c862d4942660-s.p.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../media/6a9c36ea9dc9b36b-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../media/e1694c6cb47c173f-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../media/ee40bb094c99a29a-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/abfec168c8990f67-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/3131c862d4942660-s.p.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/6a9c36ea9dc9b36b-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/e1694c6cb47c173f-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/ee40bb094c99a29a-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../media/abfec168c8990f67-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../media/3131c862d4942660-s.p.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../media/6a9c36ea9dc9b36b-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../media/e1694c6cb47c173f-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../media/ee40bb094c99a29a-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/abfec168c8990f67-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/3131c862d4942660-s.p.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/6a9c36ea9dc9b36b-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329, u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/e1694c6cb47c173f-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: __Nunito_70753d;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/ee40bb094c99a29a-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Nunito_Fallback_70753d;
  src: local("Arial");
  ascent-override: 99.71%;
  descent-override: 34.82%;
  line-gap-override: 0.00%;
  size-adjust: 101.39%;
}

.__className_70753d {
  font-family: __Nunito_70753d, __Nunito_Fallback_70753d;
  font-style: normal;
}

.__variable_70753d {
  --font-nunito: "__Nunito_70753d", "__Nunito_Fallback_70753d";
}

@font-face {
  font-family: __Orbitron_3cf04e;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../media/9a4ee768fed045da-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Orbitron_3cf04e;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../media/9a4ee768fed045da-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-family: __Orbitron_Fallback_3cf04e;
  src: local("Arial");
  ascent-override: 81.50%;
  descent-override: 19.59%;
  line-gap-override: 0.00%;
  size-adjust: 124.05%;
}

.__className_3cf04e {
  font-family: __Orbitron_3cf04e, __Orbitron_Fallback_3cf04e;
  font-style: normal;
}

.__variable_3cf04e {
  --font-orbitron: "__Orbitron_3cf04e", "__Orbitron_Fallback_3cf04e";
}

.social-section {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  text-align: center;
}

.social-section__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e8e8f0;
  text-transform: uppercase;
  margin: 0 0 40px;
}

.social-section__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 40px 24px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s;
}

.social-card:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  transition: opacity .3s;
  z-index: 1;
}

.social-card:hover {
  transform: translateY(-4px);
}

.social-card:hover:before {
  opacity: 1;
}

.social-card:hover .social-card__bg {
  opacity: 0;
}

.social-card--discord:before {
  background: linear-gradient(135deg, #5865f2, #4752c4);
}

.social-card--telegram:before {
  background: linear-gradient(135deg, #2aabee, #229ed9);
}

.social-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.social-card__bg img {
  object-fit: cover;
}

.social-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-card__icon {
  margin-bottom: 24px;
}

.social-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.social-card__label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.social-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.social-card__arrow {
  color: #fff;
  margin-top: 8px;
}

.social-card__features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.social-card__features li {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .social-section {
    padding: 40px 16px 60px;
  }

  .social-section__title {
    font-size: 1.8rem;
  }

  .social-section__cards {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 320px;
  }
}

.footer {
  position: relative;
  z-index: 5;
  padding: 32px 20px;
  background-color: var(--surface);
  text-align: center;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.footer__links a {
  font-size: 1rem;
  color: var(--on-surface);
  text-decoration: none;
  transition: color .2s;
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__about {
  color: var(--on-surface-variant);
  font-size: .9rem;
  font-weight: 400;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all .3s ease;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.header__inner {
  height: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 20px 10px 0;
  padding: 10px 20px;
  box-shadow: var(--shadow-md);
  background: var(--surface);
  border-radius: 10px;
  overflow: visible;
;
}

.header__nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 50px;
}

.header__nav-item {
  color: var(--on-surface-variant);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: 10px;
  transition: all .2s ease;
  position: relative;
}

.header__nav-item:hover {
  color: var(--on-surface);
}

.header__nav-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

.header__actions,
.header__auth-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__auth-section {
  justify-content: center;
}

.header__auth-section .loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.header__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
}

.header__profile:hover {
  transition: all .3s ease;
  background: var(--surface-hover);
}

.header__profile:hover .header__username {
  color: var(--primary);
}

.header__burger-btn {
  display: none;
  position: relative;
  border: none;
  background: transparent;
  width: 24px;
  height: 24px;
  margin: 7px;
}

.header__burger-btn:after,
.header__burger-btn:before {
  content: "";
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: var(--on-surface);
}

.header__burger-btn:before {
  top: 3px;
  box-shadow: 0 8px 0 var(--on-surface);
  transition: box-shadow .2s .15s, top .2s .15s, transform .2s;
}

.header__burger-btn:after {
  bottom: 3px;
  transition: bottom .2s .15s, transform .2s;
}

.header__burger-btn.active:before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 transparent;
  transition: box-shadow .15s, top .2s, transform .2s .15s;
}

.header__burger-btn.active:after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .2s, transform .2s .15s;
}

.header .side-menu {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  height: 100dvh;
  width: 100%;
  background: var(--background);
  transform: translateX(100%);
  transition: transform .3s ease;
  padding-top: 100px;
  display: none;
  flex-direction: column;
}

.header .side-menu.active {
  transform: translateX(0);
}

.header .side-menu__nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header .side-menu__link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--on-surface);
  text-decoration: none;
  padding: 10px 30px;
}

.header .side-menu__link.active {
  position: relative;
  color: var(--primary);
}

.header .side-menu__link.active:after {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  content: "";
  width: 3px;
  background-color: var(--primary);
  border-radius: 10px;
}

.header .side-menu__footer {
  padding: 20px;
}

.header .side-menu__auth-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: -20px;
  padding: 20px;
  background-color: var(--surface);
}

.header .side-menu__notification-btn {
  margin-right: auto;
  margin-left: 10px;
}

@media (min-width: 300px) and (max-width: 1024px) {
  .header__burger-btn {
    display: block;
  }

  .header__inner {
    padding: 15px;
    margin: 0;
    border-radius: 0;
  }

  .header__auth-section,
  .header__nav {
    display: none;
  }

  .header .side-menu {
    display: flex;
  }
}

.notification-list {
  display: flex;
  flex-direction: column;
  max-height: 500px;
}

.notification-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
}

.notification-list__header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #e8e8f0;
}

.notification-list__mark-all-button {
  background: transparent;
  border: none;
  color: #50b4ff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.notification-list__mark-all-button:hover {
  background: rgba(80, 180, 255, .1);
  color: #7ac5ff;
}

.notification-list__mark-all-button:active {
  transform: scale(.95);
}

.notification-list__container {
  overflow-y: auto;
  max-height: 400px;
}

.notification-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid hsla(0, 0%, 100%, .05);
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}

.notification-list__item:hover {
  background: hsla(0, 0%, 100%, .03);
}

.notification-list__item:active {
  background: hsla(0, 0%, 100%, .05);
}

.notification-list__item--unread {
  background: rgba(80, 180, 255, .05);
}

.notification-list__item--unread:hover {
  background: rgba(80, 180, 255, .08);
}

.notification-list__item:last-child {
  border-bottom: none;
}

.notification-list__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 140, 50, .15);
  color: #ff8c32;
}

.notification-list__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-list__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e8f0;
}

.notification-list__time {
  font-size: 12px;
  color: #888;
}

.notification-list__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8c32;
  box-shadow: 0 0 8px rgba(255, 140, 50, .6);
  margin-top: 4px;
}

.notification-list__loading {
  padding: 40px 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.notification-list__empty {
  padding: 60px 20px;
  text-align: center;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.notification-list__empty p {
  margin: 0;
  font-size: 14px;
}

.notification-list__load-more-button {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-top: 1px solid hsla(0, 0%, 100%, .05);
  color: #50b4ff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}

.notification-list__load-more-button:hover {
  background: rgba(80, 180, 255, .05);
  color: #7ac5ff;
}

.notification-list__load-more-button:active {
  background: rgba(80, 180, 255, .08);
}

.notification-list__load-more-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.notification-bell {
  position: relative;
  display: inline-block;
}

.notification-bell__button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #e8e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all .2s ease;
}

.notification-bell__button:hover {
  background: hsla(0, 0%, 100%, .05);
  color: #ff8c32;
}

.notification-bell__button:active {
  transform: scale(.95);
}

.notification-bell__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #ff6b18, #ff8c32);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 107, 24, .4);
  animation: notification-bell-pulse 2s infinite;
}

@keyframes notification-bell-pulse {

  0%,
  to {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(255, 107, 24, .4);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 24, .6);
  }
}

.notification-bell__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
  z-index: 9999;
  animation: notification-bell-slide-down .2s ease;
}

@media (max-width: 768px) {
  .notification-bell__dropdown {
    width: 320px;
    right: -8px;
  }
}

@keyframes notification-bell-slide-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: hsla(0, 0%, 100%, .03);
  border: 1px solid hsla(0, 0%, 100%, .08);
  border-radius: 8px;
  color: #888;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}

.like-button:hover:not(:disabled) {
  background: hsla(0, 0%, 100%, .06);
  border-color: hsla(0, 0%, 100%, .12);
  color: #aaa;
}

.like-button:active:not(:disabled) {
  transform: scale(.95);
}

.like-button.like-button--liked {
  color: #ff6b8a;
  border-color: rgba(255, 107, 138, .3);
  background: rgba(255, 107, 138, .08);
}

.like-button.like-button--liked:hover:not(:disabled) {
  background: rgba(255, 107, 138, .12);
  border-color: rgba(255, 107, 138, .4);
}

.like-button.like-button--liked .like-button__icon {
  animation: likeAnimation .3s ease;
}

.like-button.like-button--loading {
  opacity: .6;
  cursor: not-allowed;
}

.like-button.like-button--loading .like-button__icon {
  animation: pulse 1.5s ease-in-out infinite;
}

.like-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.like-button.like-button--small {
  padding: 4px 8px;
  font-size: 12px;
  gap: 4px;
}

.like-button.like-button--large {
  padding: 8px 16px;
  font-size: 16px;
  gap: 8px;
}

.like-button__icon {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.like-button__count {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  min-width: 16px;
  text-align: left;
}

@keyframes likeAnimation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  to {
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  to {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.news-article-main {
  min-height: 100vh;
  padding: 40px 20px;
}

.news-article-container {
  max-width: 900px;
  margin: 0 auto;
}

.news-article-error-message,
.news-article-loading-message {
  text-align: center;
  padding: 80px 20px;
  font-size: 18px;
  color: var(--text-secondary);
}

.news-article-loading-message {
  color: var(--primary-color);
}

.news-article-error-message {
  color: #ff6b6b;
  background: hsla(0, 100%, 71%, .1);
  border: 1px solid hsla(0, 100%, 71%, .3);
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto;
}

.news-article {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  animation: fadeIn .5s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-article-header {
  margin-bottom: 32px;
}

.news-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.news-article-title {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 24px;
  line-height: 1.2;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid hsla(0, 0%, 100%, .1);
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
}

.news-article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}

.news-article-meta-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.news-article-meta-item:hover {
  color: var(--text-primary);
}

.news-article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.news-article-image-wrapper {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, .1);
}

.news-article-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.news-article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 32px 0;
}

.news-article-content h1,
.news-article-content h2,
.news-article-content h3,
.news-article-content h4,
.news-article-content h5,
.news-article-content h6 {
  margin: 32px 0 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.news-article-content h2 {
  font-size: 32px;
}

.news-article-content h3 {
  font-size: 24px;
}

.news-article-content h4 {
  font-size: 20px;
}

.news-article-content p {
  margin: 16px 0;
}

.news-article-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: opacity .2s;
}

.news-article-content a:hover {
  opacity: .8;
}

.news-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.news-article-content ol,
.news-article-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.news-article-content ol li,
.news-article-content ul li {
  margin: 8px 0;
}

.news-article-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--primary-color);
  background: rgba(255, 140, 50, .1);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.news-article-content code {
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
  font-size: 15px;
}

.news-article-content pre {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
}

.news-article-content pre code {
  background: none;
  padding: 0;
}

.news-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.news-article-content table td,
.news-article-content table th {
  padding: 12px;
  text-align: left;
  border: 1px solid hsla(0, 0%, 100%, .1);
}

.news-article-content table th {
  background: var(--bg-secondary);
  font-weight: 600;
}

.news-article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid hsla(0, 0%, 100%, .1);
}

.news-article-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.news-article-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.news-article-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article-author-avatar svg {
  color: var(--primary-color);
}

.news-article-author-details {
  flex: 1;
}

.news-article-author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.news-article-author-role {
  font-size: 14px;
  color: var(--text-secondary);
}

.news-article-update-info {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .news-article-main {
    padding: 24px 16px;
  }

  .news-article {
    padding: 24px;
  }

  .news-article-title {
    font-size: 32px;
  }

  .news-article-meta {
    gap: 16px;
  }

  .news-article-meta-item {
    font-size: 13px;
  }

  .news-article-content {
    font-size: 16px;
  }

  .news-article-content h2 {
    font-size: 26px;
  }

  .news-article-content h3 {
    font-size: 22px;
  }

  .news-article-content h4 {
    font-size: 18px;
  }

  .news-article-author-avatar {
    width: 50px;
    height: 50px;
  }

  .news-article-author-name {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .news-article {
    padding: 20px;
  }

  .news-article-title {
    font-size: 26px;
  }

  .news-article-meta {
    flex-direction: column;
    gap: 12px;
  }

  .news-article-content {
    font-size: 15px;
  }
}

.comment {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}

.comment.archived .comment__author {
  height: 30px;
  width: 30px;
  padding: 5px;
  margin-top: 5px;
  background-color: var(--surface-high);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment.archived .comment__content {
  color: var(--on-surface-variant);
}

.comment__inner {
  width: 100%;
}

.comment__inner:hover .comment__head .icon-delete,
.comment__inner:hover .comment__side .icon-like {
  opacity: 1;
}

.comment__author-icon-stub {
  color: var(--on-surface-variant);
}

.comment__data {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment__head {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}

.comment__head .icon-delete {
  opacity: 0;
  margin-left: auto;
  color: var(--on-surface-variant);
}

.comment__head .icon-delete:hover,
.comment__username {
  color: var(--on-surface);
}

.comment__username {
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: -5px;
}

.comment__last-update {
  font-size: .75rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  margin-left: auto;
}

.comment__content {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--on-surface);
}

.comment__side {
  display: flex;
  flex-direction: row;
  gap: 15px;
  font-size: .75rem;
  font-weight: 500;
}

.comment__create-at,
.comment__reply-target {
  color: var(--on-surface-variant);
}

.comment__reply-target {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: .8rem;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.comment__reply-target span {
  font-size: .8rem;
  color: var(--primary);
}

.comment__reply-target .icon {
  cursor: pointer;
  color: var(--primary);
}

.comment__reply-target .icon:hover {
  opacity: .9;
}

.comment__reply-btn {
  color: var(--on-surface-variant);
  cursor: pointer;
}

.comment__reply-btn:hover {
  color: var(--on-surface);
  text-decoration: underline;
}

.comment__likes {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 7px;
  margin-left: auto;
  color: var(--on-surface-variant);
}

.comment__likes:has(.active) {
  color: #ff4949;
}

.comment__likes-count {
  font-weight: 600;
}

.comment__likes .icon-like {
  opacity: 0;
  color: var(--on-surface-variant);
}

.comment__likes .icon-like:hover {
  color: var(--on-surface);
}

.comment__likes:has(.comment__likes-count) .icon-like {
  opacity: 1;
}

.comment__show-answers-btn {
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding-bottom: 15px;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--on-surface);
}

.comment__show-answers-btn:hover {
  text-decoration: underline;
}

.comment__answers {
  display: flex;
  flex-direction: column;
}

.comment__reply-form {
  padding-bottom: 15px;
}

.comment__answers {
  transition: all 1s ease-in-out;
}

.comment .comment-form {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background-color: transparent;
}

.comment .comment-form__input-wrapper {
  width: 100%;
}

.comment .comment-form__textarea {
  height: 40px;
  min-height: auto;
}

.comment .comment-form__textarea-count {
  display: none;
}

.comment .comment-form__submit-button {
  padding: 0;
}

@media (max-width: 768px) {
  .comment .comment-form {
    flex-direction: column;
    align-items: flex-end;
  }
}

.comment-reply {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  border-top: 1px solid var(--outline);
  padding: 15px 0;
}

.comment-reply:hover .icon-delete,
.comment-reply:hover .icon-like {
  opacity: 1;
}

.comment-reply__inner {
  width: 100%;
}

.comment-reply__data {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-reply__head {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 0;
}

.comment-reply__head .icon-delete {
  opacity: 0;
  margin-left: auto;
  color: var(--on-surface-variant);
}

.comment-reply__head .icon-delete:hover {
  color: var(--on-surface);
}

.comment-reply__username {
  color: var(--on-surface);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: -5px;
}

.comment-reply__reply-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 500;
}

.comment-reply__reply-info span {
  cursor: pointer;
  color: var(--on-surface-variant);
}

.comment-reply__content {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--on-surface);
}

.comment-reply__side {
  display: flex;
  flex-direction: row;
  gap: 15px;
  font-size: .75rem;
  font-weight: 500;
}

.comment-reply__create-at,
.comment-reply__reply-btn {
  color: var(--on-surface-variant);
}

.comment-reply__reply-btn {
  cursor: pointer;
}

.comment-reply__reply-btn:hover {
  color: var(--on-surface);
  text-decoration: underline;
}

.comment-reply__likes {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  margin-left: auto;
  color: var(--on-surface-variant);
}

.comment-reply__likes:has(.active) {
  color: #ff4949;
}

.comment-reply__likes-count {
  font-weight: 600;
}

.comment-reply__likes .icon-like {
  opacity: 0;
}

.comment-reply__likes .icon-like:hover {
  color: var(--on-surface);
}

.comment-reply__likes:has(.comment-reply__likes-count) .icon-like {
  opacity: 1;
}

.comment-reply .user-avatar-component div {
  font-size: .7rem;
  max-width: 20px;
  max-height: 20px;
}

.icon {
  transition: opacity .3s ease;
}

.comment--highlight:before {
  content: "";
  position: absolute;
  right: -20px;
  left: -20px;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  animation: highlight 1s ease-in-out infinite;
}

@keyframes highlight {
  0% {
    background-color: var(--surface-hover);
  }

  to {
    background-color: transparent;
  }
}

.markdown-viewer {
  color: #e8e8f0;
  font-size: 15px;
  line-height: 1.6;
  word-wrap: break-word;
}

.markdown-viewer h1,
.markdown-viewer h2,
.markdown-viewer h3,
.markdown-viewer h4,
.markdown-viewer h5,
.markdown-viewer h6 {
  color: #50b4ff;
  margin: 1em 0 .5em;
  font-weight: 600;
  line-height: 1.25;
}

.markdown-viewer h1 {
  font-size: 2em;
  font-weight: 700;
}

.markdown-viewer h1,
.markdown-viewer h2 {
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
  padding-bottom: .3em;
}

.markdown-viewer h2 {
  font-size: 1.5em;
}

.markdown-viewer h3 {
  font-size: 1.25em;
}

.markdown-viewer h4 {
  font-size: 1.1em;
}

.markdown-viewer h5,
.markdown-viewer h6 {
  font-size: 1em;
}

.markdown-viewer p {
  margin: .75em 0;
}

.markdown-viewer strong {
  font-weight: 700;
  color: #fff;
}

.markdown-viewer em {
  font-style: italic;
}

.markdown-viewer del {
  text-decoration: line-through;
  opacity: .7;
}

.markdown-viewer code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 140, 50, .1);
  color: #ff8c32;
  font-family: Courier New, Consolas, Monaco, monospace;
  font-size: .9em;
}

.markdown-viewer pre {
  padding: 16px;
  border-radius: 6px;
  background: rgba(10, 10, 18, .8);
  border: 1px solid hsla(0, 0%, 100%, .1);
  overflow-x: auto;
  margin: 1em 0;
}

.markdown-viewer pre code {
  padding: 0;
  background: none;
  color: #4d8;
  font-size: .9em;
  line-height: 1.5;
}

.markdown-viewer ol,
.markdown-viewer ul {
  margin: .75em 0;
  padding-left: 2em;
}

.markdown-viewer ul {
  list-style-type: disc;
}

.markdown-viewer ul ul {
  list-style-type: circle;
}

.markdown-viewer ul ul ul {
  list-style-type: square;
}

.markdown-viewer ol {
  list-style-type: decimal;
}

.markdown-viewer li {
  margin: .25em 0;
}

.markdown-viewer li>p {
  margin: .5em 0;
}

.markdown-viewer blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 4px solid #50b4ff;
  background: rgba(80, 180, 255, .05);
  color: #aaa;
  font-style: italic;
}

.markdown-viewer blockquote p:first-child {
  margin-top: 0;
}

.markdown-viewer blockquote p:last-child {
  margin-bottom: 0;
}

.markdown-viewer a {
  color: #50b4ff;
  text-decoration: underline;
  transition: color .2s;
}

.markdown-viewer a:hover {
  color: #96f;
}

.markdown-viewer img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
  display: block;
}

.markdown-viewer table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  display: block;
  overflow-x: auto;
}

.markdown-viewer table thead {
  background: rgba(80, 180, 255, .1);
}

.markdown-viewer table td,
.markdown-viewer table th {
  border: 1px solid hsla(0, 0%, 100%, .1);
  padding: 8px 12px;
  text-align: left;
}

.markdown-viewer table th {
  color: #50b4ff;
  font-weight: 600;
}

.markdown-viewer table tr:nth-child(2n) {
  background: hsla(0, 0%, 100%, .02);
}

.markdown-viewer hr {
  border: none;
  border-top: 1px solid hsla(0, 0%, 100%, .1);
  margin: 1.5em 0;
}

.markdown-viewer input[type=checkbox] {
  margin-right: .5em;
  cursor: pointer;
}

.markdown-viewer>:first-child {
  margin-top: 0;
}

.markdown-viewer>:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .markdown-viewer {
    font-size: 14px;
  }

  .markdown-viewer h1 {
    font-size: 1.75em;
  }

  .markdown-viewer h2 {
    font-size: 1.4em;
  }

  .markdown-viewer h3 {
    font-size: 1.2em;
  }

  .markdown-viewer pre {
    padding: 12px;
    font-size: .85em;
  }

  .markdown-viewer table {
    font-size: .9em;
  }
}

.user-threads-list {
  width: 100%;
}

.user-threads-list__header {
  margin-bottom: 1.5rem;
}

.user-threads-list__count {
  font-size: .875rem;
  color: #888;
  margin: 0;
}

.user-threads-list__empty,
.user-threads-list__loading {

  padding: 3rem 1rem;
  color: #888;
}

.user-threads-list__empty-title {
  font-size: 1rem;
  color: #e8e8f0;
  margin: 0 0 1rem;
}

.user-threads-list__empty-subtitle {
  font-size: .875rem;
  color: #888;
  margin: 0 0 .5rem;
}

.user-threads-list__empty-hint {
  font-size: .875rem;
  color: #666;
  margin: 0;
}

.user-threads-list__threads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-threads-list__card {
  background: hsla(0, 0%, 100%, .02);
  border: 1px solid hsla(0, 0%, 100%, .08);
  border-radius: .75rem;
  padding: 1.5rem;
  transition: all .2s ease;
}

.user-threads-list__card:hover {
  background: hsla(0, 0%, 100%, .04);
  border-color: hsla(0, 0%, 100%, .12);
}

.user-threads-list__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.user-threads-list__more-button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: .25rem;
  border-radius: .25rem;
  transition: all .2s ease;
}

.user-threads-list__more-button:hover {
  color: #e8e8f0;
  background: hsla(0, 0%, 100%, .05);
}

.user-threads-list__thread-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 1rem;
}

.user-threads-list__thread-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e8e8f0;
  margin: 0 0 .5rem;
  transition: color .2s ease;
}

.user-threads-list__card:hover .user-threads-list__thread-title {
  color: #ff8c32;
}

.user-threads-list__thread-excerpt {
  font-size: .875rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-threads-list__thread-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.user-threads-list__stat {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: #666;
}

.user-threads-list__stat svg {
  flex-shrink: 0;
}

.user-threads-list__stat span {
  color: #888;
}

@media (max-width: 768px) {
  .user-threads-list__card {
    padding: 1rem;
  }

  .user-threads-list__thread-title {
    font-size: 1rem;
  }

  .user-threads-list__thread-stats {
    gap: 1rem;
  }

  .user-threads-list__stat {
    font-size: .75rem;
  }
}

.user-achievements {
  width: 100%;
}

.user-achievements__container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-achievements__header {
  margin-bottom: 1.5rem;
}

.user-achievements__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #e8e8f0;
  margin: 0;
}

.user-achievements__title svg {
  color: #ff8c32;
}

.user-achievements__empty,
.user-achievements__loading {
  text-align: center;
  padding: 3rem 1rem;
  color: #888;
}

.user-achievements__empty svg,
.user-achievements__loading svg {
  margin: 0 auto 1rem;
  color: #666;
}

.user-achievements__empty-title {
  font-size: 1rem;
  color: #e8e8f0;
  margin: 0 0 .5rem;
}

.user-achievements__empty-subtitle {
  font-size: .875rem;
  color: #888;
  margin: 0;
}

.user-achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.user-achievements__card {
  display: flex;
  gap: 1rem;
  background: hsla(0, 0%, 100%, .02);
  border: 1px solid hsla(0, 0%, 100%, .08);
  border-radius: .75rem;
  padding: 1.25rem;
  transition: all .2s ease;
}

.user-achievements__card:hover {
  background: hsla(0, 0%, 100%, .04);
  border-color: hsla(0, 0%, 100%, .12);
  transform: translateY(-2px);
}

.user-achievements__icon {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.user-achievements__icon-placeholder {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  background: linear-gradient(135deg, rgba(255, 140, 50, .1), rgba(255, 107, 24, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-achievements__icon-placeholder svg {
  color: #ff8c32;
}

.user-achievements__info {
  flex: 1;
  min-width: 0;
}

.user-achievements__name {
  font-size: .9375rem;
  font-weight: 600;
  color: #e8e8f0;
  margin: 0 0 .25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-achievements__description {
  font-size: .8125rem;
  color: #888;
  margin: 0 0 .375rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-achievements__progress {
  font-size: .75rem;
  color: #ff8c32;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .user-achievements__grid {
    grid-template-columns: 1fr;
  }

  .user-achievements__card {
    padding: 1rem;
  }
}

.follow-user-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.follow-user-button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.follow-user-button svg {
  flex-shrink: 0;
}

.follow-user-button--small {
  padding: 6px 12px;
  font-size: 14px;
  gap: 6px;
}

.follow-user-button--medium {
  padding: 10px 20px;
  font-size: 16px;
  gap: 8px;
}

.follow-user-button--large {
  padding: 12px 24px;
  font-size: 18px;
  gap: 10px;
}

.follow-user-button--primary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.follow-user-button--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #27ae60, #229954);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-user-button--primary:active:not(:disabled) {
  transform: translateY(0);
}

.follow-user-button--primary.follow-user-button--following {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.follow-user-button--primary.follow-user-button--following:hover:not(:disabled) {
  background: linear-gradient(135deg, #a93226, #922b21);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .4);
}

.follow-user-button--secondary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.follow-user-button--secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, #27ae60, #229954);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-user-button--secondary:active:not(:disabled) {
  transform: translateY(0);
}

.follow-user-button--secondary.follow-user-button--following {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.follow-user-button--secondary.follow-user-button--following:hover:not(:disabled) {
  background: linear-gradient(135deg, #a93226, #922b21);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .4);
}

.follow-user-button--outline {
  background: transparent;
  color: #2ecc71;
  border: 2px solid #2ecc71;
}

.follow-user-button--outline:hover:not(:disabled) {
  background: rgba(46, 204, 113, .1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-user-button--outline:active:not(:disabled) {
  transform: translateY(0);
}

.follow-user-button--outline.follow-user-button--following {
  color: #c0392b;
  border-color: #c0392b;
}

.follow-user-button--outline.follow-user-button--following:hover:not(:disabled) {
  color: #a93226;
  border-color: #a93226;
  background: rgba(192, 57, 43, .1);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .3);
}

.follow-user-button__loading {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  to {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.profile-header {
  margin-bottom: 2rem;
  position: relative;
}

.profile-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-header__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e8e8f0;
  margin: 0;
}

.profile-header__info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.profile-header__avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-header__avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ff8c32;
  transition: all .3s ease;
}

.profile-header__avatar.profile-header__avatar--editable {
	border-color: #ff8c32;
  cursor: pointer;
}

.profile-header__avatar.profile-header__avatar--editable:hover {
  border-color: #ff8c32;
  transform: scale(1.05);
}

.profile-header__avatar.profile-header__avatar--editable:hover .profile-header__avatar-overlay {
  opacity: 1;
}

.profile-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header__avatar-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  user-select: none;
}

.profile-header__avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
  color: #fff;
}

.profile-header__avatar-picker {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  background: var(--bg-secondary);
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  z-index: 100;
  min-width: 320px;
  animation: slideDown .2s ease-out;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-header__loading-avatars,
.profile-header__no-avatars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 8px;
}

.profile-header__loading-avatars p,
.profile-header__no-avatars p {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.profile-header__avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 8px;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.profile-header__avatar-option {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid hsla(0, 0%, 100%, .1);
  transition: all .2s ease;
}

.profile-header__avatar-option:hover {
  border-color: rgba(255, 140, 50, .5);
  transform: scale(1.1);
}

.profile-header__avatar-option.profile-header__avatar-option--selected {
  border-color: #ff8c32;
  box-shadow: 0 0 0 2px rgba(255, 140, 50, .3);
}

.profile-header__avatar-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header__selected-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff8c32;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 140, 50, .5);
}

.profile-header__user-info {
  flex: 1;
}

.profile-header__name-wrapper {
  margin-bottom: .75rem;
}

.profile-header__name-display {
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-header__username {
  font-size: 1.75rem;
  font-weight: 600;
  color: #e8e8f0;
  margin: 0;
}

.profile-header__edit-button {
  background: hsla(0, 0%, 100%, .05);
  border: 1px solid hsla(0, 0%, 100%, .1);
  
  padding: 6px;
  color: #888;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-header__edit-button:hover:not(:disabled) {
  background: hsla(0, 0%, 100%, .08);
  color: #e8e8f0;
  border-color: hsla(0, 0%, 100%, .15);
}

.profile-header__edit-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.profile-header__name-edit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-header__name-input {
  flex: 1;
  padding: 8px 12px;
  background: hsla(0, 0%, 100%, .05);
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 6px;
  color: #e8e8f0;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all .2s ease;
}

.profile-header__name-input:focus {
  outline: none;
  border-color: #ff8c32;
  background: hsla(0, 0%, 100%, .08);
}

.profile-header__name-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.profile-header__icon-button {
  background: hsla(0, 0%, 100%, .05);
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 6px;
  padding: 6px;
  color: #888;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-header__icon-button:hover:not(:disabled) {
  background: hsla(0, 0%, 100%, .08);
  color: #4d8;
  border-color: rgba(68, 221, 136, .3);
}

.profile-header__icon-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.profile-header__icon-button:last-child:hover:not(:disabled) {
  color: #ff3b30;
  border-color: rgba(255, 59, 48, .3);
}

.profile-header__metadata {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.profile-header__meta-item {
  font-size: .875rem;
  color: #888;
  margin: 0;
}

.profile-header__meta-item span {
  color: #e8e8f0;
}

.profile-header__updating-banner {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 140, 50, .1), rgba(255, 107, 24, .1));
  border: 1px solid rgba(255, 140, 50, .3);
  border-radius: 8px;
  color: #ff8c32;
  font-size: 14px;
  animation: slideDown .2s ease-out;
}

.profile-header__spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 768px) {
  .profile-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .profile-header__info {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .profile-header__avatar-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-header__avatar {
    width: 100px;
    height: 100px;
  }

  .profile-header__avatar-placeholder {
    font-size: 2.5rem;
  }

  .profile-header__avatar-picker {
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
  }

  .profile-header__avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-header__user-info {
    width: 100%;
  }

  .profile-header__name-display {
    justify-content: center;
  }

  .profile-header__username {
    font-size: 1.5rem;
  }

  .profile-header__metadata {
    align-items: center;
  }

  .profile-header__updating-banner {
    bottom: -50px;
  }
}

.profile-tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
  margin-bottom: 2rem;
}

.profile-tabs__tab {
  padding: 1rem 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #888;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  white-space: nowrap;
}

.profile-tabs__tab:hover {
  color: #e8e8f0;
}

.profile-tabs__tab.profile-tabs__tab--active {
  color: #ff8c32;
  border-bottom-color: #ff8c32;
}

@media (max-width: 768px) {
  .profile-tabs {
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .profile-tabs::-webkit-scrollbar {
    display: none;
  }

  .profile-tabs__tab {
    font-size: .75rem;
    padding: .75rem 0;
  }
}

.donate-page {
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
}

.donate-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.donate-header {
  text-align: center;

  animation: slideIn .6s ease-out;
}

.donate-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
 
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.donate-icon-wrapper,
.donate-icon-wrapper:before {
  background: var(--gradient-primary);

}

.donate-icon-wrapper:before {
  content: "";
  position: absolute;
  inset: -4px;
  opacity: .3;
  filter: blur(20px);
  animation: pulse 2s ease-in-out infinite;
}

.donate-heart-icon {
  color: #fff;
  animation: float0 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.donate-title {
  font-family: Orbitron, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .donate-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .donate-title {
    font-size: 2rem;
  }
}

.donate-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .donate-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .donate-subtitle {
    font-size: 1rem;
  }
}

.donate-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: var(--spacing-lg);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

@media (max-width: 768px) {
  .donate-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

.donate-benefit-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.donate-benefit-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.donate-benefit-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}

.donate-benefit-card:hover:before {
  transform: scaleX(1);
}

.donate-benefit-card.donate-benefit-card--blue:before {
  background: var(--gradient-water);
}

.donate-benefit-card.donate-benefit-card--blue:hover {
  box-shadow: var(--shadow-blue);
}

.donate-benefit-card.donate-benefit-card--green:before {
  background: var(--gradient-nature);
}

.donate-benefit-card.donate-benefit-card--green:hover {
  box-shadow: var(--shadow-green);
}

.donate-benefit-card.donate-benefit-card--purple:before {
  background: var(--gradient-magic);
}

.donate-benefit-card.donate-benefit-card--purple:hover {
  box-shadow: var(--shadow-purple);
}

.donate-benefit-card.donate-benefit-card--orange:before {
  background: var(--gradient-primary);
}

.donate-benefit-card.donate-benefit-card--orange:hover {
  box-shadow: var(--shadow-orange);
}

.donate-benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 140, 50, .1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  transition: all .3s ease;
}

.donate-benefit-card:hover .donate-benefit-icon {
  background: rgba(255, 140, 50, .2);
  transform: scale(1.1);
}

.donate-benefit-title {
  font-family: Orbitron, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.donate-benefit-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.donate-section {
  margin-bottom: var(--spacing-2xl);
}

.donate-card {
  background: var(--gradient-dark);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-orange);
}

.donate-card a {
  text-decoration: none;
}

.donate-card:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 140, 50, .1) 0, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .donate-card {
    padding: var(--spacing-xl);
  }
}

.donate-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-lg);
  color: #fff;
  animation: float1 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.donate-card-title {
  font-family: Orbitron, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .donate-card-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .donate-card-title {
    font-size: 1.75rem;
  }
}

.donate-card-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .donate-card-text {
    font-size: 1rem;
  }
}

.donate-button {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: 1.125rem;
  padding: var(--spacing-md) var(--spacing-xl);
  position: relative;
  z-index: 1;
  transition: all .3s ease;
  text-decoration: none;
}

.donate-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-orange);
}

@media (max-width: 480px) {
  .donate-button {
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

.donate-note {
  margin-top: var(--spacing-md);
  font-size: .875rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.donate-thanks-section {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.donate-thanks-title {
  font-family: Orbitron, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .donate-thanks-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .donate-thanks-title {
    font-size: 1.5rem;
  }
}

.donate-thanks-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .donate-thanks-text {
    font-size: 1rem;
  }
}

.current-thread {
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .current-thread {
    flex-direction: column-reverse;
  }
}

@media (max-width: 1280px) {
  .current-thread {
    gap: 1rem;
  }
}

.current-thread__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1 70%;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .current-thread__inner {
    gap: 1rem;
  }
}

.current-thread__comments {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  background-color: var(--background);
}

.current-thread__comments .title {
  padding: 1rem var(--padding);
  background-color: var(--surface);
}

.current-thread__comments-list {
  padding: var(--padding);
  background-color: var(--surface);
}

.current-thread__comments-form .comment-form__input-wrapper {
  padding: 0 var(--padding);
}

.thread {
  font-size: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--background);
  overflow: hidden;
}

.thread__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--padding);
  background-color: var(--surface);
}

.thread__badge {
  width: fit-content;
}

.thread__title-input {
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-surface);
  background-color: var(--background);
  border: 2px solid var(--outline);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s ease;
}

.thread__title-input:focus {
  border-color: var(--primary);
}

.thread__title-input::placeholder {
  color: var(--on-surface-variant);
  opacity: .5;
}

.thread__archived-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem var(--padding);
  background-color: rgba(255, 140, 50, .1);
  border-bottom: 1px solid rgba(255, 140, 50, .3);
  color: #ff8c32;
  font-size: .95rem;
  font-weight: 500;
}

.thread__archived-banner svg {
  flex-shrink: 0;
}

.thread__archived-banner span {
  color: var(--on-surface);
}

.thread__content-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: .9rem;
  gap: 2rem;
  align-items: center;
}

.thread__content-stats span {
  color: var(--on-surface-variant);
}

.thread__text {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.thread__thread-stats {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem var(--padding);
  background-color: var(--surface);
}

.thread__thread-stats span,
.thread__update-info {
  color: var(--on-surface-variant);
}

.thread__update-info {
  margin-left: auto;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02rem;
}

.thread__update-info span {
  color: var(--on-surface);
}

.comments__archived-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem var(--padding);
  background-color: rgba(255, 140, 50, .1);
  border-bottom: 1px solid rgba(255, 140, 50, .3);
  color: #ff8c32;
  font-size: .95rem;
  font-weight: 500;
}

.comments__archived-banner svg {
  flex-shrink: 0;
}

.comments__archived-banner span {
  color: var(--on-surface);
}

.aside {
  flex: 1 30%;
  height: fit-content;
  padding: var(--padding);
  border-radius: 10px;
  background-color: var(--surface);
}

.aside__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside__author-info {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.aside__details {
  display: flex;
  flex-direction: column;
}

.aside__author-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--on-surface);
}

.aside__author-name:hover {
  color: var(--primary);
}

.aside__author-role {
  font-size: 1rem;
  color: var(--on-surface-variant);
}

.aside__title {
  text-transform: uppercase;
  margin: 1rem 0 .7rem;
}

.aside__stats,
.aside__title {
  font-size: .9rem;
  color: var(--on-surface-variant);
}

.aside__stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.aside__stats span {
  color: var(--on-surface);
}

.aside__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 1.25rem;
}

.aside__actions-delete-btn {
  border-radius: 8px;
  border: 1px solid var(--outline);
}

.stats-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.stats-item:has(.icon) {
  padding: 7px 10px;
  border-radius: 10px;
}

.stats-item:has(.icon):hover {
  background-color: var(--surface-hover);
  cursor: pointer;
}

.stats-item:has(.active) span {
  color: #ff4949;
}

.threads-page__container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--background);
}

.threads-page__content,
.threads-page__head {
  padding: var(--padding);
  background: var(--surface);
}

.threads-page__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.threads-page__threads {
  gap: 15px;
}

.threads-page__subtitle {
  color: var(--on-surface-variant);
  font-size: 16px;
}

.threads-page__filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.threads-page__categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.threads-page__sort {
  display: flex;
  gap: 5px;
  border: 1px solid var(--outline);
}

.threads-page__sort,
.threads-page__sort-button {
  background: var(--surface-high);
  border-radius: 8px;
}

.threads-page__sort-button {
  padding: 7px 15px;
  border: none;
  color: var(--on-surface);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02rem;
  transition: all .2s;
  white-space: nowrap;
}

.threads-page__sort-button:hover {
  opacity: .9;
}

.threads-page__sort-button--active {
  background: var(--on-surface);
  color: var(--surface);
}

.threads-page__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  color: var(--on-surface-variant);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--surface) 25%, var(--surface-high), var(--surface) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.threads-page__error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  color: var(--error);
  background: rgba(255, 68, 68, .1);
  border-radius: var(--radius-lg);
}

.threads-page__threads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.threads-page__thread-excerpt {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.threads-page__thread-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.threads-page__thread-stats {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.threads-page__thread-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.threads-page__thread-updated {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.threads-page__thread-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.threads-page__thread-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 140, 50, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  overflow: hidden;
}

.threads-page__thread-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.threads-page__thread-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.threads-page__thread-author-name {
  color: var(--on-surface);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.threads-page__thread-time {
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.threads-page__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 10px;
  color: var(--on-surface-variant);
  background-color: var(--surface-high);
}

.threads-page__empty-message {
  color: var(--on-surface-variant);
  font-size: 1rem;
}

.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.auth-modal__content {
  background: var(--bg-card);
  border: 1px solid rgba(var(--primary-rgb), .3);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

.auth-modal__title {
  font-size: 28px;
  font-weight: 700;
  background: var(--on-surface);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 16px;
}

.auth-modal__description {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.auth-modal__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-modal__button-wrapper {
  flex: 1;
  min-width: 150px;
}

.auth-modal__button {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--gradient-primary);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all .2s;
}

.auth-modal__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.auth-modal__button--outline {
  border: 1px solid rgba(var(--primary-rgb), .5);
  background: transparent;
  color: var(--primary-color);
}

.auth-modal__button--outline:hover {
  background: rgba(var(--primary-rgb), .1);
  transform: none;
  box-shadow: none;
}

.auth-modal__cancel-button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}

.auth-modal__cancel-button:hover {
  color: var(--text-secondary);
}

.badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  line-height: 1.4;
}

.badge--official {
  color: var(--primary-color);
  border: 1px solid var(--outline);
}

.badge--guides {
  color: var(--info-color);
}

.badge--guides,
.badge--mods {
  border: 1px solid var(--outline);
}

.badge--mods {
  color: var(--primary-hover);
}

.badge--hot {
  color: var(--error-color);
}

.badge--hot,
.badge--online {
  border: 1px solid var(--outline);
}

.badge--online {
  color: var(--success-color);
}

.badge--custom {
  color: var(--text-primary);
  border: 1px solid var(--outline);
}

.badge--rpg {
  color: #96f;
  background: rgba(153, 102, 255, .15);
  border: 1px solid rgba(153, 102, 255, .3);
}

.badge--survival {
  color: #4d8;
  background: rgba(68, 221, 136, .15);
  border: 1px solid rgba(68, 221, 136, .3);
}

.badge--creative {
  color: #50b4ff;
  background: rgba(80, 180, 255, .15);
  border: 1px solid rgba(80, 180, 255, .3);
}

.badge--pvp {
  color: #ff6b6b;
  background: hsla(0, 100%, 71%, .15);
  border: 1px solid hsla(0, 100%, 71%, .3);
}

.badge--minigames {
  color: #fc0;
  background: rgba(255, 204, 0, .15);
  border: 1px solid rgba(255, 204, 0, .3);
}

.social-links {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  padding: 12px 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-color);
  animation: slideInFromBottom .4s cubic-bezier(.34, 1.56, .64, 1);
}

.social-links__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s ease;
}

.social-links__close:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  border-color: var(--primary-color);
  transform: scale(1.15);
}

.social-links__container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text-primary);
  text-decoration: none;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.social-link:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
}

.social-link:hover:before {
  opacity: 1;
}

.social-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link__icon svg {
  width: 24px;
  height: 24px;
}

.social-links-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  animation: slideInFromCenter .4s cubic-bezier(.34, 1.56, .64, 1);
}

.social-links-toggle:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  transform: scale(1.1) rotate(90deg);
  box-shadow: var(--shadow-coral);
}

@media (min-width: 300px) and (max-width: 1024px) {
  .social-links-toggle {
    display: none;
  }
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slideInFromCenter {
  0% {
    opacity: 0;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .social-links {
    bottom: 16px;
    padding: 10px 20px;
  }

  .social-links__close {
    width: 28px;
    height: 28px;
    top: -6px;
    right: -6px;
  }

  .social-links__close svg {
    width: 14px;
    height: 14px;
  }

  .social-links__container {
    gap: 12px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link__icon svg {
    width: 22px;
    height: 22px;
  }

  .social-links-toggle {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .social-links-toggle svg {
    width: 22px;
    height: 22px;
  }
}

.icon:hover {
  cursor: pointer;
}

.icon.action {
  box-sizing: content-box;
  padding: 8px;
  border-radius: 10px;
  transition: all .2s;
  background: transparent;
  border: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon.action:hover {
  background-color: var(--surface-hover);
  cursor: pointer;
}

.icon.action:hover svg {
  stroke: var(--primary);
}

.icon.liked {
  fill: #ff4949;
  stroke: none;
  animation: likeAnimation .15s ease-in-out;
}

@keyframes likeAnimation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(2);
  }

  to {
    transform: scale(1);
  }
}

.skeleton span {
  background: linear-gradient(135deg, var(--surface) 25%, var(--surface-high), var(--surface) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

.current-thread-skeleton__breadcrumbs {
  display: block;
  width: 600px;
  height: 25px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.current-thread-skeleton__main {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.current-thread-skeleton__content {
  flex: 1 70%;
  height: 500px;
  border-radius: 10px;
}

.current-thread-skeleton__aside {
  flex: 1 30%;
  height: 200px;
  border-radius: 10px;
}

@media (min-width: 300px) {
  .current-thread-skeleton__breadcrumbs {
    width: 60%;
  }

  .current-thread-skeleton__main {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .current-thread-skeleton__aside,
  .current-thread-skeleton__content {
    flex: auto;
  }
}

@media (min-width: 768px) {
  .current-thread-skeleton__breadcrumbs {
    width: 60%;
  }

  .current-thread-skeleton__main {
    flex-direction: column-reverse;
    gap: 15px;
  }

  .current-thread-skeleton__aside,
  .current-thread-skeleton__content {
    flex: auto;
  }
}

@media (min-width: 1024px) {
  .current-thread-skeleton__breadcrumbs {
    width: 60%;
  }

  .current-thread-skeleton__main {
    flex-direction: row;
    gap: 20px;
  }

  .current-thread-skeleton__content {
    flex: 1 70%;
  }

  .current-thread-skeleton__aside {
    flex: 1 30%;
  }
}

@media (min-width: 1280px) {
  .current-thread-skeleton__breadcrumbs {
    width: 60%;
  }

  .current-thread-skeleton__main {
    flex-direction: row;
    gap: 30px;
  }

  .current-thread-skeleton__content {
    flex: 1 70%;
  }

  .current-thread-skeleton__aside {
    flex: 1 30%;
  }
}

.comment-skeleton {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.comment-skeleton__item {
  display: block;
  width: 100%;
  height: 155px;
  border-radius: 10px;
}

.comment-skeleton__item.short {
  display: block;
  height: 125px;
  border-radius: 10px;
  width: 95%;
}

:root {
  --primary-color: #ff8c32;
  --primary-hover: #ff6b18;
  --primary-dark: #e67a4a;
  --primary-rgb: 255, 140, 50;
  --game-orange: #ff8c32;
  --game-blue: #50b4ff;
  --game-purple: #96f;
  --game-green: #4d8;
  --game-yellow: #fc0;
  --game-pink: #ff6b9d;
  --game-cyan: #0df;
  --game-red: #f44;
  --game-diamond: #5cd9ff;
  --game-emerald: #0f8;
  --game-redstone: #f03;
  --game-lapis: #35f;
  --game-gold: #fa0;
  --game-nether: #c33;
  --game-end: #a4f;
  --game-slime: #6f3;
  --game-lava: #f60;
  --game-ice: #aff;
  --text-primary: #fff;
  --text-secondary: #acbcc7;
  --text-tertiary: #8a9ba8;
  --text-muted: #8a9ba8;
  --text-inverse: #2d3142;
  --bg-primary: #191e21;
  --bg-secondary: #14181b;
  --bg-tertiary: #191e21;
  --bg-card: #191e21;
  --bg-hover: #1d2225;
  --bg-overlay: rgba(18, 21, 24, .95);
  --border-color: #22282d;
  --border-hover: #ff8c32;
  --border-focus: var(--primary-color);
  --success-color: #4d8;
  --error-color: #f44;
  --warning-color: #fc0;
  --info-color: #50b4ff;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, .15);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, .5);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.5);
  --shadow-orange: 0 0 20px rgba(255, 140, 50, .4);
  --shadow-blue: 0 0 20px rgba(80, 180, 255, .4);
  --shadow-purple: 0 0 20px rgba(153, 102, 255, .4);
  --shadow-green: 0 0 20px rgba(68, 221, 136, .4);
  --gradient-primary: linear-gradient(135deg, #ff8c32, #ff6b18 50%, #e67a4a);
  --gradient-secondary: linear-gradient(135deg, #50b4ff, #96f);
  --gradient-success: linear-gradient(135deg, #4d8, #0df);
  --gradient-fire: linear-gradient(135deg, #ff8c32, #f44);
  --gradient-magic: linear-gradient(135deg, #96f, #ff6b9d);
  --gradient-water: linear-gradient(135deg, #50b4ff, #0df);
  --gradient-nature: linear-gradient(135deg, #4d8, #fc0);
  --gradient-dark: linear-gradient(135deg, #191e21, #121518);
  --gradient-card: linear-gradient(135deg, #14181b, #191e21);
  --gradient-glass: linear-gradient(135deg, hsla(0, 0%, 100%, .03), hsla(0, 0%, 100%, .01));
  --gradient-diamond: linear-gradient(135deg, #5cd9ff, #35f);
  --gradient-emerald: linear-gradient(135deg, #0f8, #4d8);
  --gradient-gold: linear-gradient(135deg, #fa0, #ff8c32);
  --gradient-lava: linear-gradient(135deg, #f60, #f03);
  --gradient-enchanted: linear-gradient(135deg, #96f, #5cd9ff 50%, #0f8);
  --gradient-rainbow: linear-gradient(135deg, #f03, #ff8c32 20%, #fc0 40%, #4d8 60%, #50b4ff 80%, #96f);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --primary: #ff8c32;
  --on-primary: #fff;
  --surface: #14181b;
  --on-surface: #fff;
  --on-surface-variant: #acbcc7;
  --surface-high: #191e21;
  --surface-hover: #1d2225;
  --outline: #22282d;
  --background: #121518;
  --error: #f44;
  --success: #47d47b;
  --padding: 30px;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::selection {
  background-color: var(--primary);
  color: var(--on-primary);
  text-shadow: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
body,
html {

}

body,
html {
  min-height: 100%;
 
  font-family: var(--font-nunito), "Segoe UI", sans-serif;
  letter-spacing: .02rem;
  background: var(--background);
  color: var(--on-surface);
}

@media (min-width: 300px) {

  body,
  html {
    font-size: 14px;
    --padding: 10px;
  }

  body canvas,
  html canvas {
    display: none;
  }
}

@media (min-width: 768px) {

  body,
  html {
    font-size: 14px;
    --padding: 15px;
  }

  body canvas,
  html canvas {
    display: none;
  }
}

@media (min-width: 1024px) {

  body,
  html {
    font-size: 15px;
    --padding: 20px;
  }

  body canvas,
  html canvas {
    display: block;
  }
}

@media (min-width: 1280px) {

  body,
  html {
    font-size: 16px;
    --padding: 30px;
  }

  body canvas,
  html canvas {
    display: block;
  }
}

footer,
header {
  flex: 0 1 auto;
}

main {
  flex: 1 1 auto;
  z-index: 1;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  
}

@keyframes float0 {

  0%,
  to {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes float1 {

  0%,
  to {
    transform: translateY(0) rotate(15deg);
  }

  50% {
    transform: translateY(-15px) rotate(20deg);
  }
}

@keyframes float2 {

  0%,
  to {
    transform: translateY(0) rotate(30deg);
  }

  50% {
    transform: translateY(-25px) rotate(35deg);
  }
}

@keyframes pulse {

  0%,
  to {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  to {
    box-shadow: var(--shadow-coral);
  }

  50% {
    box-shadow: var(--shadow-glow);
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.server-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-direction: row;
  gap: 16px;
}

@media (max-width: 768px) {
  .server-list__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
}

.server-list__title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .server-list__title {
    font-size: 22px;
  }
}

.server-list__title-bar {
  width: 8px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .server-list__title-bar {
    height: 32px;
  }
}

.server-list__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .server-list__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.server-list__refresh-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 140, 50, .1);
  border: 1px solid rgba(255, 140, 50, .3);
  border-radius: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.server-list__refresh-all:hover:not(:disabled) {
  background: rgba(255, 140, 50, .2);
  border-color: var(--primary-color);
}

.server-list__refresh-all:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.server-list__refresh-all--loading svg {
  animation: spin 1s linear infinite;
}

.server-list__last-update {
  font-size: 13px;
  color: var(--text-secondary);
}

.server-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

@media (max-width: 768px) {
  .server-list__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.server-list__grid--horizontal {
  grid-template-columns: 1fr;
}

.server-list__empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-secondary);
}

.server-list__empty svg {
  margin-bottom: 16px;
  opacity: .5;
}

.server-list__empty p {
  font-size: 16px;
}

.server-list__placeholder {
  background: linear-gradient(135deg, rgba(255, 140, 50, .05), rgba(80, 180, 255, .05));
  border: 2px solid rgba(255, 140, 50, .15);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn .6s ease;
}

.server-list__placeholder:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 50, .1), transparent);
  animation: shimmer 3s infinite;
}

@media (max-width: 768px) {
  .server-list__placeholder {
    padding: 40px 24px;
  }
}

.server-list__placeholder-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, rgba(255, 140, 50, .15), rgba(80, 180, 255, .15));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.server-list__placeholder-icon:after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 24px;
  opacity: .3;
  filter: blur(20px);
  z-index: -1;
}

@media (max-width: 768px) {
  .server-list__placeholder-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
  }
}

.server-list__placeholder-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .server-list__placeholder-title {
    font-size: 24px;
  }
}

.server-list__placeholder-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .server-list__placeholder-description {
    font-size: 14px;
    margin-bottom: 32px;
  }
}

.server-list__placeholder-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .server-list__placeholder-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.server-list__placeholder-feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all .3s;
}

.server-list__placeholder-feature:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .server-list__placeholder-feature {
    flex-direction: row;
    text-align: left;
    padding: 20px;
  }
}

.server-list__placeholder-feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 140, 50, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .server-list__placeholder-feature-icon {
    width: 48px;
    height: 48px;
  }
}

.server-list__placeholder-feature-content {
  flex: 1;
}

.server-list__placeholder-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .server-list__placeholder-feature-title {
    font-size: 15px;
  }
}

.server-list__placeholder-feature-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .server-list__placeholder-feature-text {
    font-size: 12px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  to {
    left: 100%;
  }
}

@keyframes float {

  0%,
  to {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1turn);
  }
}

.server-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  
  padding: 24px;
  position: relative;
  transition: all .3s;
  animation: fadeIn .4s ease;
}

.server-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.server-card--official {
  border-color: rgba(255, 140, 50, .3);
  background: linear-gradient(135deg, rgba(255, 140, 50, .05), rgba(80, 180, 255, .03));
}

.server-card--official:hover {
  border-color: var(--primary-color);
}

.server-card--horizontal .server-card__main {
  display: flex;
  gap: 32px;
}

@media (max-width: 1024px) {
  .server-card--horizontal .server-card__main {
    flex-direction: column;
    gap: 24px;
  }
}

.server-card--horizontal .server-card__main {
  display: grid;
  grid-template-columns: 0.4fr 1.2fr;
  align-items: stretch;
}

.server-card--horizontal .server-card__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.server-card--horizontal .server-card__right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid var(--border-color);
}

/* Распределяем контент в левой колонке */
.server-card--horizontal .server-card__left .server-card__header,
.server-card--horizontal .server-card__left .server-card__description,
.server-card--horizontal .server-card__left .server-card__stats {
  flex-shrink: 0;
}

.server-card--horizontal .server-card__left .server-card__footer {
  margin-top: auto; /* Прижимаем к низу */
  padding-top: 16px; /* Добавляем отступ сверху */
}

@media (max-width: 1024px) {
  .server-card--horizontal .server-card__main {
    grid-template-columns: 1fr;
  }
  
  .server-card--horizontal .server-card__right {
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .server-card--horizontal .server-card__left .server-card__footer {
    margin-top: 0;
    padding-top: 0;
  }
}
.server-card--horizontal .server-card__features-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  .server-card--horizontal .server-card__features-grid {
    grid-template-columns: 1fr;
  }
}

.server-card--horizontal .server-card__stats {
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.server-card__official-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b18);
  border-radius: 0 0 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.server-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.server-card__info {
  flex: 1;
  min-width: 0;
}

.server-card__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.server-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.server-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.server-card__status--online {
  color: #4d8;
}

.server-card__status--offline {
  color: #ff6b6b;
}

.server-card__refresh {
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s;
}

.server-card__refresh:hover:not(:disabled) {
  background: rgba(255, 140, 50, .1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.server-card__refresh:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.server-card__refresh--loading svg {
  animation: spin 1s linear infinite;
}

.server-card__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
}

.server-card__stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.server-card__stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.server-card__stat svg {
  color: var(--primary-color);
}

.server-card__features-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.server-card__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.server-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: hsla(0, 0%, 100%, .02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all .2s;
}

.server-card__feature:hover {
  background: rgba(255, 140, 50, .05);
  border-color: rgba(255, 140, 50, .2);
}

.server-card__feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 140, 50, .1);
  border-radius: 8px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.server-card__feature-content {
  flex: 1;
  min-width: 0;
}

.server-card__feature-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.server-card__feature-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.server-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.server-card__ip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, .3);
  border-radius: 8px;
}

.server-card__ip code {
  font-family: JetBrains Mono, monospace;
  font-size: 14px;
  color: var(--primary-color);
}

.server-card__copy {
  padding: 4px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color .2s;
}

.server-card__copy:hover {
  color: var(--primary-color);
}

.server-card__update-time {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 12px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  background: var(--background);
  border-radius: 10px;
  transition: all .2s ease;
}

.comment-form__input-wrapper {
  position: relative;
  display: flex;
  background-color: var(--surface);
}

.comment-form__textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--outline);
  background-color: var(--surface);
  color: var(--on-surface);
  resize: none;
  overflow: hidden;
  font-family: Nunito-sans, sans-serif;
  font-size: .9rem;
  letter-spacing: .02em;
}

.comment-form__textarea::placeholder {
  font-family: Nunito-sans, sans-serif;
  letter-spacing: .02em;
  color: var(--on-surface-variant);
}

.comment-form__textarea-count {
  position: absolute;
  bottom: 10px;
  right: 45px;
  font-size: .6rem;
  width: fit-content;
  color: var(--on-surface-variant);
}

.comment-form__textarea:focus {
  outline: 1px solid var(--primary);
}

.comment-form__textarea:hover {
  border-color: var(--surface-hover);
}

.comment-form__submit-button {
  padding: var(--padding);
  background-color: var(--surface);
}

.comment-form__submit-button .button {
  margin-left: auto;
}

.comment-form__error {
  padding: 15px 30px 0;
  background-color: var(--surface);
}

.comment-form__auth-prompt {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  color: var(--on-surface);
  font-size: 1rem;
  font-weight: 600;
  padding: 30px;
  background-color: var(--surface-high);
}

.comment-form__auth-prompt svg {
  fill: var(--on-surface);
  stroke: none;
}

.comment-form .userInfo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-form .userInfo .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  overflow: hidden;
}

.comment-form .userInfo .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-form .userInfo .username {
  font-size: 14px;
  font-weight: 500;
  color: #e8e8f0;
}

.shop-page {
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.shop-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  animation: slideIn .6s ease-out;
}

.shop-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.shop-icon {
  width: 120px;
  height: 120px;
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  color: #fff;
  animation: float0 3s ease-in-out infinite;
  box-shadow: var(--shadow-blue);
}

.shop-empty-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 48px;
  height: 48px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid var(--bg-primary);
  animation: pulse 2s ease-in-out infinite;
}

.shop-title {
  font-family: Orbitron, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--primary-color);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .shop-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .shop-title {
    font-size: 2rem;
  }
}

.shop-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .shop-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .shop-subtitle {
    font-size: 1rem;
  }
}

.shop-status-card {
  background: linear-gradient(135deg, rgba(255, 140, 50, .05), rgba(80, 180, 255, .05));
  border: 2px solid rgba(255, 140, 50, .15);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  animation: fadeIn .6s ease;
}

.shop-status-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 50, .1), transparent);
  animation: shimmer 3s infinite;
}

@media (max-width: 768px) {
  .shop-status-card {
    padding: 40px 24px;
  }
}

.shop-status-card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, rgba(255, 140, 50, .15), rgba(80, 180, 255, .15));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.shop-status-card-icon:after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 24px;
  opacity: .3;
  filter: blur(20px);
  z-index: -1;
}

@media (max-width: 768px) {
  .shop-status-card-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
  }
}

.shop-status-card-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .shop-status-card-title {
    font-size: 24px;
  }
}

.shop-status-card-text {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .shop-status-card-text {
    font-size: 14px;
    margin-bottom: 32px;
  }
}

.shop-status-card-footer {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.shop-status-card-footer p {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.shop-section-title {
  font-family: Orbitron, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .shop-section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .shop-section-title {
    font-size: 1.5rem;
  }
}

.shop-unavailable-grid {
  margin-bottom: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.shop-unavailable-grid>div:not(.shop-section-title) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: var(--spacing-lg);
  gap: var(--spacing-lg);
}

@media (max-width: 768px) {
  .shop-unavailable-grid>div:not(.shop-section-title) {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

.shop-unavailable-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.shop-unavailable-card:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  pointer-events: none;
}

.shop-unavailable-card:hover {
  background: var(--bg-tertiary);
  transform: translateY(-4px);
}

.shop-unavailable-card.shop-unavailable-card--blue:before {
  background: radial-gradient(circle, rgba(80, 180, 255, .08) 0, transparent 70%);
}

.shop-unavailable-card.shop-unavailable-card--blue:hover {
  border-color: var(--game-blue);
  box-shadow: var(--shadow-blue);
}

.shop-unavailable-card.shop-unavailable-card--blue:hover:before {
  opacity: 1;
}

.shop-unavailable-card.shop-unavailable-card--blue:hover .shop-unavailable-icon {
  background: var(--gradient-water);
  color: #fff;
}

.shop-unavailable-card.shop-unavailable-card--purple:before {
  background: radial-gradient(circle, rgba(153, 102, 255, .08) 0, transparent 70%);
}

.shop-unavailable-card.shop-unavailable-card--purple:hover {
  border-color: var(--game-purple);
  box-shadow: var(--shadow-purple);
}

.shop-unavailable-card.shop-unavailable-card--purple:hover:before {
  opacity: 1;
}

.shop-unavailable-card.shop-unavailable-card--purple:hover .shop-unavailable-icon {
  background: var(--gradient-magic);
  color: #fff;
}

.shop-unavailable-card.shop-unavailable-card--green:before {
  background: radial-gradient(circle, rgba(68, 221, 136, .08) 0, transparent 70%);
}

.shop-unavailable-card.shop-unavailable-card--green:hover {
  border-color: var(--game-green);
  box-shadow: var(--shadow-green);
}

.shop-unavailable-card.shop-unavailable-card--green:hover:before {
  opacity: 1;
}

.shop-unavailable-card.shop-unavailable-card--green:hover .shop-unavailable-icon {
  background: var(--gradient-success);
  color: #fff;
}

.shop-unavailable-icon {
  width: 80px;
  height: 80px;
  background: hsla(0, 0%, 100%, .1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--text-primary);
  transition: all .3s ease;
}

.shop-unavailable-title {
  font-family: Orbitron, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.shop-unavailable-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.shop-game-offer-section {
  margin-bottom: var(--spacing-2xl);
}

.shop-game-offer-card {
  background: var(--gradient-dark);
  border: 2px solid transparent;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-game-offer-card a {
  text-decoration: none;
}

.shop-game-offer-card:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--gradient-enchanted);
  border-radius: var(--radius-2xl);
  z-index: -1;
}

@media (max-width: 768px) {
  .shop-game-offer-card {
    padding: var(--spacing-xl);
  }
}

.shop-game-offer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.shop-game-offer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-2xl);
  color: #fff;
  animation: float0 3s ease-in-out infinite;
  box-shadow: 1px 0 14px 0 var(--primary-color);
}

.shop-exclusive-badge,
.shop-game-offer-icon {
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.shop-exclusive-badge {
  display: inline-block;
}

.shop-game-offer-title {
  font-family: Orbitron, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .shop-game-offer-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .shop-game-offer-title {
    font-size: 1.75rem;
  }
}

.shop-game-offer-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .shop-game-offer-text {
    font-size: 1rem;
  }
}

.shop-game-offer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: var(--spacing-md);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .shop-game-offer-features {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
}

.shop-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: hsla(0, 0%, 100%, .05);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: .95rem;
}

.shop-feature svg {
  color: var(--game-purple);
  flex-shrink: 0;
}

.shop-game-offer-button {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: 1.125rem;
  padding: var(--spacing-md) var(--spacing-xl);
  position: relative;
  z-index: 1;
  transition: all .3s ease;
}

.shop-game-offer-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(153, 102, 255, .5);
}

@media (max-width: 480px) {
  .shop-game-offer-button {
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

.shop-game-offer-note {
  margin-top: var(--spacing-md);
  font-size: .875rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.shop-footer-note {
 
  padding: var(--spacing-lg);
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  
  backdrop-filter: blur(10px);
}

.shop-footer-note p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.shop-footer-note p strong {
  color: var(--primary-color);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  to {
    left: 100%;
  }
}

@keyframes float {

  0%,
  to {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.reply-tooltip {
  position: relative;
  display: inline-block;
}

.reply-tooltip__trigger {
  cursor: pointer;
  display: inline;
}

.reply-tooltip__trigger:hover {
  text-decoration: underline;
  color: var(--on-surface);
}

.reply-tooltip__pop-up {
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin-bottom: 30px;
  z-index: 1000;
  min-width: 500px;
  max-width: 700px;
  background: var(--surface-high);
  border: 1px solid var(--outline);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  padding: 15px;
}

.reply-tooltip__pop-up:before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: var(--surface-high);
  border-bottom: 1px solid var(--outline);
  border-right: 1px solid var(--outline);
  transform: rotate(45deg);
}

.reply-tooltip__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.reply-tooltip__username {
  font-size: .9rem;
  color: var(--on-surface);
  font-weight: 600;
}

.reply-tooltip__content {
  font-size: .85rem;
  font-weight: 500;
  color: var(--on-surface);
  word-break: break-word;
}

.reply-tooltip__create-at {
  font-size: .7rem;
  color: var(--on-surface-variant);
}

.comments-list__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: var(--padding);
  background-color: var(--surface);
}

.comments-list__inner .comment:not(:last-child):not(.comment-reply) {
  border-bottom: 1px solid var(--outline);
}

.comments-list__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 10px;
  color: var(--on-surface);
  background-color: var(--surface-high);
}

.comments-list__empty-message {
  font-size: 1rem;
}

.follow-thread-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.follow-thread-button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.follow-thread-button svg {
  flex-shrink: 0;
}

.follow-thread-button--small {
  padding: 6px 12px;
  font-size: 14px;
  gap: 6px;
}

.follow-thread-button--medium {
  padding: 10px 20px;
  font-size: 16px;
  gap: 8px;
}

.follow-thread-button--large {
  padding: 12px 24px;
  font-size: 18px;
  gap: 10px;
}

.follow-thread-button--primary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.follow-thread-button--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #27ae60, #229954);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-thread-button--primary:active:not(:disabled) {
  transform: translateY(0);
}

.follow-thread-button--primary.follow-thread-button--following {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.follow-thread-button--primary.follow-thread-button--following:hover:not(:disabled) {
  background: linear-gradient(135deg, #a93226, #922b21);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .4);
}

.follow-thread-button--secondary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.follow-thread-button--secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, #27ae60, #229954);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-thread-button--secondary:active:not(:disabled) {
  transform: translateY(0);
}

.follow-thread-button--secondary.follow-thread-button--following {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.follow-thread-button--secondary.follow-thread-button--following:hover:not(:disabled) {
  background: linear-gradient(135deg, #a93226, #922b21);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .4);
}

.follow-thread-button--outline {
  background: transparent;
  color: #2ecc71;
  border: 2px solid #2ecc71;
}

.follow-thread-button--outline:hover:not(:disabled) {
  background: rgba(46, 204, 113, .1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.follow-thread-button--outline:active:not(:disabled) {
  transform: translateY(0);
}

.follow-thread-button--outline.follow-thread-button--following {
  color: #c0392b;
  border-color: #c0392b;
}

.follow-thread-button--outline.follow-thread-button--following:hover:not(:disabled) {
  color: #a93226;
  border-color: #a93226;
  background: rgba(192, 57, 43, .1);
  box-shadow: 0 4px 12px rgba(192, 57, 43, .3);
}

.follow-thread-button__loading {
  animation: pulse 1.5s ease-in-out infinite;
}

.follow-thread-button--full-width {
  width: 100%;
}

@keyframes pulse {

  0%,
  to {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.toolbar__inner {
  display: flex;
  flex-direction: row;
  row-gap: 10px;
  column-gap: 10px;
  flex-wrap: wrap;
}

.toolbar__item {
  display: flex;
  justify-content: center;
  padding: .5em 1rem;
  background-color: var(--surface-high);
  border: 1px solid var(--outline);
  border-radius: 8px;
  color: var(--on-surface);
  font-size: .9em;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.toolbar__item:hover {
  background-color: var(--surface-hover);
}

.toolbar__item.selected {
  background-color: var(--on-surface);
  color: var(--surface);
  border-color: transparent;
}

.servers-main {
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
}

.servers-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.button {
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  padding: .6rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .2s ease;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  letter-spacing: .02em;
  gap: .5rem;
  min-width: 140px;
  min-height: 40px;
}

.button--primary {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
}

.button--primary:hover:not(:disabled) {
  background-color: #ff9442;
}

.button--primary:active:not(:disabled) {
  background-color: #ff7d17;
}

.button--default {
  background: var(--surface-high);
  color: var(--on-surface);
  border: none;
}

.button--default:hover:not(:disabled) {
  background-color: var(--primary);
}

.button--default:active:not(:disabled) {
  background-color: #ff7d17;
}

.button--secondary {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--outline);
}

.button--secondary:hover:not(:disabled) {
  background-color: var(--surface-high);
}

.button--secondary:active:not(:disabled) {
  opacity: .95;
}

.button--success {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
}

.button--success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.button--success:active:not(:disabled) {
  transform: translateY(0);
}

.button--outline {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.button--outline:hover:not(:disabled) {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  color: var(--primary-color);
}

.button--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
}

.button--ghost:hover:not(:disabled) {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.button--ghost:active:not(:disabled) {
  background: var(--bg-tertiary);
}

.button--danger {
  background: rgba(220, 38, 38, .15);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, .3);
}

.button--danger:hover:not(:disabled) {
  background: rgba(220, 38, 38, .25);
  border-color: rgba(220, 38, 38, .5);
}

.button--danger:active:not(:disabled) {
  background: rgba(220, 38, 38, .35);
}

.button--small {
  padding: .6rem 1.2rem;
  font-size: .8rem;
  min-width: auto;
}

.button--medium {
  padding: .7rem 1.4rem;
  font-size: .9rem;
}

.button--large {
  padding: 14px 28px;
  font-size: 1rem;
}

.button--full-width {
  width: 100%;
}
.button--full-widthzx {
  width: 20%;
}
.button--short {
  min-width: auto;
}

.button--icon-only {
  min-width: auto;
  padding: 10px;
}

.button:disabled {
  opacity: .3;
  pointer-events: none;
  cursor: default;
}

.news-main {
  min-height: 100vh;
  padding: 40px 20px;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s;
}

.news-back-link:hover {
  opacity: .8;
}

.news-header {
  margin-bottom: 48px;
}

.news-title {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 16px;
  background: var(--on-surface);
  -webkit-background-clip: text;
  background-clip: text;
}

.news-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.news-empty-message,
.news-error-message,
.news-loading-message {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: var(--text-secondary);
}

.news-loading-message {
  color: var(--primary-color);
}

.news-error-message {
  color: #ff6b6b;
  background: hsla(0, 100%, 71%, .1);
  border: 1px solid hsla(0, 100%, 71%, .3);
  border-radius: 12px;
}

.thread-card {
  background: var(--surface-high);
  border-radius: 10px;
  padding: 15px 20px;
  transition: all .3s ease;
  text-decoration: none;
}

.thread-card:hover {
  background: var(--surface-hover);
}

.thread-card__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thread-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thread-card__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

.thread-card__author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.thread-card__author-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.thread-card__author-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  object-fit: cover;
}

.thread-card__author-name {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
  color: var(--on-surface);
  white-space: nowrap;
}

.thread-card__author-name:hover {
  color: var(--primary);
}

.thread-card__create-time {
  font-size: .9rem;
  font-weight: 400;
  text-align: end;
  color: var(--on-surface-variant);
}

.thread-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thread-card__content a,
.thread-card__title {
  width: fit-content;
}

.thread-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary);
}

.thread-card__title:hover {
  opacity: .9;
  cursor: pointer;
}

.thread-card__description {
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .02rem;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: normal;
}

.thread-card__description .markdown-viewer {
  font-size: .9rem;
  line-height: 1.5;
}

.thread-card__description .markdown-viewer blockquote,
.thread-card__description .markdown-viewer h1,
.thread-card__description .markdown-viewer h2,
.thread-card__description .markdown-viewer h3,
.thread-card__description .markdown-viewer h4,
.thread-card__description .markdown-viewer h5,
.thread-card__description .markdown-viewer h6,
.thread-card__description .markdown-viewer ol,
.thread-card__description .markdown-viewer p,
.thread-card__description .markdown-viewer ul {
  margin: 0;
  padding: 0;
}

.thread-card__description .markdown-viewer h1,
.thread-card__description .markdown-viewer h2,
.thread-card__description .markdown-viewer h3,
.thread-card__description .markdown-viewer h4,
.thread-card__description .markdown-viewer h5,
.thread-card__description .markdown-viewer h6 {
  font-size: .9rem;
  font-weight: 400;
  color: var(--on-surface);
  border: none;
}

.thread-card__description .markdown-viewer ol,
.thread-card__description .markdown-viewer ul {
  padding-left: 1.2em;
  list-style-position: inside;
}

.thread-card__description .markdown-viewer code {
  font-size: .85rem;
}

.thread-card__description .markdown-viewer a {
  color: inherit;
  text-decoration: none;
}

.thread-card__description .markdown-viewer img,
.thread-card__description .markdown-viewer pre,
.thread-card__description .markdown-viewer table {
  display: none;
}

.thread-card__stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

.thread-card__stats-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 15px;
}

.thread-card__stats-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  min-width: 40px;
}

.thread-card__stats-item .icon {
  cursor: default;
}

.thread-card__stats-item svg {
  color: var(--on-surface-variant);
}

.thread-card__stats-item span {
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--on-surface-variant);
}

.thread-card__stats-updated {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--on-surface);
}

.thread-card__stats-updated span {
  color: var(--on-surface-variant);
}

.excerpt {
  color: #888;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .threadCard {
    padding: 16px;
  }

  .title {
    font-size: 1.1rem;
  }

  .stats {
    gap: 16px;
  }

  .statItem {
    font-size: .85rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .updated {
    margin-left: 0;
  }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  animation: news-card-slide-in .4s ease var(--animation-delay, 0s) both;
}

.news-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.news-card__image {
  width: 100%;
  background: rgba(var(--primary-rgb), .15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.news-card__image-img {
  object-fit: cover;
  border-radius: inherit;
}

.news-card__badge-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.news-card__title {
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__date {
  font-size: 12px;
  color: var(--text-muted);
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.news-card__read-more {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card--home .news-card__image {
  height: 160px;
}

.news-card--home .news-card__title {
  font-size: 18px;
}

.news-card--home .news-card__date {
  margin-top: auto;
}

.news-card--page .news-card__image {
  height: 200px;
  border-radius: 16px;
}

.news-card--page .news-card__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.news-card--page .news-card__excerpt {
  margin-bottom: 16px;
}

@keyframes news-card-slide-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--on-surface);
  width: 100%;
}

.title__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.title__head {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.title__h1 {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  gap: 10px;
}

.title__h1 span {
  color: var(--on-surface-variant);
}

.title__h2 {
  font-size: 1.25rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.title__h2 span {
  color: var(--on-surface-variant);
}

.title__description {
  color: var(--on-surface-variant);
  font-size: 1rem;
  font-weight: 400;
}

.news-section {
  position: relative;
  z-index: 5;
}

@media (max-width: 768px) {
  .news-section {
    padding: 0 16px 48px;
  }
}

.news-section__title {
  font-size: 32px;
  font-weight: 800;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .news-section__title {
    font-size: 24px;
  }
}

.news-section__title-bar {
  width: 8px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .news-section__title-bar {
    height: 32px;
  }
}

.news-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .news-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-section__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.news-section__button-wrapper {
  display: flex;
  justify-content: center;
}

.news-section__link {
  text-decoration: none;
}

.news-section__button-icon {
  margin-right: 8px;
}

.section {
  position: relative;
  z-index: 5;
}

.section .title {
  margin: 24px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 0 16px 48px;
  }
}

.titleBar {
  width: 8px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .titleBar {
    height: 32px;
  }
}

.threadsList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.threadCard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.threadCard:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.threadContent {
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .threadContent {
    flex-direction: column;
    align-items: flex-start;
  }
}

.threadIcon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.threadInfo {
  flex: 1;
  min-width: 0;
}

.threadMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.threadTitle {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .threadTitle {
    font-size: 16px;
    white-space: normal;
  }
}

.threadStats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .threadStats {
    gap: 12px;
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.author {
  font-weight: 600;
  color: var(--text-primary);
}

.pinnedBadge {
  color: gold;
}

.lockedBadge,
.pinnedBadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.lockedBadge {
  color: #888;
}

.buttonWrapper {
  display: flex;
  justify-content: center;
}

.linkButton {
  width: auto;
  padding: 14px 32px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--shadow-coral);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.linkButton:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .linkButton {
    width: 100%;
  }
}

.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
  font-size: 16px;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.threadCard:first-child {
  animation: slideIn .4s ease 0s both;
}

.threadCard:nth-child(2) {
  animation: slideIn .4s ease .1s both;
}

.threadCard:nth-child(3) {
  animation: slideIn .4s ease .2s both;
}

.threadCard:nth-child(4) {
  animation: slideIn .4s ease .3s both;
}

.threadCard:nth-child(5) {
  animation: slideIn .4s ease .4s both;
}

.threadCard:nth-child(6) {
  animation: slideIn .4s ease .5s both;
}

.threadCard:nth-child(7) {
  animation: slideIn .4s ease .6s both;
}

.threadCard:nth-child(8) {
  animation: slideIn .4s ease .7s both;
}

.threadCard:nth-child(9) {
  animation: slideIn .4s ease .8s both;
}

.threadCard:nth-child(10) {
  animation: slideIn .4s ease .9s both;
}

.threadCard:nth-child(11) {
  animation: slideIn .4s ease 1s both;
}

.threadCard:nth-child(12) {
  animation: slideIn .4s ease 1.1s both;
}

.threadCard:nth-child(13) {
  animation: slideIn .4s ease 1.2s both;
}

.threadCard:nth-child(14) {
  animation: slideIn .4s ease 1.3s both;
}

.threadCard:nth-child(15) {
  animation: slideIn .4s ease 1.4s both;
}

.threadCard:nth-child(16) {
  animation: slideIn .4s ease 1.5s both;
}

.threadCard:nth-child(17) {
  animation: slideIn .4s ease 1.6s both;
}

.threadCard:nth-child(18) {
  animation: slideIn .4s ease 1.7s both;
}

.threadCard:nth-child(19) {
  animation: slideIn .4s ease 1.8s both;
}

.threadCard:nth-child(20) {
  animation: slideIn .4s ease 1.9s both;
}

.threadCard:nth-child(21) {
  animation: slideIn .4s ease 2s both;
}

.home-section {
  padding: 0 16px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  gap: 40px;
}

.hero-banner__content {
  flex: 1;
  max-width: 600px;
}

.hero-banner__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero-banner__title-white {
  color: #e8e8f0;
}

.hero-banner__title-orange {
  color: #ff8c32;
}

.hero-banner__description {
  font-size: 1.1rem;
  color: #b0b0b8;
  margin: 0 0 32px;
  line-height: 1.5;
}

.hero-banner__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff8c32;
  color: #0a0a12;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.hero-banner__button:hover {
  background: #ff9d4d;
  transform: translateY(-2px);
}

.hero-banner__image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.hero-banner__image img {
  max-width: 100%;
  height: auto;
}

@keyframes float {

  0%,
  to {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.nav-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.nav-grid__row {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

.nav-grid__row--top {
  grid-template-columns: 1fr 1.3fr 1fr;
}

.nav-grid__row--bottom {
  grid-template-columns: 1fr 1fr;
}

.nav-grid__card {
  background: var(--bg-card);
  border: 1px solid hsla(0, 0%, 100%, .12);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
  position: relative;
}

.nav-grid__card:hover {
  background: hsla(0, 0%, 100%, .04);
  border-color: #ff8c32;
  transform: translateY(-3px);
}

.nav-grid__card--active {
  background: linear-gradient(135deg, #ff9d4d, #ff8c32 50%, #ff7a1a);
  border-color: transparent;
  min-height: 140px;
  box-shadow: 0 8px 32px rgba(255, 140, 50, .3);
}

.nav-grid__card--active:hover {
  background: linear-gradient(135deg, #ffab5c, #ff9d4d 50%, #ff8c32);
  box-shadow: 0 12px 40px rgba(255, 140, 50, .4);
}

.nav-grid__card--active .nav-grid__card-title {
  color: #0a0a12;
  font-size: 1.5rem;
}

.nav-grid__card--active .nav-grid__card-description {
  color: #000;
}

.nav-grid__card--active .nav-grid__card-icon {
  color: #0a0a12;
}

.nav-grid__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-grid__card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #0a0a12;
  opacity: .8;
}

.nav-grid__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0;
}

.nav-grid__card-description {
  font-size: .95rem;
  color: rgba(10, 10, 18, .7);
  margin: 12px 0 0;
  line-height: 1.5;
  max-width: 280px;
}

.social-scroll {
  display: flex;
  justify-content: center;
  padding: 0 20px 60px;
}

.social-scroll__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, rgba(255, 140, 50, .15), rgba(255, 107, 24, .08));
  border: 1px solid rgba(255, 140, 50, .4);
  border-radius: 50px;
  color: #ff8c32;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(255, 140, 50, .15);
}

.social-scroll__button svg {
  animation: bounce 2s infinite;
}

.social-scroll__button:hover {
  background: linear-gradient(135deg, rgba(255, 140, 50, .25), rgba(255, 107, 24, .15));
  border-color: #ff8c32;
  box-shadow: 0 6px 28px rgba(255, 140, 50, .25);
  transform: translateY(-2px);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  to {
    transform: translateY(0);
  }

  40% {
    transform: translateY(5px);
  }

  60% {
    transform: translateY(3px);
  }
}

@media (max-width: 900px) {
  .hero-banner {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px 60px;
  }

  .hero-banner__content {
    max-width: 100%;
  }

  .hero-banner__title {
    font-size: 2.2rem;
  }

  .hero-banner__image {
    max-width: 350px;
  }

  .nav-grid__row--bottom,
  .nav-grid__row--top {
    grid-template-columns: 1fr;
  }

  .nav-grid__card {
    min-height: 80px;
    padding: 24px 20px;
  }

  .nav-grid__card--active {
    min-height: 120px;
  }

  .nav-grid__card-title {
    font-size: 1.1rem;
  }

  .nav-grid__card--active .nav-grid__card-title {
    font-size: 1.3rem;
  }

  .nav-grid__card-description {
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .hero-banner__title {
    font-size: 1.8rem;
  }

  .hero-banner__description {
    font-size: 1rem;
  }
}