body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    /* Modern dark gradient */
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    box-sizing: border-box;
}

.container {
    background-color: rgba(30, 30, 30, 0.85);
    /* Semi-transparent dark background */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    padding: 30px 40px;
    border-radius: 15px;
    /* Slightly more rounded */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    /* Enhanced shadow for depth */
    max-width: 750px;
    width: 100%;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle light border */
}

h1 {
    color: #ffffff;
    /* White for main heading */
    font-size: 2.8em;
    /* Slightly larger */
    margin-bottom: 15px;
    font-weight: 600;
    /* Modern font weight */
}

h2 {
    color: #bb86fc;
    /* A vibrant accent color (purple) */
    font-size: 1.8em;
    margin-top: 30px;
    /* Space above section titles */
    margin-bottom: 15px;
    border-bottom: 2px solid #333;
    /* Subtle separator */
    padding-bottom: 10px;
}

h3 {
    color: #e0e0e0;
    /* Light gray for sub-headings */
    font-size: 1.4em;
    margin-bottom: 10px;
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #b0b0b0;
    /* Softer light gray for paragraphs */
}

.links {
    text-align: center;
    /* Center the buttons */
}

.links a {
    display: inline-block;
    /* New gradient background */
    background: linear-gradient(135deg, #3b82f6 0%, #03dac6 100%);
    color: #ffffff;
    /* White text for contrast */
    padding: 12px 28px;
    margin: 10px 5px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    /* Updated transition to include background */
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    /* Remove border if any */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
}

.links a:hover {
    /* Darker gradient on hover */
    background: linear-gradient(135deg, #2a70d3 0%, #02b0a4 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    /* Lift and slightly scale */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow on hover */
}

.instructions {
    margin-top: 30px;
    text-align: left;
    padding: 20px;
    background-color: #2a2a2a;
    /* Darker box background */
    border-left: 4px solid #bb86fc;
    /* Accent color border */
    border-radius: 8px;
}

.instructions h2 {
    color: #bb86fc;
    font-size: 1.5em;
    margin-top: 0;
    border-bottom: none;
    /* Remove double border */
    padding-bottom: 0;
}

.instructions p,
.instructions ol li {
    font-size: 1em;
    color: #c0c0c0;
}

.footer-note {
    margin-top: 40px;
    /* More space before footer */
    font-size: 0.9em;
    color: #777;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 4px solid #bb86fc;
    /* Accent color border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-section {
    margin-top: 30px;
    text-align: left;
}

.project-box {
    background-color: #2a2a2a;
    /* Darker box background */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #03dac6;
    /* Another accent color (teal) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-box h3 {
    color: #03dac6;
    /* Teal for these headings */
}

.contact-section {
    margin-top: 30px;
    padding: 25px;
    background-color: #2a2a2a;
    border-radius: 8px;
    text-align: center;
    /* Center the content */
}

.contact-section h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.skill-tag {
    background-color: #333333;
    /* Darker tags */
    color: #bb86fc;
    /* Accent color text */
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.skill-tag:hover {
    background-color: #bb86fc;
    color: #1e1e1e;
}

.server-down-container {
    text-align: center;
}

.hidden {
    display: none;
}

.linkedin-button {
    display: inline-block;
    background-color: #0077B5;
    /* Official LinkedIn blue - keep for brand recognition */
    color: white;
    padding: 12px 25px;
    margin: 15px auto;
    /* Center button if it's the only element */
    border-radius: 25px;
    /* Pill shape */
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
}

.linkedin-button:hover,
.linkedin-button:focus {
    background-color: #005582;
    /* Darker LinkedIn blue */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .links a,
    .linkedin-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .skills {
        gap: 8px;
    }

    .skill-tag {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}