/* Base styles and light theme */
:root {
    --bg-color: #faf9f6; 
    --card-bg: #ffffff;
    --text-color: #2c2c2c;
    --text-muted: #5a5a5a;
    --accent-color: #7a2b4b; /* Mulberry */
    --button-bg: #eadddb; /* Soft warm taupe */
    --hover-text: #faf9f6;
    --border-color: #e0e0e0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Lora", serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Layout container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 4rem 2rem 2rem 2rem;
}

/* Typography */
.name {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    text-align: center;
}

/* Card Stack Layout */
.card-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 480px; /* Widened slightly to accommodate text */
}

/* Individual Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* Buttons */
.button {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    text-align: center;
    color: var(--text-color);
    background-color: var(--button-bg);
    border: 1px solid var(--button-bg);
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.button:hover, .button:focus {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--hover-text);
    outline: none;
}

/* Card Text Details */
.card-details {
    font-size: 0.95rem;
    text-align: center;
}

.description {
    margin-bottom: 0.5rem;
}

.credits {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
footer {
    padding: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    text-align: center;
    width: 100%;
}