* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    line-height: 1.6;
    color: #0f0f0f;
    background-image: url("flowerbackground.png");
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 80px;
}

.content-container {
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 20px;
}

.container {
    width: 100%;
    margin: 0;
    padding: 2rem 0;
    text-align: center;
}

.page-container {
    background: #fafafa;
    min-height: 100vh;
    padding: 2rem 0;
}

.page-container .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

/* Landing Page Styles */
header h1 {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
    padding: 0 2rem;
    letter-spacing: -2px;
}

header p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    padding: 0 2rem;
    font-weight: 300;
}

/* Bouncing Cat Animation */
.cat-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 500;
    overflow: hidden;
}

.cat {
    position: absolute;
    width: 60px;
    height: 60px;
    cursor: pointer;
    pointer-events: auto;
}

.cat-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

/* Points Counter */
.points-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(15, 15, 15, 0.9);
    color: #fafafa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    pointer-events: auto;
    border: 1px solid #333;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.points-label {
    opacity: 0.8;
}

.points-value {
    color: #fafafa;
    font-weight: 600;
}

/* Bouncing physics animation */
@keyframes catBounce {
    0% {
        left: 10px;
        top: 10px;
        transform: rotate(0deg);
    }
    12.5% {
        left: calc(100vw - 70px);
        top: 20%;
        transform: rotate(45deg);
    }
    25% {
        left: calc(100vw - 70px);
        top: calc(100vh - 160px);
        transform: rotate(90deg);
    }
    37.5% {
        left: 60%;
        top: calc(100vh - 160px);
        transform: rotate(135deg);
    }
    50% {
        left: 10px;
        top: 70%;
        transform: rotate(180deg);
    }
    62.5% {
        left: 10px;
        top: 30%;
        transform: rotate(225deg);
    }
    75% {
        left: 40%;
        top: 10px;
        transform: rotate(270deg);
    }
    87.5% {
        left: 80%;
        top: 40%;
        transform: rotate(315deg);
    }
    100% {
        left: 10px;
        top: 10px;
        transform: rotate(360deg);
    }
}

/* Navigation Buttons  */
.nav-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    width: 100vw;
    gap: 1px;
    z-index: 1000;
    background: #0f0f0f;
}

.nav-btn {
    flex: 1;
    height: 80px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
}

.nav-btn.resume-bg {
    background: #0f0f0f;
}

.nav-btn.projects-bg {
    background: #0f0f0f;
}

.nav-btn.about-bg {
    background: #0f0f0f;
}

.nav-btn span {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 400;
    color: #fafafa;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.nav-btn:hover {
    background: #333;
}

.nav-btn:active {
    background: #555;
}

/* Back Button */
.back-btn {
    background: none;
    border: 1px solid #0f0f0f;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #0f0f0f;
    margin-bottom: 3rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.back-btn:hover {
    background: #0f0f0f;
    color: #fafafa;
}

/* Section Headers */
h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #0f0f0f;
    position: relative;
    letter-spacing: -1px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #0f0f0f;
}

/* Resume Section */
.resume-content {
    display: grid;
    gap: 2rem;
}

.resume-section {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.resume-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #0f0f0f;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.resume-item {
    margin-bottom: 2rem;
    padding: 0;
    background: none;
    border: none;
    border-left: 2px solid #0f0f0f;
    padding-left: 1rem;
    transition: none;
}

.resume-item:hover {
    transform: none;
}

.resume-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #0f0f0f;
    font-weight: 500;
}

.company {
    color: #666;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.resume-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill {
    background: none;
    color: #0f0f0f;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ddd;
    font-size: 0.8rem;
    font-weight: 400;
    box-shadow: none;
    transition: none;
}

.skill:hover {
    transform: none;
    background: #f0f0f0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.project-card {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    transition: none;
    position: relative;
    overflow: visible;
    border-left: 2px solid #0f0f0f;
    padding-left: 1rem;
}

.project-card::before {
    display: none;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #0f0f0f;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.project-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    background: none;
    color: #0f0f0f;
    text-decoration: underline;
    font-weight: 400;
    padding: 0;
    border: none;
    transition: color 0.2s ease;
    box-shadow: none;
    font-size: 0.9rem;
}

.project-links a:hover {
    transform: none;
    box-shadow: none;
    color: #666;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #0f0f0f;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-links a {
    color: #0f0f0f;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.contact-links a:hover {
    color: #666;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 80px;
    }

    .container {
        padding: 1rem 0;
    }

    .page-container .container {
        padding: 0 1rem;
    }

    header h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    header p {
        padding: 0 1rem;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        position: fixed;
        bottom: 0;
    }

    .nav-btn {
        height: 60px;
    }

    .nav-btn span {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .resume-section {
        padding: 0;
    }

    .resume-item {
        padding-left: 0.75rem;
    }

    .project-card {
        padding-left: 0.75rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}