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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
    --border: #334155;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.nav {
    margin-bottom: 3rem;
}

.nav-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.nav-back:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.content {
    animation: fadeIn 0.5s ease;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

h3 {
    font-size: 1.25rem;
    color: var(--text);
}

.bio {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    gap: 0.75rem;
    min-height: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-color: var(--primary);
    color: var(--text);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
    border-color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(109, 40, 217, 0.1));
    border-color: var(--secondary);
    color: var(--text);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.2));
    border-color: var(--secondary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.2);
}

.btn-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.section {
    margin-bottom: 3rem;
}

.section ul {
    list-style: none;
    margin-left: 0;
}

.section li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.section li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.projects {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.project-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.project-tech {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.credits-list {
    display: grid;
    gap: 1.5rem;
}

.credit-item {
    background-color: var(--surface);
    border-left: 3px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-left-color: var(--primary);
}

.credit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.credit-project {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.credit-description {
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .buttons {
        grid-template-columns: 1fr;
    }

    .btn {
        min-height: 150px;
        padding: 2rem;
    }
}
