:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-1: #ff0000;
    --accent-2: #00ff00;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.profile-container {
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-1);
    transition: all 0.3s ease;
}

h1 {
    margin: 1rem 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

#user-bio {
    margin: 0.5rem 0 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-link {
    display: block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.profile-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.aesthetic-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    border-radius: 15px;
}

.color-box {
    position: absolute;
    opacity: 0.1;
}

#color-box-1 {
    width: 100px;
    height: 100px;
    background-color: var(--accent-1);
    top: -20px;
    left: -20px;
    border-radius: 20px;
    transform: rotate(45deg);
}

#color-box-2 {
    width: 150px;
    height: 150px;
    background-color: var(--accent-2);
    bottom: -30px;
    right: -30px;
    border-radius: 30px;
    transform: rotate(-15deg);
}

.shape {
    position: absolute;
    opacity: 0.05;
}

#shape-1 {
    width: 200px;
    height: 200px;
    border: 10px solid var(--accent-1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 50px;
}

.edit-button {
    background-color: var(--accent-1);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.edit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.edit-content {
    max-width: 600px;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

#save-changes {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

.error-message {
    color: #f44336;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.link-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.link-item input {
    flex: 1;
}

.small-button {
    padding: 0.5rem 1rem;
    background-color: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-link {
    background-color: #f44336;
    color: white;
}
