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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent: #f59e0b;
    --success: #10b981;
    --border-color: #334155;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.highlight-text {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--bg-darker);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Experience Section */
.experience {
    background-color: var(--bg-dark);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.experience-role {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    background-color: var(--bg-darker);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.featured-project {
    border: 2px solid var(--accent);
    background-color: var(--bg-card);
}

.featured-project:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.project-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    min-height: 3rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
}

.view-more {
    text-align: center;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Code Showcase Section */
.code-showcase {
    background-color: var(--bg-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.snippet-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.snippets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.snippet-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.snippet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.snippet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.snippet-info {
    flex: 1;
    min-width: 0;
}

.snippet-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.snippet-title .language-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.snippet-repo {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.snippet-repo a {
    color: var(--primary-color);
    text-decoration: none;
}

.snippet-repo a:hover {
    text-decoration: underline;
}

.snippet-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.snippet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    flex-shrink: 0;
}

.snippet-badge.private {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

.snippet-code {
    position: relative;
    max-height: 300px;
    overflow: auto;
}

.snippet-code pre {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-x: auto;
}

.snippet-code code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
}

.snippet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.snippet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.snippet-link:hover {
    color: var(--secondary-color);
}

.snippet-link svg {
    width: 14px;
    height: 14px;
}

/* Demo Panel Styles */
.demo-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    background-color: transparent;
    color: var(--success);
    border: 1px solid var(--success);
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: auto;
}

.demo-toggle-btn:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.demo-toggle-btn.active {
    background-color: var(--success);
    color: white;
}

.demo-panel {
    border-top: 1px solid var(--border-color);
    background-color: rgba(16, 185, 129, 0.03);
}

.demo-header {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.demo-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-content {
    padding: 1rem 1.25rem;
}

.demo-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-key {
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 60px;
}

.demo-value {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

/* API Demo */
.demo-request {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
}

.demo-method {
    padding: 0.25rem 0.5rem;
    border-radius: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-method-get { background-color: rgba(16, 185, 129, 0.2); color: var(--success); }
.demo-method-post { background-color: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.demo-method-put { background-color: rgba(245, 158, 11, 0.2); color: var(--accent); }
.demo-method-delete { background-color: rgba(239, 68, 68, 0.2); color: #ef4444; }
.demo-method-patch { background-color: rgba(168, 85, 247, 0.2); color: #a855f7; }

.demo-route {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.demo-arrow {
    display: flex;
    justify-content: center;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

.demo-response {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
}

.demo-status {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
}

.demo-json {
    margin: 0;
    padding: 0.5rem;
    background-color: var(--bg-card);
    border-radius: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

/* React Component Demo */
.demo-visual {
    margin-top: 0.75rem;
}

.demo-component-mock {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    overflow: hidden;
}

.demo-component-header {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-darker);
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.demo-component-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.demo-loading-bar {
    width: 60%;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 3px;
    animation: demoPulse 1.5s ease-in-out infinite;
}

@keyframes demoPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Database Demo */
.demo-db-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
}

.demo-db-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.demo-db-icon {
    padding: 0.5rem;
    background-color: var(--bg-card);
    border-radius: 0.25rem;
    color: var(--primary-color);
}

.demo-db-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.demo-db-arrow {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.demo-db-operation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
}

/* Function Demo */
.demo-func-call {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
    font-size: 0.85rem;
}

.demo-func-call code {
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
}

.demo-func-flow {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.demo-func-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.demo-func-num {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darker);
    border-radius: 50%;
    font-size: 0.7rem;
    color: var(--text-primary);
}

.demo-async-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    border-radius: 0.2rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* WebSocket Demo */
.demo-ws-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--bg-darker);
    border-radius: 0.25rem;
}

.demo-ws-client,
.demo-ws-server {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
}

.demo-ws-client span,
.demo-ws-server span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.demo-ws-arrows {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.demo-ws-arrow {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.demo-ws-events {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.demo-ws-event {
    padding: 0.2rem 0.5rem;
    background-color: var(--bg-darker);
    border-radius: 0.2rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

/* Class Demo */
.demo-class {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    overflow: hidden;
}

.demo-class-header {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-darker);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
}

.demo-class-body {
    padding: 0.75rem;
}

.demo-class-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.demo-class-usage {
    padding: 0.5rem;
    background-color: var(--bg-darker);
    border-radius: 0.2rem;
}

.demo-class-usage code {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.snippets-loading,
.snippets-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.snippets-empty code {
    background-color: var(--bg-card);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

/* Scrollbar styling for code blocks */
.snippet-code::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.snippet-code::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

.snippet-code::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.snippet-code::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

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

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

    .snippet-code pre {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
