* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    background: #07070c;
}

body {
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.projects-page {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    padding: 70px 80px 110px 80px;
    gap: 60px;
    background: radial-gradient(circle at 75% 20%, rgba(147,51,234,.28), transparent 35%), radial-gradient(circle at 20% 85%, rgba(217,70,239,.12), transparent 30%), #07070c;
}

.left-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

    .left-panel h1 {
        font-size: 68px;
        color: #d8b4fe;
        margin-bottom: 18px;
        letter-spacing: 3px;
        text-shadow: 0 0 12px #9333ea, 0 0 34px rgba(168,85,247,.75);
    }
.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 20;
    padding: 12px 22px;
    color: white;
    text-decoration: none;
    border: 2px solid #b46cff;
    background: rgba(20,10,40,0.45);
    box-shadow: 0 0 10px #b46cff;
    transition: 0.25s;
}

    .back-home:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px #d89cff;
    }
@media (max-width: 768px) {

    .back-home {
        top: 50px;
        right: 18px;
        left: auto;
        padding: 8px 14px;
        font-size: 13px;
        letter-spacing: 1px;
    }
}
.project-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 370px;
    padding: 28px 30px;
    background: rgba(17,17,27,.9);
    border: 2px solid #a855f7;
    border-radius: 24px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 0 12px rgba(168,85,247,.55), 0 0 32px rgba(168,85,247,.35), inset 0 0 14px rgba(168,85,247,.18);
}

    .project-btn:hover {
        transform: translateX(14px) scale(1.04);
        background: #221433;
        border-color: #d946ef;
        box-shadow: 0 0 22px #c084fc, 0 0 48px rgba(217,70,239,.85), 0 0 90px rgba(217,70,239,.35), inset 0 0 18px rgba(217,70,239,.22);
    }

    .project-btn:active {
        transform: scale(.98);
    }

.right-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 70px;
}

#character {
    width: 760px;
    max-width: 100%;
    image-rendering: pixelated;
    transform: translateY(-60px);
    filter: drop-shadow(0 0 24px rgba(168,85,247,.5)) drop-shadow(0 0 70px rgba(168,85,247,.22));
}

/* LOADER - başlangıçta tamamen kapalı */

.loader-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.48);
    backdrop-filter: blur(12px);
    z-index: 999;
}

    .loader-overlay.active {
        display: flex;
    }

.loader {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 7px solid rgba(255,255,255,.13);
    border-top: 7px solid #c084fc;
    animation: spin .8s linear infinite;
    box-shadow: 0 0 18px #9333ea, 0 0 45px rgba(168,85,247,.9);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media(max-width:900px) {
    body {
        overflow: auto;
    }

    .projects-page {
        height: auto;
        min-height: 100vh;
        grid-template-columns: 1fr;
        padding: 40px 24px 90px 24px;
    }

    .left-panel h1 {
        font-size: 44px;
    }

    .project-btn {
        width: 100%;
        font-size: 22px;
        padding: 22px;
    }

    .right-panel {
        padding-bottom: 40px;
    }

    #character {
        width: 100%;
    }

}
