/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* --- Glass --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.05); /* transparent white */
    backdrop-filter: blur(12px); /* "frosted glass" */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-bottom: 20px;
}

header {
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #e0f2fe;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

nav a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background: rgba(125, 211, 252, 0.2);
    color: #ffffff;
}

main {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#content {
    flex: 3; /* 3/4 of space */
    display: flex;
    flex-direction: column;
}

article h2 {
    color: #bae6fd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

article ul {
    padding-left: 25px;
    margin-top: 10px;
}

article li {
    margin-bottom: 8px;
}

aside {
    flex: 1; /* 1/4 of space */
    text-align: center;
}

aside h2 {
    margin-bottom: 15px;
    color: #bae6fd;
}

aside h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #7dd3fc;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

footer {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    main {
        flex-direction: column; /* vertical on mobile */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}