* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f0ec;
    color: #2d2a32;
    line-height: 1.7;
    font-family: "Inter", sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
      radial-gradient(ellipse at 20% 50%, rgba(192,132,252,0.12) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 20%, rgba(251,146,60,0.10) 0%, transparent 50%),
      radial-gradient(ellipse at 60% 80%, rgba(56,189,248,0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 800px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border-radius: 16px;
    z-index: 1000;
    padding: 14px 28px;
    display: flex;
    align-items: center;
}

.back-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-link:hover {
    color: #6d28d9;
}

.back-link:before {
    content: "\2190";
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 1;
}

.project-header {
    text-align: center;
    margin-bottom: 48px;
}

.project-header h1 {
    font-family: "DM Serif Display", serif;
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #2d2a32;
    font-weight: 400;
    letter-spacing: -0.02em;
    padding: 48px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.project-meta {
    color: #7a7487;
    font-size: 0.9rem;
    margin-top: 12px;
}

.project-content {
    font-size: 1.05rem;
    color: #5a5662;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.project-content h2 {
    font-family: "DM Serif Display", serif;
    font-size: 1.6rem;
    color: #2d2a32;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 400;
}

.project-content h2:first-child {
    margin-top: 0;
}

.project-content h3 {
    font-family: "DM Serif Display", serif;
    font-size: 1.3rem;
    color: #3d3a44;
    margin-top: 30px;
    font-weight: 400;
}

.project-content img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 28px 0;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.project-content p {
    margin-bottom: 1.5em;
    line-height: 1.9;
}

.project-content a {
    color: #7c3aed;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
}

.project-content a:hover {
    color: #6d28d9;
    border-bottom-color: #6d28d9;
}

.project-content ul {
    list-style: none;
    padding-left: 0;
}

.project-content li {
    margin-bottom: 0.6em;
    padding-left: 20px;
    position: relative;
    color: #5a5662;
}

.project-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
}

footer {
    padding: 40px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(124,58,237,0.08);
}

footer p {
    color: #9a94a5;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 18px;
        width: calc(100% - 32px);
        top: 10px;
    }

    .container {
        padding: 100px 20px 40px;
    }

    .project-header h1 {
        font-size: 2rem;
        padding: 36px 20px;
    }

    .project-content {
        padding: 24px;
    }
}