@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/JTUSjIg69CK48gW7PXoo9WdhyyTh89ZNpQ.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: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/JTUSjIg69CK48gW7PXoo9WlhyyTh89Y.woff2") format("woff2");
  unicode-range: U+0000-00FF, 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: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.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: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2") format("woff2");
  unicode-range: U+0000-00FF, 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;
}

:root {
  --bg: #05040d;
  --panel: #12081f;
  --modal-panel: #161a22;
  --border: #2c2241;
  --accent: #c61c74;
  --accent-bright: #ff4ea5;
  --text: #fff;
  --muted: #ccc;
  --quiet: #999;
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(198, 28, 116, .13), transparent 30%),
    linear-gradient(315deg, rgba(32, 255, 66, .07), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .62), transparent 78%);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  width: min(100%, 1366px);
  margin: 0 auto;
  padding: 48px;
}

.profile-section {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 78, 165, .16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
    rgba(5, 4, 13, .62);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .32);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

.profile-photo-wrap {
  text-align: center;
}

.profile-photo {
  width: min(250px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
}

.profile-photo::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 78, 165, .38);
  border-radius: 50%;
  opacity: .86;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(179, 48, 187, .9), 0 18px 40px rgba(0, 0, 0, .42);
}

.online-status {
  width: 35px;
  height: 35px;
  background: #20ff42;
  border: 3px solid #111;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  bottom: 35px;
  box-shadow: 0 0 0 5px rgba(32, 255, 66, .12), 0 0 22px rgba(32, 255, 66, .8);
}

.creator-name {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  color: var(--text);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(35px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: .9;
  text-shadow: 0 8px 32px rgba(198, 28, 116, .35);
}

.creator-name-text {
  display: inline-block;
}

.creator-badges {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.creator-badges img {
  width: clamp(35px, 5vw, 65px);
}

.profile-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.stat-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 78, 165, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.stat-item img {
  width: 40px;
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.stat-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.action-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 35px;
  background:
    linear-gradient(135deg, rgba(255, 78, 165, .18), transparent 50%),
    var(--panel);
  border: 2px solid var(--accent);
  border-radius: 18px;
  box-shadow: 0 0 8px rgba(255, 47, 146, .4), 0 16px 34px rgba(0, 0, 0, .32);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.side-card:hover,
.side-card:focus-visible {
  background:
    linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-color: var(--accent-bright);
  box-shadow: 0 0 22px rgba(255, 78, 165, .55), 0 20px 42px rgba(0, 0, 0, .38);
  transform: translateY(-2px);
}

.side-card:focus-visible,
.gallery-link:focus-visible,
.gallery-item:focus-visible,
.modal-close:focus-visible,
.join-button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.side-card-main {
  display: flex;
  gap: 20px;
  align-items: center;
}

.side-card-icon,
.side-card-arrow {
  width: 40px;
  flex: 0 0 auto;
}

.side-card-arrow {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}

.side-card-text {
  display: grid;
  gap: 5px;
}

.side-card-title {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

.side-card-description {
  color: var(--quiet);
  font-size: 14px;
}

.side-card:hover .side-card-description,
.side-card:focus-visible .side-card-description {
  color: var(--text);
}

.gallery-section {
  width: min(66.666%, 864px);
  margin-top: 48px;
  padding: 18px;
  border: 1px solid rgba(255, 78, 165, .13);
  border-radius: 18px;
  background: rgba(5, 4, 13, .42);
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.gallery-header h2 {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 300;
}

.pink-dot {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  background: var(--accent-bright);
  border-radius: 50%;
}

.separator-dot {
  width: 5px;
  height: 5px;
  margin: 0 9px;
  background: var(--accent-bright);
  border-radius: 50%;
}

.gallery-header h2 span:last-child,
.gallery-link {
  color: var(--accent-bright);
  font-size: 12px;
}

.gallery-link {
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid rgba(255, 78, 165, .24);
  border-radius: 999px;
}

.gallery-link:hover {
  color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 78, 165, .18);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(255, 78, 165, .7);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36), 0 0 18px rgba(255, 78, 165, .18);
  transform: translateY(-3px);
}

.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.gallery-item:hover > img,
.gallery-item:focus-visible > img {
  transform: scale(1.035);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 47, 146, .5);
}

.gallery-overlay.empty {
  background: transparent;
  border: 0;
}

.gallery-overlay img {
  width: 80px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: rgba(5, 4, 13, .76);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  width: min(100%, 1366px);
  margin: 0 auto;
  padding: 24px 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #6c757d;
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  margin-right: 24px;
}

.footer-logo img {
  width: 160px;
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  margin: 0;
  text-align: right;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(15px);
}

body.modal-open .site-shell,
body.modal-open .site-footer {
  filter: blur(20px);
  pointer-events: none;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  background:
    linear-gradient(135deg, rgba(255, 78, 165, .09), transparent 48%),
    var(--modal-panel);
  border: 1px solid rgba(255, 78, 165, .22);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .82), 0 0 24px rgba(255, 78, 165, .18);
  color: #e8eaf0;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #e8eaf0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  color: var(--modal-panel);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.modal-body {
  padding: 28px 24px 24px;
}

.modal-body h2 {
  margin: 0 0 16px;
  color: #ff4d6d;
  font-family: "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.modal-lead {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.modal-steps {
  margin: 0 0 16px;
  color: #8a90a3;
  font-size: 14px;
  line-height: 1.6;
}

.modal-image-link {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  background: #2a2f3d;
  border-radius: 8px;
}

.modal-image-link img {
  width: 100%;
}

.join-button {
  display: block;
  width: 100%;
  padding: 10px;
  background: #000;
  border: 1px solid #333;
  border-radius: 999px;
  color: #ff4d6d;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.join-button:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .site-shell {
    padding: 20px 10px;
  }

  .profile-section {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .profile-layout {
    padding: 0;
  }

  .profile-grid {
    grid-template-columns: 1fr 2fr;
    gap: 20px;
  }

  .creator-name {
    align-items: center;
    gap: 8px;
    font-size: 34px;
    letter-spacing: 0;
  }

  .creator-name-text {
    min-width: 50%;
  }

  .creator-badges {
    gap: 4px;
  }

  .creator-badges img {
    width: 30px;
  }

  .profile-subtitle {
    display: none;
  }

  .stats-grid {
    gap: 10px;
    margin-top: 20px;
  }

  .stat-item {
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .stat-item img {
    width: 26px;
  }

  .stat-item strong {
    font-size: 16px;
    line-height: 1;
  }

  .stat-item span {
    margin: 0;
    color: var(--text);
    font-size: 11px;
    line-height: 1.1;
  }

  .online-status {
    width: 25px;
    height: 25px;
    right: 3px;
    bottom: 11px;
  }

  .action-panel {
    gap: 0;
    margin-top: 5px;
  }

  .side-card {
    width: min(350px, 100%);
    margin: 25px auto 0;
    padding: 15px;
    border-radius: 16px;
  }

  .side-card-main {
    gap: 20px;
  }

  .side-card-icon,
  .side-card-arrow {
    width: 30px;
  }

  .side-card-title {
    font-size: 15px;
    font-weight: 500;
  }

  .side-card-description {
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .mobile-hidden {
    display: none;
  }

  .gallery-section {
    margin-top: 48px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .gallery-header h2 {
    font-size: 16px;
  }

  .gallery-header h2 span:last-child,
  .gallery-link {
    font-size: 10px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .gallery-item {
    height: 140px;
    border-radius: 7px;
  }

  .gallery-overlay img {
    width: 50px;
  }

  .site-footer {
    margin-top: 10px;
  }

  .footer-inner {
    padding: 24px 10px;
    font-size: 7px;
  }

  .footer-logo {
    display: none;
  }

  .footer-links {
    gap: 5px;
  }
}

@media (max-width: 460px) {
  .gallery-header {
    gap: 8px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .footer-inner {
    gap: 8px;
  }
}
