* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    /* filter: blur(15px);
    pointer-events: none;
    user-select: none;
    transition: all 0.3s ease; */

    overflow-x: hidden;
    font-family: "JetBrains Mono", "Space Mono", monospace;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    /* width: 100vw;
    height: 100vh; */
    color: #fff;
    background-color: #000;
    gap: 0px;
}

.mobile-version {
    display: none;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    body:not(.bgCircle):not(.particle) {
        /* position: fixed; */
        overflow-x: hidden; /* запрет горизонтального скролла */
        overflow-y: scroll;
        transform: scale(0.5);
        transform-origin: top left;
        width: 200%;
        max-height: 100vh;
        scrollbar-width: none; /* Для Firefox */
        -ms-overflow-style: none; /* Для IE и Edge */
    }
    body::-webkit-scrollbar {
        display: none;
    }
    .boomgif {
        transform: scale(4);
    }
    .splash {
        display: none;
    }
    .rainbow-splash {
        display: none;
    }
    .bgCircle {
        animation: none !important;
        -webkit-animation: none !important;
        transition: none !important;
        transform: none !important;
        display: none !important;
    }
    .particle {
        position: fixed;
    }
    .mobile-version {
        display: inherit;
    }
    .backgroundGradient {
        display: none;
    }
}

/* body.loaded {
    filter: none;
    pointer-events: auto;
    user-select: auto;
} */

@keyframes load {
    0% {
        filter: brightness();
    }
    100% {
        filter: blur(0);
    }
}

.code {
    border-radius: 5px;
    padding: 5px;
    background-color: #1e1e1e;
}

.codecomment { color: #bcbcbc80 }

.bgCircle {
    border-radius: 100%;
    position: absolute;
    user-select: none;
    top: -50%;
    left: -50%;
}

.bgCircle4 {
    animation-timing-function: ease-in-out;
    animation-duration: 7s;
    animation-name:  bg-circle-anim-4;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background: #8fe00d85;
}

@keyframes bg-circle-anim-4 {
    from {
        left: 33.8%;
        top: 28.0%;
        width: 50vh;
        height: 50vh;
    }

    50% {
        left: 17.8%;
        top: 50.0%;
        width: 30vh;
        height: 30vh;

    }

    to {
        left: 35.6%;
        top: 32.8%;
        width: 43.8vh;
        height: 43.8vh;
    }
}

.bgCircle3 {
    animation-timing-function: ease-in-out;
    animation-duration: 4s;
    animation-name:  bg-circle-anim-3;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background: #008c56c7;
}

@keyframes bg-circle-anim-3 {
    from {
        left: 40%;
        top: 39.1%;
        width: 30vh;
        height: 30vh;
    }

    50% {
        left: 13.7%;
        top: 13%;
        width: 48.4vh;
        height: 50.4vh;
    }

    to {
        left: 33.7%;
        top: 23%;
        width: 48.4vh;
        height: 50.4vh;
    }
}

.bgCircle2 {
    animation-timing-function: ease-in-out;
    animation-duration: 7s;
    animation-name:  bg-circle-anim-2;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background: #004706;
}

@keyframes bg-circle-anim-2 {
    from {
        left: 14.5%;
        top: -15.5%;
        width: 75vh;
        height: 75vh;
    }

    50% {
        left: 34.3%;
        top: -10.4%;
        width: 70vh;
        height: 70vh;
    }

    to {
        left: 24.3%;
        top: 10.4%;
        width: 76vh;
        height: 76vh;
        background: #00284775;
    }
}

.bgCircle1 {
    animation-timing-function: ease-in-out;
    animation-duration: 7s;
    animation-name:  bg-circle-anim-1;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background: #76ff6d69;
}

@keyframes bg-circle-anim-1 {
    from {
        left: 42.9%;
        top: 26.0%;
        width: 70vh;
        height: 70vh;
    }

    50% {
        left: 42.9%;
        top: 26.0%;
        width: 70vh;
        height: 70vh;
    }

    to {
        left: 20.4%;
        top: 8.0%;
        width: 90vh;
        height: 90vh;
    }
}

.bgCircle5 {
    animation-timing-function: ease-in-out;
    animation-duration: 7s;
    animation-name:  bg-circle-anim-5;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background: #ffffff00;
    border: 15px solid #00ff37;
    border-radius: 50%;
}

@keyframes bg-circle-anim-5 {
    from {
        left: 25%;
        top: 25.0%;
        width: 200vh;
        height: 200vh;
    }

    50% {
        left: 32%;
        top: 46.0%;
        width: 150vh;
        height: 150vh;
    }

    to {
        left: 25%;
        top: 20.0%;
        width: 230vh;
        height: 230vh;
    }
}

.modal h1 {
    text-align: center;
    text-shadow: #ffffff80 0 0 25px;
}
.modal h2 {
    text-align: center;
    text-shadow: #ffffff80 0 0 50px;
}
.modal p {
    text-shadow: #ffffff80 0 0 25px;
}

h1 {
    font-size: 47px;
    color: #dcdcdc;
    z-index: -5;
}

h2 {
    font-size: 30px;
    color: #dcdcdc;
}

p {
    font-size: 19px;
    color: #dcdcdc;
}

.backgroundGradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: radial-gradient(#00593e, #000);
    filter: blur(100px);
    overflow: hidden;
}

.modal {
    width: fit-content;
    max-width: 600px;
    height: max-content;
    z-index: 1;
    border: 1.6px solid #ffffff7f;
    background: #ffffff24;
    backdrop-filter: blur(10px);
    padding: 21px 26px;
    border-radius: 35px;
    padding-top: 8px;
    margin-top: 50px;
    box-shadow: 0px 0px 5px 1px #ffffff inset;
    box-sizing: border-box;
    transition: all 0.2s ease;
    /* transform-style: preserve-3d;
    perspective: 1000px; */
}

.modal-code {
    max-width: 1200px;
}

.modal:hover {
    transform: scale(1.02);
}

.navbar {
    top: 10px;
    width: max-content;
    height: max-content;
    z-index: 1;
    border: 0.6px solid #ffffff7f;
    background: #ffffff24;
    backdrop-filter: blur(10px);
    padding: 21px 26px;
    border-radius: 35px;
    padding-top: 8px;
    padding-bottom: 15px;
    transition: all 0.3s;
    box-shadow: 0px 0px 5px #ffffff;
}

.navbar:hover {
    transform: scale(1.1);
}

.navbtn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 7.5px 15px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.3s;
}

.navbtn:hover {
    color: #000000;
    background: #fff;
    padding: 7.5px 15px;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

.navbtne {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 7.5px 15px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.3s;
}

.navbtne:hover {
    color: #000000;
    background: #fff;
    padding: 7.5px 15px;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    filter: invert();
    cursor: pointer;
}

.dash {
    text-decoration: double underline;
}

.dash:hover {
    cursor: pointer;
}

.contact-icon {
    height: 30px;
    vertical-align: middle;
    margin-right: 5px;
}

.vnizu {
    position: fixed;
    text-align: center;
    bottom: 15px;
    width: 100%;
    font-size: 14px;
}

.pashalko {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.pashalko:hover {
    font-size: 30px;
}

.tgpshlk {
    color: inherit;
    text-decoration: underline;
    transition: all 0.3s;
}

.tgpshlk:hover {
    font-size: 23px;
}

.gifs {
    image-rendering: pixelated;
    margin-top: 50px;
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.gifs img {
    z-index: 1;
    transition: all 0.3s;
}

.gifs img:hover {
    transform: scale(1.5);
    z-index: 2;
}

.current {
    color: #000;
    background: #ddd;
    border: 2px solid #ddd;
    transition: all 0.3s;
}

.knopki {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 7.5px 15px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.3s;
    width: 100%;
}

.knopki:hover {
    color: #000000;
    background: #fff;
    padding: 7.5px 15px;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

.webrbtn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 7.5px 15px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 360px;
    transition: all 0.3s;
    font-size: 20px;
}

.webrbtn:hover {
    color: #000000;
    background: #fff;
    padding: 7.5px 15px;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

.webr {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    z-index: 1;
    border: 1.6px solid #ffffff7f;
    background: #ffffff24;
    backdrop-filter: blur(10px);
    padding: 21px 26px;
    border-radius: 35px;
    padding: 10px;
    margin-top: 50px;
    box-shadow: 0px 0px 5px 1px #ffffff inset;
    transition: all 0.2s ease;
}

.hl {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hld {
    color: inherit;
    cursor: pointer;
}

.na_glavnuyu {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font-size: 30px;
    font-weight: 1000;
}

.cntct {
    color: #f1e454;
    text-shadow: #f1e454 0 0 25px;
}

.togglebtn {
    position: absolute;
    top: 0;
    right: 0;
}

.cvc {
    user-select: none;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    box-shadow: #ffffff80 0 0 25px;
    display: block;
    margin: 10px auto;
    object-position: center;
    object-fit: cover;
    transition: cubic-bezier(.12,1.03,.79,1.54);
    transition-duration: 0.5s;
}

.avatar {
    user-select: none;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    box-shadow: #ffffff80 0 0 25px;
    display: block;
    margin: 10px auto;
    object-position: center;
    object-fit: cover;
    transition: cubic-bezier(.12,1.03,.79,1.54);
    transition-duration: 0.5s;
}

.avatar:active {
    transform: scale(1.5);
}

#meowmeow {
    user-select: none;
    width: 150px;
    height: 150px;
    box-shadow: #ffffff80 0 0 25px;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    object-position: center;
    object-fit: cover;
    image-rendering: optimizeQuality;
    transition: all 0.1s ease;
}

#meowmeow:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#meowmeow:active {
    transform: scale(1.5);
}

.splash {
    pointer-events: none;
    text-shadow: #000 2px 2px 0px;
    color: #f5e432;
    font-size: 30px;
    top: 10px;
    z-index: 10000;
    animation: splash 2s infinite;
    transform: translate(0, 0);
    position: absolute;
    top: 10%;
    left: 50vw;
}

@keyframes splash {
    0%, 100% { transform: translateX(200px) rotate(-16deg) scale(1); }
    50% { transform: translateX(200px) rotate(-16deg) scale(1.5); }
}

.rainbow-splash {
    pointer-events: none;
    text-shadow: #000 2px 2px 0px, #ff0000 0 0 10px;
    color: #ff0000;
    font-size: 30px;
    top: 10px;
    z-index: 10000;
    animation: splash 2s infinite, rainbow-flow 2s linear infinite;
    transform: translate(100px, 50px);
    position: absolute;
    top: 100px;
    left: 800px;
}

@keyframes rainbow-flow {
    0% {
        text-shadow: #000 2px 2px 0px, #ff0000 0 0 10px;
        color: #ff0000;
    }
    17% {
        text-shadow: #000 2px 2px 0px, #eeff00 0 0 10px;
        color: #eeff00
    }
    33% {
        text-shadow: #000 2px 2px 0px, #00ff00 0 0 10px;
        color: #00ff00
    }
    50% {
        text-shadow: #000 2px 2px 0px, #00ffff 0 0 10px;
        color: #00ffff
    }
    67% {
        text-shadow: #000 2px 2px 0px, #0000ff 0 0 10px;
        color: #0000ff;
    }
    83% {
        text-shadow: #000 2px 2px 0px, #ff00ff 0 0 10px;
        color: #ff00ff;
    }
    100% {
        text-shadow: #000 2px 2px 0px, #ff0000 0 0 10px;
        color: #ff0000;
    }
}

.loadanim {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.particle {
    position: fixed;
    pointer-events: none;
    font-size: 24px;
    will-change: transform, opacity;
    user-select: none;
    z-index: 1000;
    transition: all 0.3s;
}

.boomgif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 99999;
}

.hiddengif {
    display: none;
}

.last-update {
    font-style: italic;
}

.guide-picture {
    transition: all 0.3s ease;
    image-rendering: pixelated;
    width: 100%;
    height: auto;
}

.guide-picture:hover {
    transform: scale(1.2);
}

.dcl-what-text {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background-color: #000;
    padding: 3px;
    border-radius: 5px;
    z-index: 10000;
    top: 10px;
    left: 500px;
    width: 50%;
    position: absolute;
}

.dcl-what-qm {
    font-size: 25px;
}

.dcl-what-qm:hover {
    cursor: pointer;
}

.dcl-what-qm:hover .dcl-what-text {
    visibility: visible;
    opacity: 1;
}

#fdbkBtn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 3px 7.5px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.3s;
}

#fdbkBtn:hover {
    color: #000000;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

.text-input {
    font-family: "JetBrains Mono", monospace;
    color: #000;
    background: #fff;
    padding: 3px 7.5px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: all 0.1s ease;
    width: 100%;
    text-align: center;
}

#goida-btn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 3px 7.5px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

#goida-btn:hover {
    color: #000000;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

#goida-res {
    text-align: center;
}

#goida-res:hover {
    cursor: pointer;
}

.popup {
    visibility: hidden;
    opacity: 0;
    min-width: 120px;
    background: #323232;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: fixed;
    margin-top: 10px;
    z-index: 1000;
    font-size: 16px;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

.copy-btn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 3px 7.5px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    width: fit-content;
    text-align: center;
    transition: all 0.3s;
}

.copy-btn:hover {
    color: #000000;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

#dc-idinput {
    width: 100%;
    text-align: center;
}

#dc-btn {
    font-family: "JetBrains Mono", monospace;
    color: #fff;
    background: #00000000;
    padding: 3px 7.5px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

#dc-btn:hover {
    color: #000000;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px #fff;
    cursor: pointer;
}

#dc-user {
    border-radius: 20px;
    background-color: #333;
    padding: 10px;
    text-align: center;
}

#dc-avatar {
    user-select: none;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    box-shadow: #ffffff80 0 0 25px;
    display: block;
    margin: 10px auto;
    object-position: center;
    object-fit: cover;
    transition: cubic-bezier(.12,1.03,.79,1.54);
    transition-duration: 0.5s;
}

#dc-avatar:active {
    transform: scale(1.5);
}

#dc-id {
    width: 100%;
    text-align: center;
    color: #999;
}

.dc-particle {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
}

#dc-date {
    color: #bbb;
    font-size: 15px;
    text-align: center;
}

#dc-name {
    display: inline-block;
}

#dc-bot {
    display: inline-block;
    font-weight: 1000;
    background-color: #5765f2;
    padding: 4px 8px;
    border-radius: 4px;
}

#dc-status {
    padding: 10px;
    text-align: center;
}

#russian-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  filter: brightness(0.7);
  transition: opacity 0.7s ease;
}

#russian-bg.visible {
  opacity: 1;
}

.russian-ee:hover {
    cursor: pointer;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 40px auto;
  margin-top: 10px;
}

.about-card {
  display: flex;
  align-items: center;
  background: #191a22;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0003;
  padding: 16px 24px;
  min-width: 0;
  transition: box-shadow 0.2s;
  height: 72px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 12px -1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 10px 12px -1px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 10px 12px -1px rgba(0,0,0,0.5);
    cursor: pointer;
}

.about-icon {
  width: 44px;
  height: 44px;
  margin-right: 16px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-nick {
  font-size: 1.1em;
  color: #fff;
  font-family: 'JetBrains Mono', 'Space Mono', monospace;
  white-space: nowrap;    /* одна строка */
  overflow: visible;      /* показывать весь текст */
  text-overflow: unset;   /* не обрезать */
  flex: 1 1 auto;
  min-width: 0;
}

.bday-container {
    border-radius: 20px;
    border: 2px solid #fef4007f;
    padding: 10px;
    margin-top: 50px;
    z-index: 1000;
    box-shadow: 0px 0px 5px 1px #fef400;
    background: #fef40024;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    text-align: center;
}

.bday-container:hover {
    transform: scale(1.04);
}

#bday-local, #bday-msk {
    font-size: 25px;
    font-weight: 500;
}

.small {
    font-size: 15px;
}