:root {
    --bg: #000000;
    --panel: #0b0b0b;
    --card: #0e0e0e;
    --text: #ffffff;
    --muted: #b8b8b8;
    --border: #1c1c1c;
    --bar-track: #1a1a1a;
    --accent: #ffffff;
    --accent-contrast: #000000;
    --vip-bg1: #0b0b0b;
    --vip-bg2: #111827;
    --vip-font: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--vip-font, 'Space Grotesk', sans-serif);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
    padding: 54px 14px 80px;
    display: grid;
    gap: 22px;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
    z-index: 0;
    opacity: 1;
    filter: none;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-color, #000000);
    opacity: var(--overlay-opacity, 0);
    z-index: 0;
    pointer-events: none;
}

.page.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.page > * {
    animation: rise 0.7s ease both;
}

.page > *:nth-child(1) { animation-delay: 0.05s; }
.page > *:nth-child(2) { animation-delay: 0.15s; }
.page > *:nth-child(3) { animation-delay: 0.25s; }
.page > *:nth-child(4) { animation-delay: 0.35s; }
.page > *:nth-child(5) { animation-delay: 0.45s; }

.profile-hero {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 18px;
    align-items: center;
    background: rgba(12, 12, 12, 0.72);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
}

.profile-photo {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid var(--border);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.profile-info h1 {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-name {
    font-weight: 700;
}

.vip-name {
    color: #fcd34d;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.vip-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111827;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.icon-check {
    flex: 0 0 auto;
}

.icon-vip {
    flex: 0 0 auto;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.badge-icon img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.12);
}

.badge-icon::after {
    content: attr(data-badge);
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(15, 15, 15, 0.95);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.badge-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 15, 15, 0.95) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.badge-icon:hover::after,
.badge-icon:focus::after,
.badge-icon.show::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.badge-icon:hover::before,
.badge-icon:focus::before,
.badge-icon.show::before {
    opacity: 1;
}

.snow-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
}

.title {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 520px;
    font-size: 0.94rem;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--accent-contrast);
    border: 1px solid var(--accent);
}

.btn.ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.section-head {
    text-align: center;
}

.section-head.left {
    text-align: left;
}

.section-head h2 {
    margin: 0 0 6px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.skills-section {
    display: grid;
    gap: 14px;
}

.skills-list {
    display: grid;
    gap: 12px;
}

.skill-item {
    background: rgba(14, 14, 14, 0.65);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
}

.skill-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.skill-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.icon-badge {
    flex: 0 0 auto;
}

.icon-custom svg {
    width: 28px;
    height: 28px;
    display: block;
}

.icon-image img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.skill-value {
    color: var(--muted);
    font-size: 0.9rem;
}

.progress {
    height: 6px;
    border-radius: 999px;
    background: var(--bar-track);
    overflow: hidden;
    margin-top: 10px;
}

.progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.6s ease;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--card);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack {
    display: grid;
    gap: 16px;
}

.stack-item {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #0a0a0a;
}

.stack-title {
    font-weight: 600;
}

.stack-sub {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.project {
    display: grid;
    gap: 14px;
}

.project-cover {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #050505;
}

.project-cover img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    background: #050505;
}

.project-shot {
    background: #050505;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: grid;
    gap: 10px;
    padding-bottom: 12px;
}

.project-shot img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-shot p {
    margin: 0 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

.project-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.project-main {
    display: grid;
    gap: 20px;
}

.project-side {
    position: sticky;
    top: 24px;
}

.project-gallery {
    display: grid;
    gap: 20px;
}

.project-shot.large img {
    height: clamp(220px, 42vw, 360px);
}

.project-meta {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.project-meta .label {
    color: var(--muted);
    font-size: 0.9rem;
}

.project-meta .value {
    font-weight: 600;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.project-foot.end {
    justify-content: flex-end;
}

.project-foot a {
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}

.contact {
    text-align: center;
    background: rgba(12, 12, 12, 0.7);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.contact-btn {
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--btn-bg, #111111);
    color: var(--btn-fg, #ffffff);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.contact-icon svg,
.contact-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.intro {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-inner {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-action {
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.intro-action::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    width: 20px;
    height: 20px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateX(-50%) rotate(-45deg);
    opacity: 0.8;
    animation: nudge 1.2s ease-in-out infinite;
}

.intro-action.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.intro-action:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
}

@keyframes nudge {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-45deg); }
    50% { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }
}

.audio-toggle {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 10000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.audio-toggle:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
}

.audio-toggle .icon-off {
    display: none;
}

.audio-toggle.muted .icon-on {
    display: none;
}

.audio-toggle.muted .icon-off {
    display: inline-flex;
}

.intro-line {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    min-height: 1.2em;
}

.intro-caret {
    width: 6px;
    height: 1.4em;
    background: #ffffff;
    animation: blink 0.9s steps(1) infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .profile-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 20px;
    }

    .profile-photo {
        margin: 0 auto;
        max-width: 180px;
    }

    .meta,
    .cta-row {
        justify-content: center;
    }

    .section-head.left {
        text-align: center;
    }

    .project-layout {
        grid-template-columns: 1fr;
    }

    .project-side {
        position: static;
    }
}

@media (max-width: 720px) {
    .page {
        padding: 50px 14px 80px;
    }

    .project-foot {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .card {
        padding: 18px;
        border-radius: 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-row {
        width: 100%;
    }

    .project-shot.large img {
        height: 220px;
    }

    .profile-photo {
        max-width: 160px;
    }

.about {
    font-size: 0.98rem;
}
}

.vip-subtitle {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.badge-animate img {
    animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(251, 191, 36, 0.0); }
    50% { transform: scale(1.08); box-shadow: 0 0 18px rgba(251, 191, 36, 0.35); }
}

.vip-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.vip-bg-gradient {
    background: linear-gradient(135deg, var(--vip-bg1), var(--vip-bg2));
}

.vip-bg-pattern {
    background-color: var(--vip-bg1);
    background-image:
        radial-gradient(circle at 10px 10px, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 30px 30px, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.vip-bg-grain {
    background-color: var(--vip-bg1);
    background-image:
        radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.6;
}

.intro-vip .intro-line {
    text-shadow: 0 0 18px rgba(59, 130, 246, 0.4);
}

.intro-glow .intro-line {
    animation: introGlow 2.4s ease-in-out infinite;
}

.intro-slide .intro-line {
    animation: introSlide 1.8s ease-in-out infinite;
}

.intro-obsidian {
    background: #040404;
}

.intro-obsidian .intro-line {
    color: #f8fafc;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro-obsidian .intro-action {
    border-color: rgba(248, 250, 252, 0.65);
    color: #f8fafc;
}

.intro-obsidian .intro-action::before {
    border-left-color: #f8fafc;
    border-bottom-color: #f8fafc;
}

.intro-pulse {
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.2), transparent 55%),
        #06070f;
}

.intro-pulse .intro-line {
    color: #e0f2ff;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.6), 0 0 32px rgba(129, 140, 248, 0.4);
}

.intro-pulse .intro-caret {
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.intro-pulse .intro-action {
    border-color: rgba(56, 189, 248, 0.8);
    color: #e0f2ff;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.intro-pulse .intro-action::before {
    border-left-color: #38bdf8;
    border-bottom-color: #38bdf8;
}

.intro-terminal {
    background-color: #050a06;
    background-image: linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 100% 6px;
}

.intro-terminal .intro-line {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    color: #4ade80;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
    letter-spacing: 0.02em;
}

.intro-terminal .intro-caret {
    background: #4ade80;
}

.intro-terminal .intro-action {
    border-color: rgba(74, 222, 128, 0.7);
    color: #a7f3d0;
}

.intro-terminal .intro-action::before {
    border-left-color: #4ade80;
    border-bottom-color: #4ade80;
}

.intro-mono {
    background: #0f0f0d;
}

.intro-mono .intro-line {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: #f8f2e7;
    letter-spacing: 0.06em;
}

.intro-mono .intro-caret {
    background: #f8f2e7;
}

.intro-mono .intro-action {
    border-color: rgba(248, 242, 231, 0.6);
    color: #f8f2e7;
}

.intro-mono .intro-action::before {
    border-left-color: #f8f2e7;
    border-bottom-color: #f8f2e7;
}

.intro-aurora {
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.22), transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.2), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.2), transparent 45%),
        #070a12;
}

.intro-aurora .intro-line {
    color: #e5f4ff;
    text-shadow: 0 0 24px rgba(129, 140, 248, 0.35);
}

.intro-aurora .intro-caret {
    background: #a5b4fc;
}

.intro-aurora .intro-action {
    border-color: rgba(165, 180, 252, 0.6);
    color: #e5f4ff;
}

.intro-aurora .intro-action::before {
    border-left-color: #a5b4fc;
    border-bottom-color: #a5b4fc;
}

.intro-studio {
    background: #0b0b12;
    position: relative;
    overflow: hidden;
}

.intro-studio::before,
.intro-studio::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.6;
    z-index: 0;
}

.intro-studio::before {
    top: -80px;
    left: -60px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.65), transparent 60%);
}

.intro-studio::after {
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle at 60% 40%, rgba(244, 114, 182, 0.6), transparent 60%);
}

.intro-studio .intro-inner,
.intro-studio .intro-action,
.intro-studio .intro-line,
.intro-studio .intro-caret {
    position: relative;
    z-index: 1;
}

.intro-studio .intro-line {
    color: #f9fafb;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing: 0.04em;
}

.intro-studio .intro-caret {
    background: #f472b6;
}

.intro-studio .intro-action {
    border-color: rgba(244, 114, 182, 0.7);
    color: #f9fafb;
}

.intro-studio .intro-action::before {
    border-left-color: #f472b6;
    border-bottom-color: #f472b6;
}

@keyframes introGlow {
    0%, 100% { opacity: 0.9; letter-spacing: 0.02em; }
    50% { opacity: 1; letter-spacing: 0.08em; }
}

@keyframes introSlide {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-6px); opacity: 1; }
}

.project.featured {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.12);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.project.large {
    grid-column: span 2;
}

@media (max-width: 760px) {
    .project.large {
        grid-column: span 1;
    }
}
/* SADECE #projects içindeki proje kartları */
#projects .card.project h3,
#projects .card.project p,
#projects .card.project .tag-list,
#projects .card.project .project-foot {
  text-align: center;
}

#projects .card.project .tag-list {
  justify-content: center;
}

#projects .card.project .project-foot {
  justify-content: center;
}