.template-classic-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
    text-align: var(--profile-align, center);
    box-sizing: border-box;
    animation: classicEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes classicEntrance {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes classicFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.classic-banner {
    width: 100%;
    height: clamp(110px, 22vw, 150px);
    border-radius: var(--profile-radius, 16px);
    background-size: cover;
    background-position: center;
    margin-bottom: -50px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.classic-avatar-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.classic-avatar-wrap.avatar-offset {
    margin-top: -50px;
    z-index: 2;
}

.classic-avatar {
    width: clamp(85px, 18vw, 100px);
    height: clamp(85px, 18vw, 100px);
    border-radius: var(--profile-avatar-radius, 9999px);
    border: var(--profile-avatar-border, none);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    display: block;
    background: #111420;
}

.classic-name {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    justify-content: var(--profile-justify, center);
    gap: 0.4rem;
    flex-wrap: wrap;
    width: 100%;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    color: #38bdf8;
    flex-shrink: 0;
}

.classic-handle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.25rem 0 0.85rem 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.classic-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.classic-audio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    max-width: 100%;
    box-sizing: border-box;
}

.classic-audio .audio-toggle-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    background: var(--profile-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.classic-audio .track-name {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classic-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: var(--profile-justify, center);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    width: 100%;
}

.classic-social-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.classic-social-btn:hover {
    background: var(--profile-accent);
    color: #fff;
    transform: scale(1.08);
}

.classic-social-btn svg {
    width: 20px;
    height: 20px;
}

.classic-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.classic-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--profile-radius, 12px);
    color: var(--profile-text, #fff);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    min-height: 52px;
    width: 100%;
    box-sizing: border-box;
    animation: classicFadeUp 0.4s calc(0.18s + var(--link-index, 0) * 0.04s) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.classic-link-btn:hover {
    background: var(--profile-accent);
    border-color: var(--profile-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.classic-link-btn .btn-icon {
    position: absolute;
    left: 1.25rem;
    display: flex;
    align-items: center;
}

.classic-link-btn .btn-icon svg {
    width: 20px;
    height: 20px;
}

.classic-link-btn .btn-title {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    text-align: center;
    padding: 0 1.5rem;
}

.classic-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.branding-watermark {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    text-decoration: none;
}

.report-link-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    min-width: 36px;
    min-height: 36px;
}

.report-link-btn:hover {
    color: #ef4444;
}

@media (max-width: 480px) {
    .classic-link-btn {
        padding: 0.85rem 1rem;
    }
    .classic-link-btn .btn-icon {
        left: 0.85rem;
    }
    .classic-link-btn .btn-title {
        padding: 0 1rem;
    }
}
