html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #8c1eff 0%, #4a148c 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 450px;
    padding: 25px;
    box-sizing: border-box;
}
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background-size: cover;
    background-position: center;
    border: 4px solid rgba(255,255,255,0.4);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
h1 {
    margin-top: 0;
    font-size: 32px;
    letter-spacing: 1px;
    font-family: 'Russo One', sans-serif;
}
.bio {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.block-break-inner {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}
.block-break-inner svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    animation: fadeIn 1s ease-in-out infinite alternate;
}
@keyframes fadeIn {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
.btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.85);
    color: #000;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 40px;
    margin: 12px 0;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all .25s;
    backdrop-filter: blur(6px);
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}
.btn:hover::before {
    left: 120%;
}
.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.btn-text {
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}
.telegram-icon {
    width: 28px;
    height: 28px;
    fill: #000;
    flex-shrink: 0;
}
.copy-icon {
    width: 26px;
    height: 26px;
    fill: #444;
    margin-left: 20px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
}
.copy-icon:hover {
    fill: #000;
    transform: scale(1.2);
}
.tiktok-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: env(safe-area-inset-top, 20px) 20px env(safe-area-inset-bottom, 20px);
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    overflow-y: auto;
}
.tiktok-overlay .overlay-content {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}
.tiktok-overlay button {
    background: #748ffc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
    transition: all .2s;
    width: 100%;
    max-width: 250px;
}
.tiktok-dots {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    animation: none !important;
}
.tiktok-dots circle {
    fill: #fff !important;
}
.tiktok-overlay button:hover {
    background: #5a6ffc;
}
@media (max-width: 480px) {
    h1 { font-size: 28px; }
    .bio, .btn { font-size: 16px; }
    .avatar { width: 120px; height: 120px; }
    .container { padding: 15px; }
    .block-break-inner { margin: 10px 0; }
    .btn { padding: 12px 18px; }
    .copy-icon { margin-left: 16px; }
    .btn-text { font-size: 16px; }
}
.copyright {
    position: relative;
    margin-top: 20px;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 100;
    pointer-events: none;
    text-align: center;
}
.copyright-link {
    pointer-events: auto;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: all 0.28s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
}
.copyright-link:hover,
.copyright-link:focus {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.italic {
  font-style: italic;
}
@media (max-height: 600px) {
    .copyright {
        margin-top: 12px;  /* Уменьшаем отступ сверху для компактности, вместо bottom */
    }
    .copyright-link {
        font-size: 13px;
    }
}

/* Дополнительный медиа-запрос для альбомной ориентации на мобильных */
@media (max-width: 480px) and (orientation: landscape) {
    .copyright {
        margin-top: 10px;  /* Ещё меньше отступа в landscape */
    }
    .copyright-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    .container {
        padding: 10px;  /* Сжимаем padding контейнера для места */
    }

}

