body {
    background-color: #222222;
    color: #66cc66;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.back-button {
    color: #66cc66;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 800px;
    width: 90%;
}

h1 {
    margin-bottom: 2rem;
}

#generate-bake {
    background-color: #66cc66;
    color: #222222;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-bottom: 2rem;
    width: auto;
    height: auto;
}

#generate-bake:hover {
    background-color: #88e888;
}

.section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1.5rem;
    text-align: left;
}

.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

h2 {
    margin: 0;
    text-align: left;
}

.item-container {
    display: flex;
    justify-content: flex-start;
    min-height: 2em;
    padding-left: 10px;
}

.reroll-btn {
    background: none;
    color: #66cc66;
    border: 1px solid #66cc66;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.reroll-btn:hover {
    background-color: #444;
    border-color: #888;
}

a {
    color: #66cc66;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #88e888;
    text-decoration: underline;
}

.coffee-link {
    text-align: center;
    margin-top: 2rem;
}

.about-content {
    text-align: center;
    padding: 1rem;
}

.about-section {
    margin-top: 3rem;
}

.about-section h2 {
    text-align: center;
}

.bake-item {
    text-align: left;
    line-height: 1.6;
}

.bake-item h3 {
    color: #88e888;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.bake-item p {
    margin: 0.5rem 0;
}

.bake-item .description {
    font-style: italic;
    margin-bottom: 1rem;
}

.bake-item .category {
    color: #aaaaaa;
    font-size: 0.9em;
}

.bake-item .info-link {
    margin-top: 1rem;
    display: block;
}

.footer {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.main-container {
    max-width: 800px;
    width: 90%;
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.category-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0.5rem;
    }
    
    .container {
        width: 95%;
        padding: 1rem;
    }
    
    .main-container {
        width: 95%;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}
