:root { 
    --accent: #10b981; 
    --dark: #0f172a; 
    --slate: #64748b; 
    --light: #f8fafc; 
    --white: #ffffff; 
    --border: #e2e8f0; 
    --danger: #ef4444; 
    --bordo: #800000; 
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    background: var(--light); 
    color: var(--dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* HEADER / HERO */
.profile-hero { 
    background: var(--white); 
    border-bottom: 1px solid var(--border); 
    padding: 60px 0; 
    position: relative; 
    background-image: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.03) 0px, transparent 50%);
}

.hero-inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.avatar-wrap { 
    position: relative; 
}

.main-avatar { 
    width: 180px; 
    height: 180px; 
    background: var(--white); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 5px solid var(--white);
    outline: 1px solid var(--border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-avatar:hover { 
    transform: scale(1.02); 
}

.main-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.user-info { 
    flex: 1; 
}

.user-info h1 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    letter-spacing: -1.5px; 
    margin-bottom: 15px; 
    color: var(--dark); 
}

/* YENİ NESİL EĞİTİM KARTLARI (GRID) */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.edu-card {
    background: var(--light);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.edu-card:hover {
    border-color: var(--accent);
    background: var(--white);
    transform: translateY(-2px);
}

.edu-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 4px;
}

.edu-uni {
    display: block;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 2px;
}

.edu-dept {
    display: block;
    font-size: 0.8rem;
    color: var(--slate);
    font-weight: 500;
}

/* BUTONLAR */
.action-btns { 
    display: flex; 
    gap: 12px; 
    margin-top: 30px; 
    flex-wrap: wrap; 
}

.btn { 
    padding: 14px 28px; 
    border-radius: 16px; 
    font-weight: 700; 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px; 
    border: 1px solid var(--border); 
    cursor: pointer; 
}

.btn-primary { 
    background: var(--dark); 
    color: var(--white); 
    border: none; 
}

.btn-primary:hover { 
    background: #1e293b; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15); 
}

.btn-secondary { 
    background: var(--white); 
    color: var(--dark); 
}

.btn-secondary:hover { 
    background: var(--light); 
    border-color: var(--slate); 
}

.btn-remove { 
    background: var(--bordo); 
    color: var(--white); 
    border: none; 
}

.btn-danger-outline { 
    background: #fff1f2; 
    color: var(--danger); 
    border: 1px solid #fecdd3; 
}

.btn-danger-outline:hover { 
    background: #ffe4e6; 
}

/* LAYOUT */
.main-layout { 
    max-width: 1100px; 
    margin: 50px auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: 340px 1fr; 
    gap: 50px; 
}

/* BOXES */
.section-box { 
    background: var(--white); 
    border: 1px solid var(--border); 
    border-radius: 28px; 
    padding: 35px; 
    margin-bottom: 35px; 
    box-shadow: var(--shadow); 
}

.box-label { 
    font-size: 0.8rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--slate); 
    margin-bottom: 30px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.box-label::after { 
    content: ""; 
    flex: 1; 
    height: 1px; 
    background: var(--border); 
}

/* TAGS */
.info-tag-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-bottom: 25px; 
}

.info-tag { 
    background: var(--light); 
    color: var(--dark); 
    padding: 8px 16px; 
    border-radius: 12px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    border: 1px solid var(--border); 
    transition: 0.2s;
}

.info-tag:hover { 
    border-color: var(--accent); 
    background: var(--white); 
}

/* BUDDY GRID */
.buddy-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.buddy-card { 
    text-decoration: none; 
    text-align: center; 
    transition: 0.3s; 
}

.buddy-mini-avatar { 
    width: 75px; 
    height: 75px; 
    background: var(--white); 
    border: 1px solid var(--border); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 12px; 
    overflow: hidden; 
    transition: 0.4s ease;
}

.buddy-mini-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.buddy-card:hover .buddy-mini-avatar { 
    transform: translateY(-5px) rotate(3deg); 
    border-color: var(--accent); 
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.15); 
}

.buddy-name { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--dark); 
    display: block; 
    line-height: 1.3; 
    margin-bottom: 4px; 
}

.buddy-title { 
    font-size: 0.75rem; 
    color: var(--slate); 
    font-weight: 600; 
    display: block; 
}

/* LIST ITEMS */
.list-item { 
    padding: 20px 0; 
    border-bottom: 1px solid var(--light); 
    transition: 0.2s; 
}

.list-item:hover { 
    padding-left: 5px; 
}

.list-item:last-child { 
    border: none; 
}

.list-title { 
    font-weight: 700; 
    font-size: 1.1rem; 
    color: var(--dark); 
    display: block; 
    margin-bottom: 6px; 
    line-height: 1.4; 
}

.list-sub { 
    font-size: 0.9rem; 
    color: var(--slate); 
    font-weight: 500; 
    line-height: 1.6; 
}

.author-link { 
    color: var(--accent); 
    text-decoration: none; 
    font-weight: 700; 
}

.author-link:hover { 
    text-decoration: underline; 
}

/* ACHIEVEMENTS */
.ach-card { 
    background: #f0fdf4; 
    border: 1px solid #dcfce7; 
    padding: 25px; 
    border-radius: 20px; 
    margin-bottom: 20px; 
    position: relative; 
    overflow: hidden;
}

.ach-card::before { 
    content: "🏆"; 
    position: absolute; 
    right: 15px; 
    top: 15px; 
    font-size: 1.5rem; 
    opacity: 0.2; 
}

.ach-card b { 
    color: #166534; 
    display: block; 
    font-size: 1rem; 
    margin-bottom: 8px; 
}

.ach-card p { 
    color: #15803d; 
    font-size: 0.9rem; 
    font-weight: 500; 
}

/* NAV */
nav { 
    background: #f1f5f9; 
    padding: 12px 10%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.logo { 
    color: #0f172a; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 1.4rem; 
}

.logo span { 
    color: #10b981; 
}

.btn-top-back {
    text-decoration: none;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-top-back:hover {
    color: #0f172a;
    background: #e2e8f0;
    transform: translateX(-3px);
}

/* MOBİL ŞOV (RESPONSIVE) */
@media (max-width: 992px) {
    .profile-hero {
        padding: 40px 0;
    }

    .hero-inner { 
        flex-direction: column; 
        text-align: center; 
        gap: 25px; 
    }

    .main-avatar {
        width: 140px;
        height: 140px;
    }

    .user-info h1 { 
        font-size: 1.8rem; 
        letter-spacing: -1px;
    }

    .edu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .main-layout { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin-top: 20px;
    }

    .action-btns { 
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    aside { order: 2; }
    main { order: 1; }

    .section-box { 
        padding: 20px; 
        border-radius: 20px;
        margin-bottom: 20px;
    }

    nav {
        padding: 12px 5%;
    }

    .buddy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .buddy-mini-avatar {
        width: 60px;
        height: 60px;
    }

    .buddy-name {
        font-size: 0.75rem;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main > div { 
    animation: fadeInUp 0.6s ease forwards; 
}