html, body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f5f5f5;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1 {
    color: #4b2e83;
    border-bottom: 3px solid #b7a57a;
    padding-bottom: 0.5rem;
}

.week-list {
    list-style: none;
    padding: 0;
}

.week-list li {
    margin: 1rem 0;
}

.week-list a {
    display: block;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #4b2e83;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.week-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #4b2e83;
    color: #b7a57a;
}

.week-list a span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    margin-top: 0.25rem;
}

.week-list a:hover span {
    color: #d4c9a0;
}

.back-link {
    color: #4b2e83;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

footer a {
    color: #4b2e83;
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Screenshots section */
.screenshots figure {
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.screenshots img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.screenshots figcaption {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

/* Landing page styles */
.landing .hero {
    text-align: center;
    padding: 2rem 0 1rem;
}

.landing .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    border-bottom: none;
    padding-bottom: 0;
}

.landing .subtitle {
    font-size: 1.3rem;
    color: #4b2e83;
    margin: 0.25rem 0;
    font-weight: 500;
}

.landing .quarter {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #b7a57a;
}

.landing section {
    margin: 2rem 0;
}

.landing section h2 {
    color: #4b2e83;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing .intro p {
    line-height: 1.6;
    color: #444;
}

/* Skill tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #4b2e83;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Author section */
.landing .author {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.landing .author p {
    margin: 0.25rem 0;
    color: #444;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #4b2e83;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid #4b2e83;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-link:hover {
    background: #4b2e83;
    color: white;
}

/* Landing footer */
.landing footer {
    border-top: none;
    padding-top: 1rem;
}

.landing footer p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}
