/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #333;
}

h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 10px;
}

/* Section Styles */
.section {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #444;
}

/* Button Styles */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #1e1e1e;
}

.button i {
    margin-right: 10px;
    font-size: 18px;
}

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

/* Specific Button Styles */
.github {
    background-color: #24292e;
}

.leetcode {
    background-color: #f89f1b;
    color: #000;
}

.misskey {
    background-color: #86b300;
}

.email {
    background-color: #d14836;
}

.golang {
    background-color: #00ADD8;
}

.rust {
    background-color: #DEA584;
    color: #000;
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
    margin-bottom: 30px;
}

.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

input[type="text"] {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
}

.send-btn {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: #8e44ad;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #9b59b6;
}

/* Footer Styles */
footer {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .button {
        max-width: 100%;
    }
}
