:root {
    --text-color: #ffffff;
    --btn-bg: rgba(255, 255, 255, 0.05); 
    --btn-border: rgba(255, 255, 255, 0.35);
    --btn-hover: rgba(255, 255, 255, 0.15);
    --font-main: 'Gothic A1', sans-serif;
    --frame-bg: rgba(0, 0, 0, 0.4);
}

body {
    background-image: url('https://weedza.online/img/Ai_background.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0; padding: 0;
    display: flex; justify-content: center;
    min-height: 100vh;
}

body::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.65); z-index: -1;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.mobile-frame {
    width: 100%; max-width: 680px; min-height: 100vh;
    background-color: var(--frame-bg);
    border-radius: 40px; margin: 20px 0; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 16px; box-sizing: border-box;
    position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.5); 
}

@media (max-width: 700px) {
    .mobile-frame { border-radius: 0; margin: 0; min-height: 100vh; border: none; }
}

.profile-header { text-align: center; margin-bottom: 24px; padding: 0 20px; width: 100%; box-sizing: border-box; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 16px; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.username { font-size: 22px; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); margin-top: 0; }
.description { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.9); line-height: 1.5; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

.social-icons { display: flex; gap: 16px; margin-bottom: 32px; }
.social-icon { color: var(--text-color); transition: transform 0.2s; display: flex; align-items: center; justify-content: center; }
.social-icon:hover { transform: scale(1.1); }

.links-container { width: 100%; display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; }
.link-wrapper { position: relative; width: 100%; transition: transform 0.2s; }
.link-wrapper:hover { transform: scale(1.02); }

.link-btn {
    background-color: var(--btn-bg); color: var(--text-color); text-decoration: none;
    display: flex; align-items: center; padding: 6px; border-radius: 35px; 
    transition: background-color 0.2s; position: relative; min-height: 60px;
    border: 1px solid transparent;
}
.link-btn:hover { background-color: var(--btn-hover); border-color: rgba(255,255,255,0.2); }

.thumbnail { 
    width: 56px; height: 56px; border-radius: 50%; 
    object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); 
}

.btn-text { flex-grow: 1; text-align: center; font-weight: 600; font-size: 15px; padding: 0 40px; letter-spacing: 0.3px; }

.copy-btn {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: rgba(255, 255, 255, 0.5);
    cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: color 0.2s, background-color 0.2s; z-index: 2;
}
.copy-btn:hover { color: #fff; background-color: rgba(255,255,255,0.1); }

.grid-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 16px;
    width: 100%;
}

.grid-btn {
    justify-content: center; 
}

.grid-btn .btn-text {
    padding: 0; 
}

.footer { margin-top: auto; opacity: 0.5; font-size: 12px; text-align: center; }