* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --twitter-blue: #1DA1F2;
    --twitter-dark-blue: #1991DA;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F9FA;
    --text-primary: #14171A;
    --text-secondary: #657786;
    --border-color: #E1E8ED;
    --hover-bg: #F7F9FA;
}
[data-theme="dark"] {
    --bg-primary: #15202B;
    --bg-secondary: #192734;
    --text-primary: #FFFFFF;
    --text-secondary: #8899A6;
    --border-color: #38444d;
    --hover-bg: #1C2732;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.profile-container {
    width: 100%;
    max-width: 600px;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: background-color 0.3s ease;
}
.header-banner {
    width: 100%;
    height: 200px;
    background-image: url('assets/header.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 16px 16px 0 0;
}
.profile-content {
    padding: 0 16px 20px;
    position: relative;
}
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.profile-picture-wrapper {
    margin-top: -67px;
    position: relative;
    z-index: 5;
}
.profile-picture {
    width: 134px;
    height: 134px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    background-image: url('assets/profile.webp');
    background-size: cover;
    background-position: center;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}
.profile-picture:hover {
    opacity: 0.9;
}
.profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}
.theme-toggle:hover {
    background: var(--hover-bg);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.contact-button {
    padding: 0 16px;
    height: 36px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    background: var(--text-primary);
    color: var(--bg-primary);
}
.contact-button:hover {
    background: var(--text-secondary);
}
.contact-button.contacting {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.contact-button.contacting:hover {
    background: rgba(244, 33, 46, 0.1);
    border-color: rgba(244, 33, 46, 1);
    color: #F4212E;
}
.profile-info {
    margin-top: 4px;
}
.profile-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 24px;
    transition: color 0.3s ease;
}
.profile-username {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.profile-bio {
    font-size: 15px;
    line-height: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.music-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}
.music-section:hover {
    background: var(--hover-bg);
}
.tweet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.tweet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.tweet-info {
    flex: 1;
    min-width: 0;
}
.tweet-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 20px;
}
.tweet-username {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 20px;
}
.tweet-content {
    font-size: 15px;
    line-height: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.tweet-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}
.tweet-meta svg {
    width: 16px;
    height: 16px;
}
.copyright-footer {
    text-align: center;
    padding: 20px 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}
.copyright-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 20px;
}
.copyright-text a {
    color: var(--twitter-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}
.copyright-text a:hover {
    text-decoration: underline;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    transition: background-color 0.3s ease;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 20px;
}
.modal-close:hover {
    background: var(--hover-bg);
}
.matrix-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    margin-bottom: 16px;
}
.matrix-link:hover {
    border-color: var(--twitter-blue);
    background: var(--hover-bg);
}
.matrix-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.matrix-text {
    flex: 1;
}
.matrix-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
    font-weight: 600;
}
.matrix-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px !important;
}
.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--twitter-blue);
    background: var(--bg-primary);
}
.form-input::placeholder {
    color: var(--text-secondary);
}
.submit-button {
    padding: 12px 24px;
    border-radius: 20px;
    border: none;
    background: var(--twitter-blue);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.submit-button:hover {
    background: var(--twitter-dark-blue);
}
.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.success-message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid var(--twitter-blue);
    color: var(--twitter-blue);
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
}
.success-message.show {
    display: block;
    animation: slideUp 0.3s ease;
}
@media (max-width: 600px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    .profile-container {
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }
    .header-banner {
        height: 200px;
        border-radius: 0;
    }
    .profile-picture-wrapper {
        margin-top: -67px;
    }
    .profile-picture {
        width: 134px;
        height: 134px;
    }
}
@media (max-width: 400px) {
    .header-banner {
        height: 150px;
    }
    .profile-picture-wrapper {
        margin-top: -50px;
    }
    .profile-picture {
        width: 100px;
        height: 100px;
        font-size: 40px;
        border-width: 3px;
    }
}