* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at center, #1e1e24 0%, #0d0d11 100%);
    color: #e0e0e0;
    min-height: 100vh;
    margin: 0;
    padding: 40px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Containers */
.profile-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.content-card {
    width: 100%;
    max-width: 650px;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    align-self: flex-start;
}

/* Profile Elements */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.04);
    border-color: rgba(100, 181, 246, 0.5);
}

/* Typography & Links */
h1 { 
    margin: 0 0 24px 0;
    font-size: 1.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.content-card h1 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 2rem;
}

h2 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-top: 28px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}

h3 {
    font-size: 1.1rem;
    color: #90caf9;
    margin-top: 20px;
    margin-bottom: 8px;
}

a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #90caf9;
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: none;
}

/* Index List Items */
.contact-list {
    list-style-type: none; 
    padding: 0; 
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item a { 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.98rem;
    transition: all 0.25s ease;
}

.contact-item i {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    margin-right: 12px;
    color: #90a4ae;
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-item strong {
    color: #ffffff;
    font-weight: 500;
    margin-right: 6px;
}

.contact-item .link-value {
    color: #64b5f6;
    font-size: 0.95rem;
    margin-left: auto;
}

.contact-item a:hover { 
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(100, 181, 246, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.contact-item a:hover i {
    color: #64b5f6;
    transform: scale(1.1);
}

.contact-item a:hover .link-value {
    color: #90caf9;
}

/* General Lists */
ul.content-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 0 20px 0;
}

ul.content-list li {
    margin-bottom: 8px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.photo-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.photo-grid img:hover {
    transform: scale(1.03);
    border-color: rgba(100, 181, 246, 0.5);
}
