:root {
    --bg-main: #080910;
    --panel-bg: #15151a;
    --panel-border: rgba(255,255,255,0.08);
    --text-primary: #f4f2ff;
    --text-secondary: #a6a5b8;
    --accent-purple: #8b5cf6;
    --accent-purple-hover: #7c3aed;
    --hover-bg: rgba(255,255,255,0.06);
    --border-radius: 18px;
    --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: radial-gradient(circle at 80% 0%, rgba(85,46,160,0.14), transparent 32%), var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    justify-content: center;
}
.dashboard { display: grid; grid-template-columns: 280px 1fr 430px; gap: 24px; max-width: 1680px; width: 100%; }
.panel { background-color: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: var(--border-radius); padding: 24px; display: flex; flex-direction: column; }
h1,h2,h3,h4 { color: #fff; font-weight: 700; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { cursor: pointer; font-family: inherit; transition: var(--transition); border: none; background: none; }

.btn-primary,.btn-secondary { background: rgba(255,255,255,0.07); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary { padding: 12px 20px; font-size: 14px; font-weight: 600; }
.btn-secondary { padding: 10px 16px; font-size: 13px; font-weight: 600; }
.btn-primary:hover,.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.full-width { width: 100%; }

.sidebar { justify-content: space-between; }
.profile-section { text-align: left; margin-bottom: 32px; }
.profile-image-container { width: 120px; height: 120px; margin-bottom: 16px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%); padding: 10px; display: flex; align-items: center; justify-content: center; }
.profile-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.name { font-size: 22px; margin-bottom: 4px; }
.title,.contact-info,.bio,.copyright { color: var(--text-secondary); }
.title { font-size: 13px; margin-bottom: 16px; }
.contact-info { font-size: 13px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.bio { font-size: 13px; line-height: 1.6; margin-bottom: 24px; }
.main-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.main-nav li a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; font-size: 14px; color: var(--text-secondary); font-weight: 600; }
.main-nav li a:hover,.main-nav li.active a { background: rgba(124,58,237,0.12); color: var(--accent-purple); }
.sidebar-footer { margin-top: auto; padding-top: 24px; }
.social-links { display: flex; gap: 16px; margin-bottom: 16px; }
.social-links a { color: var(--text-secondary); font-size: 18px; }
.social-links a:hover { color: #fff; }
.copyright { font-size: 11px; }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 24px; }
.iframe-container { background: var(--bg-main); border: 1px solid var(--panel-border); border-radius: 14px; overflow: hidden; display: flex; transition: var(--transition); }
.iframe-container:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.14); box-shadow: 0 12px 24px rgba(0,0,0,0.24); }
.iframe-container iframe { border: none; border-radius: 14px; }
.load-more { width: 100%; padding: 14px; margin-top: auto; }


.playlist-section {
    position: relative;
}

.suno-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 24px 22px 18px;
    border-radius: 24px;
    border: 1px solid rgba(151,128,255,0.18);
    background:
        radial-gradient(circle at 12% 0%, rgba(126,82,255,0.24), transparent 34%),
        radial-gradient(circle at 85% 8%, rgba(126,82,255,0.12), transparent 34%),
        linear-gradient(158deg, rgba(32,31,72,0.86) 0%, rgba(10,12,22,0.98) 58%, rgba(6,8,14,1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 22px 52px rgba(0,0,0,0.34);
}

.suno-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.035), transparent 16%, transparent 84%, rgba(140,115,255,0.035)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px);
    opacity: 0.45;
    pointer-events: none;
}

.suno-header {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.suno-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suno-logo-wrap i {
    font-size: 23px;
    color: #a78bfa;
    text-shadow: 0 0 14px rgba(139,92,246,0.8);
}

.suno-logo-wrap h2 {
    font-size: 19px;
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.suno-link {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 11px;
    background: rgba(255,255,255,0.075);
    color: rgba(255,255,255,0.82);
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(16px);
}

.hero-track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 128px minmax(0,1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 26px;
}

.hero-cover {
    width: 128px;
    height: 128px;
    border-radius: 11px;
    object-fit: cover;
    background: #11121b;
    box-shadow: 0 14px 28px rgba(0,0,0,0.38);
}

.hero-info h3 {
    max-width: 250px;
    font-size: 21px;
    line-height: 1.16;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.hero-info .author {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    margin-bottom: 14px;
}

.profile-link {
    color: #fff;
    font-weight: 700;
}

.hero-info .desc {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.hero-info .meta {
    color: rgba(255,255,255,0.64);
    font-size: 13px;
    font-weight: 600;
}

.player-controls-main {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 8px 0 26px;
}

.player-controls-main button {
    color: rgba(255,255,255,0.76);
    font-size: 16px;
}

.player-controls-main button:hover,
.player-controls-main button.active {
    color: #fff;
    transform: translateY(-1px);
    text-shadow: 0 0 12px rgba(139,92,246,0.5);
}

.player-controls-main .play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #6f4cff, #9a62ff);
    box-shadow: 0 14px 30px rgba(124,58,237,0.42), inset 0 1px 0 rgba(255,255,255,0.24);
}

.player-controls-main .play-btn:hover {
    transform: scale(1.04);
}

.top-divider {
    position: relative;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, #9868ff 0%, rgba(255,255,255,0.08) 36%, rgba(255,255,255,0.035));
    margin: 0 0 18px;
    border-radius: 2px;
}

.track-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 102px;
}

.track {
    display: grid;
    grid-template-columns: 42px 24px minmax(0,1fr) 50px 24px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: var(--transition);
}

.track:hover,
.track.active {
    background: rgba(255,255,255,0.03);
}

.track .track-cover {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    object-fit: cover;
    background: #161724;
    box-shadow: 0 7px 14px rgba(0,0,0,0.25);
}

.track-number {
    color: rgba(255,255,255,0.58);
    font-weight: 600;
    font-size: 12px;
    text-align: right;
}

.track-details {
    min-width: 0;
}

.track-details h4 {
    font-size: 13px;
    line-height: 1.15;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.track-details p {
    font-size: 11px;
    color: rgba(255,255,255,0.52);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track.active .track-details h4 {
    color: #fff;
}

.track .duration {
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.track .more {
    color: rgba(255,255,255,0.50);
    font-size: 14px;
    padding: 5px;
}

.mini-player {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: grid;
    grid-template-columns: 48px minmax(92px,1fr) minmax(94px,1.15fr) 28px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(29,31,45,0.90);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 36px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
}

.mini-player img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-info {
    min-width: 0;
}

.mini-info h4 {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.mini-info p {
    color: rgba(255,255,255,0.58);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-progress-wrap {
    min-width: 0;
}

.mini-times {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.66);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.bar-container {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
}

.bar-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #b197ff);
}

.bar-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 12px rgba(139,92,246,0.6);
}

.mini-icon {
    color: rgba(255,255,255,0.74);
    font-size: 15px;
}

.mini-icon:hover {
    color: #fff;
}

.volume-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-popover {
    position: absolute;
    right: 50%;
    bottom: 34px;
    width: 34px;
    height: 116px;
    padding: 13px 0;
    border-radius: 999px;
    background: rgba(29,31,45,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 34px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}

.volume-control.open .volume-popover,
.volume-control:hover .volume-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(50%, 0);
}

#volume-slider {
    width: 84px;
    height: 4px;
    transform: rotate(-90deg);
    accent-color: #8b5cf6;
    cursor: pointer;
}


@media (max-width: 1200px) {
    .dashboard { grid-template-columns: 250px 1fr; }
    .playlist-section { grid-column: span 2; }
}

@media (max-width: 900px) {
    body { padding: 14px; }
    .dashboard { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .playlist-section { grid-column: span 1; }
    .hero-track { grid-template-columns: 118px 1fr; }
    .hero-cover { width: 118px; height: 118px; }
    .mini-player { grid-template-columns: 48px 1fr 34px; }
    .mini-progress-wrap { display: none; }
}

@media (max-width: 520px) {
    .suno-card { padding: 20px 14px 14px; border-radius: 22px; }
    .suno-header { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-track { grid-template-columns: 1fr; }
    .hero-cover { width: 100%; height: auto; aspect-ratio: 1; }
    .track { grid-template-columns: 40px 22px minmax(0,1fr) 46px; gap: 8px; }
    .track .more { display: none; }
}

.empty-playlist {
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    padding: 18px 4px 120px;
}

/* Kapak görselinden gelen otomatik vurgu rengi */
.suno-card {
    --cover-accent-rgb: 139, 92, 246;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--cover-accent-rgb),0.30), transparent 34%),
        radial-gradient(circle at 85% 8%, rgba(var(--cover-accent-rgb),0.14), transparent 34%),
        linear-gradient(158deg, rgba(32,31,72,0.86) 0%, rgba(10,12,22,0.98) 58%, rgba(6,8,14,1) 100%);
}


.project-card {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #0d0e14;
    border: 1px solid var(--panel-border);
    display: block;
    transition: var(--transition);
    padding: 0;
    text-align: left;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.14); box-shadow: 0 12px 24px rgba(0,0,0,0.24); }
.project-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82); }
.project-card-image { cursor: zoom-in; }
.project-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 46%, rgba(0,0,0,.72)); pointer-events:none; }
.project-card-info { position:absolute; left:18px; right:18px; bottom:18px; z-index:1; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.project-card h3 { font-size: 17px; line-height: 1.1; margin-bottom: 4px; }
.project-card p { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600; }
.project-card .behance-badge { color:#fff; font-size: 20px; font-weight: 800; letter-spacing:-.03em; }
.empty-projects { color: var(--text-secondary); font-size: 13px; }


body.lightbox-open { overflow: hidden; }
.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.project-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,4,9,0.78);
    backdrop-filter: blur(16px);
}
.project-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(980px, 94vw);
    max-height: 92vh;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(18,19,28,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 28px 70px rgba(0,0,0,0.55);
}
.project-lightbox-panel img {
    width: 100%;
    max-height: calc(92vh - 86px);
    object-fit: contain;
    display: block;
    background: #080910;
}
.project-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.46);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}
.project-lightbox-caption h3 { font-size: 17px; margin-bottom: 4px; }
.project-lightbox-caption p { color: var(--text-secondary); font-size: 13px; }
.project-lightbox-caption a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 11px;
    background: rgba(139,92,246,0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
@media (max-width: 640px) {
    .project-lightbox { padding: 14px; }
    .project-lightbox-caption { align-items: flex-start; flex-direction: column; }
}


/* v5: Proje görsellerini kesin olarak Behance kart boyutuna kilitle */
.projects-section,
.projects-grid {
    min-width: 0;
}

.projects-grid > .project-card,
.projects-grid > .iframe-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.projects-grid > .project-card {
    display: block !important;
    overflow: hidden !important;
    contain: layout paint;
}

.project-image-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.projects-grid > .project-card img,
.project-image-frame img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

.projects-grid > img,
.projects-grid > a > img,
.projects-grid > div > img:not(.project-lightbox-panel img) {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 14px;
    overflow: hidden;
}

.project-lightbox-panel img {
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 76vh !important;
    object-fit: contain !important;
}

/* v6 dynamic pages and media */
.page-panel { min-height: 100%; }
.page-copy { color: var(--text-secondary); font-size: 15px; line-height: 1.8; max-width: 760px; }
.pdf-list { display: flex; flex-direction: column; gap: 14px; }
.pdf-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.pdf-card i { font-size: 24px; color: #ff7777; }
.pdf-card span { flex: 1; font-weight: 700; }
.project-lightbox-panel video { width: min(82vw, 1100px); max-height: 78vh; border-radius: 16px; background: #000; display: block; }
.video-play { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(139,92,246,.92); color: #fff; box-shadow: 0 10px 25px rgba(139,92,246,.35); }
@media (max-width: 900px) {
    .volume-popover { right: 0; bottom: 38px; width: 128px; height: 42px; padding: 0 14px; border-radius: 999px; transform: translate(0, 8px); }
    .volume-control.open .volume-popover, .volume-control:hover .volume-popover { transform: translate(0, 0); }
    #volume-slider { width: 96px; height: 4px; transform: none; }
}

/* v7 professional modules */
.featured-project {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: center;
    padding: 22px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: radial-gradient(circle at 15% 0%, rgba(139,92,246,.25), transparent 42%), rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.09);
}
.featured-project span { color: #a78bfa; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured-project h2 { margin: 8px 0 8px; font-size: 26px; letter-spacing: -.04em; }
.featured-project p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.featured-media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: #090a12; border: 1px solid rgba(255,255,255,.08); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-media i { position:absolute; inset:auto 14px 14px auto; width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; background: rgba(139,92,246,.9); color:#fff; }
.filter-pills { display:flex; flex-wrap:wrap; gap:9px; margin:-10px 0 18px; }
.filter-pills button { padding:8px 12px; border-radius:999px; color:var(--text-secondary); background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); font-size:12px; font-weight:700; }
.filter-pills button.active, .filter-pills button:hover { color:#fff; background:rgba(139,92,246,.18); border-color:rgba(139,92,246,.35); }
.blog-list { display:grid; gap:14px; }
.blog-card { padding:18px; border-radius:16px; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.08); }
.blog-card span { color:#a78bfa; font-size:12px; font-weight:700; }
.blog-card h3 { margin:8px 0; font-size:20px; }
.blog-card p, .blog-card details { color:var(--text-secondary); font-size:14px; line-height:1.7; }
.blog-card summary { cursor:pointer; color:#fff; font-weight:700; margin-top:10px; }
.blog-card details div { margin-top:12px; white-space:pre-wrap; }
.project-lightbox-caption p + p { margin-top: 7px; color: rgba(255,255,255,.72); max-width: 720px; line-height: 1.5; }
@media (max-width: 900px) {
    .featured-project { grid-template-columns: 1fr; }
    .featured-media { max-width: 260px; }
}

/* v8: project type filters, featured Behance and blog images */
.featured-embed {
    border-radius: 16px;
    overflow: hidden;
    background: #090a12;
    border: 1px solid rgba(255,255,255,.08);
    min-height: 220px;
}
.featured-embed iframe {
    width: 100%;
    height: 260px;
    display: block;
    border: 0;
}
.blog-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.08);
}
.project-lightbox-embed {
    width: min(1100px, 94vw);
}
.project-lightbox-embed iframe {
    width: 100%;
    height: min(72vh, 680px);
    display: block;
    border: 0;
    background: #0b0c12;
}
.filter-pills button[data-filter="behance"]::before,
.filter-pills button[data-filter="image"]::before,
.filter-pills button[data-filter="video"]::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    opacity: .85;
}
.filter-pills button[data-filter="behance"]::before { content: "\f1b4"; font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.filter-pills button[data-filter="image"]::before { content: "\f03e"; }
.filter-pills button[data-filter="video"]::before { content: "\f03d"; }
@media (max-width: 640px) {
    .project-lightbox-embed iframe { height: 62vh; }
    .blog-card { padding: 14px; }
}


/* v10 skill matrix */
.skill-matrix { margin-top: 28px; }
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.skill-item { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 15px; }
.skill-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 5px; }
.skill-head strong { font-size: 14px; color: #fff; }
.skill-head span { color: #c4b5fd; font-size: 12px; font-weight: 800; }
.skill-item p { margin: 0 0 11px; color: rgba(255,255,255,.55); font-size: 12px; }
.skill-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.10); overflow: hidden; }
.skill-bar i { display:block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #b197ff); box-shadow: 0 0 18px rgba(139,92,246,.45); }
@media(max-width:700px){ .skills-grid { grid-template-columns: 1fr; } }


/* v11: PJAX sayfa geçişi ve çok hafif müzik pulse görselleştirici */
body.is-page-loading .page-panel {
    opacity: .72;
    transform: translateY(3px);
    transition: opacity .16s ease, transform .16s ease;
}

.suno-card {
    --audio-pulse: 0;
}

.suno-card::after {
    content: '';
    position: absolute;
    inset: -18%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 30%, rgba(var(--cover-accent-rgb), calc(0.10 + (var(--audio-pulse) * 0.18))), transparent 34%),
        radial-gradient(circle at 22% 86%, rgba(139,92,246, calc(0.05 + (var(--audio-pulse) * 0.10))), transparent 30%);
    opacity: calc(0.34 + (var(--audio-pulse) * 0.32));
    transform: scale(calc(1 + (var(--audio-pulse) * 0.035)));
    transition: opacity .12s linear, transform .12s linear;
    mix-blend-mode: screen;
}

.suno-card > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .suno-card::after { transform: none; transition: none; }
}

/* v11.2: mini player alignment fix */
.suno-card {
    display: flex;
    flex-direction: column;
}

.track-list {
    flex: 1 1 auto;
    padding-bottom: 18px;
}

.mini-player {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: auto;
    align-self: stretch;
}

@media (max-width: 900px) {
    .mini-player {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 18px;
    }
}

/* v12: sidebar polish and 3-column project grid */
.profile-section {
    text-align: left;
}

.profile-image-container {
    width: 150px;
    height: 150px;
    margin: 10px auto 28px;
    padding: 8px;
    box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.035);
}

.sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.075);
    padding-top: 24px;
    text-align: center;
}

.social-links {
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 0 0 22px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.social-links a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(244,242,255,.72);
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 0 0 16px rgba(139,92,246,.5);
}

.copyright {
    text-align: center;
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.project-card h3 {
    font-size: 14px;
}

.project-card p {
    font-size: 11px;
}

.project-card-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
}

.project-card .behance-badge {
    font-size: 15px;
}

.project-card .video-play {
    width: 36px;
    height: 36px;
}

.projects-section.panel {
    align-self: start;
}

@media (max-width: 1320px) {
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .profile-image-container { width: 138px; height: 138px; }
    .projects-grid { grid-template-columns: 1fr; }
}


.sidebar.panel{
    position:relative;
    overflow:hidden;
}

.sidebar.panel::after{
    content:"";
    position:absolute;

    top:-180px;
    left:50%;

    transform:translateX(-50%);

    width:500px;
    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(139,92,246,.18) 0%,
        rgba(139,92,246,.08) 35%,
        transparent 72%
    );

    pointer-events:none;
}

/* v14.1: Featured + project cards refinement */
.sidebar.panel{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% -14%, rgba(139,92,246,.16), rgba(139,92,246,.055) 28%, transparent 52%),
        var(--panel-bg) !important;
}
.sidebar.panel::before,
.sidebar.panel::after{
    content:"";
    position:absolute;
    pointer-events:none;
    z-index:0;
}
.sidebar.panel::before{
    top:-210px;
    left:50%;
    transform:translateX(-50%);
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(139,92,246,.14) 0%, rgba(139,92,246,.055) 38%, transparent 72%);
}
.sidebar.panel::after{
    display:none !important;
}
.sidebar.panel > *{ position:relative; z-index:1; }
.profile-image-container{
    width:158px !important;
    height:158px !important;
    margin:12px auto 30px !important;
    padding:5px !important;
    background:rgba(255,255,255,.025) !important;
    border:1px solid rgba(255,255,255,.055);
    box-shadow:0 20px 54px rgba(0,0,0,.32), 0 0 60px rgba(139,92,246,.12) !important;
}
.profile-pic{ border:1px solid rgba(255,255,255,.08); }

.featured-project{
    grid-template-columns:minmax(260px, .92fr) minmax(260px, 360px) !important;
    gap:26px !important;
    min-height:260px;
    padding:28px !important;
    align-items:center !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(139,92,246,.22), rgba(139,92,246,.07) 34%, transparent 62%),
        linear-gradient(135deg, rgba(35,32,48,.94), rgba(22,23,31,.96)) !important;
}
.featured-project > div:first-child{
    max-width:520px;
}
.featured-project span{
    display:inline-flex;
    margin-bottom:10px;
}
.featured-project h2{
    font-size:32px !important;
    line-height:1.05;
    margin:0 0 12px !important;
}
.featured-project p{
    max-width:420px;
    font-size:15px !important;
    line-height:1.65 !important;
}
.featured-media,
.featured-embed{
    width:100%;
    aspect-ratio:4 / 3 !important;
    max-height:300px;
    justify-self:end;
    border-radius:16px !important;
}
.featured-media img{ object-fit:cover; object-position:center; }

.projects-section.panel{
    min-height:0 !important;
    height:auto !important;
    align-self:start !important;
    overflow:visible !important;
}
.projects-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
    align-items:start !important;
    margin-bottom:0 !important;
}
.projects-grid > .project-card,
.projects-grid > .iframe-container{
    aspect-ratio:4 / 3 !important;
    height:auto !important;
    min-height:0 !important;
    border-radius:14px !important;
    overflow:hidden !important;
}
.iframe-container{
    display:block !important;
    background:#0d0e14 !important;
}
.iframe-container iframe{
    display:block !important;
    width:100% !important;
    height:100% !important;
    border:0 !important;
}
.project-card{
    border:1px solid rgba(255,255,255,.08) !important;
    background:#0d0e14 !important;
}
.project-card img,
.project-image-frame img{
    object-fit:cover !important;
    object-position:center center !important;
    filter:brightness(.78) !important;
}
.project-card::after{
    z-index:1 !important;
    background:linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.35) 66%, rgba(0,0,0,.86) 100%) !important;
}
.project-card-info{
    left:14px !important;
    right:14px !important;
    bottom:13px !important;
    z-index:3 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:12px !important;
    align-items:end !important;
}
.project-card-info > div{ min-width:0; }
.project-card h3{
    font-size:15px !important;
    line-height:1.12 !important;
    margin:0 0 5px !important;
    color:#fff !important;
    text-shadow:0 2px 12px rgba(0,0,0,.72);
}
.project-card p{
    font-size:12px !important;
    line-height:1.25 !important;
    color:rgba(255,255,255,.82) !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-shadow:0 2px 10px rgba(0,0,0,.72);
}
.project-card .behance-badge{
    font-size:0 !important;
    width:32px;
    height:32px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff !important;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.10);
    backdrop-filter:blur(10px);
    text-shadow:none !important;
}
.project-card .behance-badge::before{
    content:"Bē";
    font-size:15px;
    font-weight:800;
    letter-spacing:-.04em;
}
.project-card .video-play{
    width:40px !important;
    height:40px !important;
}

@media (max-width:1320px){
    .projects-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    .featured-project{ grid-template-columns:1fr 300px !important; }
}
@media (max-width:900px){
    .projects-section.panel{ min-height:0 !important; }
    .featured-project{ grid-template-columns:1fr !important; min-height:0; }
    .featured-media,.featured-embed{ justify-self:stretch; max-height:none; }
    .projects-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:560px){
    .projects-grid{ grid-template-columns:1fr !important; }
    .projects-grid > .project-card,
    .projects-grid > .iframe-container{ aspect-ratio:4 / 3 !important; }
    .featured-project{ padding:20px !important; }
    .featured-project h2{ font-size:25px !important; }
}

/* v15: Öne çıkan proje grid içinde rozetli kart + Behance/Video kart düzeltmeleri */
.featured-project {
    display: none !important;
}

.projects-section.panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(139,92,246,.14), transparent 34%),
        var(--panel-bg);
}

.projects-section.panel > * {
    position: relative;
    z-index: 1;
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
}

.projects-grid > .project-card,
.projects-grid > .iframe-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #0d0e14 !important;
}

.iframe-container.project-filter-item {
    border: 1px solid rgba(255,255,255,.08) !important;
}

.iframe-container.project-filter-item iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

.project-card img,
.project-image-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: brightness(.78) !important;
}

.project-card::after {
    z-index: 1 !important;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.38) 68%, rgba(0,0,0,.86) 100%) !important;
}

.project-card-info {
    position: absolute !important;
    left: 14px !important;
    right: 52px !important;
    bottom: 14px !important;
    z-index: 3 !important;
    display: block !important;
    min-width: 0 !important;
}

.project-card h3 {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    margin: 0 0 5px !important;
    color: #fff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.78) !important;
}

.project-card p {
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: rgba(255,255,255,.82) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.78) !important;
}

.project-card .behance-badge {
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    z-index: 4 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    background: rgba(0,0,0,.34) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    backdrop-filter: blur(12px);
    color: #fff !important;
    text-shadow: none !important;
}

.project-card .behance-badge::before {
    content: "Bē";
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.project-card .video-play {
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;
    z-index: 4 !important;
    width: 40px !important;
    height: 40px !important;
}

.project-card:has(.video-play) .project-card-info {
    right: 64px !important;
}

.featured-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(139,92,246,.88);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(139,92,246,.30);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.project-card.is-featured,
.iframe-container.is-featured {
    border-color: rgba(167,139,250,.46) !important;
    box-shadow: 0 0 0 1px rgba(139,92,246,.12), 0 18px 34px rgba(139,92,246,.16) !important;
}

.iframe-container.is-featured .featured-badge {
    pointer-events: none;
}

.skill-bar i {
    width: 0%;
    transition: width 1.15s cubic-bezier(.22, .7, .25, 1);
}

.skill-matrix.skills-animated .skill-bar i {
    width: var(--skill-width, 0%) !important;
}

@media (max-width: 1320px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}


/* v16: Project filtre ve orta gradient düzeltmesi */
.projects-section.panel {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 34% 0%, rgba(139,92,246,.18), rgba(139,92,246,.07) 25%, transparent 52%),
        linear-gradient(180deg, rgba(22,21,30,.98), rgba(17,17,23,1) 44%),
        var(--panel-bg) !important;
}

.projects-section.panel::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 20%;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.16), rgba(139,92,246,.055) 36%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.projects-section.panel > * {
    position: relative;
    z-index: 1;
}

.project-filter-item.is-filter-hidden,
.project-filter-item[hidden] {
    display: none !important;
}

.project-filter-item {
    transition: opacity .18s ease, transform .18s ease;
}

.filter-pills button {
    user-select: none;
}

@media (max-width: 900px) {
    .projects-section.panel {
        background:
            radial-gradient(circle at 42% 0%, rgba(139,92,246,.16), transparent 48%),
            var(--panel-bg) !important;
    }
    .projects-section.panel::before {
        left: 50%;
        transform: translateX(-50%);
        width: 520px;
        height: 520px;
    }
}

/* v17: Video kart play ikonu ve responsive video lightbox düzeltmesi */
.project-card .project-card-info .video-play,
.projects-grid .project-card .video-play,
.project-card .video-play {
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 7 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, #7c3aed, #a855f7) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(139,92,246,.42) !important;
    pointer-events: none;
}

.project-card .project-card-info .video-play i,
.project-card .video-play i {
    font-size: 14px !important;
    margin-left: 2px;
}

.project-card:has(.video-play) .project-card-info {
    right: 72px !important;
}

.project-lightbox {
    padding: clamp(12px, 2vw, 28px) !important;
}

.project-lightbox-panel.project-video-panel {
    width: auto !important;
    max-width: min(94vw, 1180px) !important;
    max-height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background: rgba(15,16,24,.98) !important;
}

.project-video-shell {
    width: 100%;
    max-height: calc(92vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.project-modal-video,
.project-lightbox-panel.project-video-panel video {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(94vw - 56px) !important;
    max-height: calc(92vh - 116px) !important;
    object-fit: contain !important;
    background: #000 !important;
    border-radius: 0 !important;
}

.project-video-panel[data-orientation="portrait"] {
    max-width: min(520px, 94vw) !important;
}

.project-video-panel[data-orientation="portrait"] .project-modal-video {
    max-width: min(520px, calc(94vw - 28px)) !important;
    max-height: calc(92vh - 116px) !important;
}

.project-video-panel[data-orientation="square"] {
    max-width: min(760px, 94vw) !important;
}

.project-video-panel[data-orientation="landscape"] {
    width: min(1180px, 94vw) !important;
}

.project-video-panel[data-orientation="landscape"] .project-modal-video {
    width: 100% !important;
    max-width: 100% !important;
}

.project-video-panel .project-lightbox-caption {
    flex: 0 0 auto;
    padding: 14px 18px 16px !important;
    background: rgba(16,17,26,.98);
}

.project-video-panel .project-lightbox-close {
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
}

@media (max-width: 640px) {
    .project-card .project-card-info .video-play,
    .projects-grid .project-card .video-play,
    .project-card .video-play {
        right: 12px !important;
        bottom: 12px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .project-card:has(.video-play) .project-card-info {
        right: 60px !important;
    }

    .project-lightbox-panel.project-video-panel {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 94vh !important;
    }

    .project-video-shell {
        max-height: calc(94vh - 92px);
    }

    .project-modal-video,
    .project-lightbox-panel.project-video-panel video {
        max-width: 100% !important;
        max-height: calc(94vh - 116px) !important;
    }
}

/* v20: Video play button final placement + featured ordering visual polish */
.project-card {
    position: relative !important;
}

.project-card .video-play,
.projects-grid .project-card .video-play,
.project-card .project-card-info .video-play {
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 12 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, #7c3aed, #a855f7) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(139,92,246,.48), inset 0 1px 0 rgba(255,255,255,.22) !important;
    pointer-events: none !important;
}

.project-card .video-play i {
    font-size: 15px !important;
    margin-left: 3px !important;
}

.project-card:has(.video-play) .project-card-info {
    right: 78px !important;
}

.project-card.is-featured {
    order: -1;
}

.featured-badge {
    z-index: 14 !important;
}

@media (max-width: 640px) {
    .project-card .video-play,
    .projects-grid .project-card .video-play,
    .project-card .project-card-info .video-play {
        right: 14px !important;
        bottom: 14px !important;
        width: 40px !important;
        height: 40px !important;
    }
    .project-card:has(.video-play) .project-card-info {
        right: 64px !important;
    }
}
