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;
}

h1 {
    margin-bottom: 2rem;
}

#generate-loadout {
    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-loadout: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;
}

.country-link {
    color: #66cc66;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 2px solid #66cc66;
    transition: all 0.3s ease;
}

.country-link:hover {
    color: #88e888;
    border-bottom-color: #88e888;
}

.advisory-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.level-1 {
    background-color: #4CAF50;
    color: #fff;
}

.level-2 {
    background-color: #FFC107;
    color: #000;
}

.level-3 {
    background-color: #FF9800;
    color: #fff;
}

.level-4 {
    background-color: #F44336;
    color: #fff;
}

.status-level-1 {
    color: #4CAF50;
    font-weight: bold;
}

.status-level-2 {
    color: #FFC107;
    font-weight: bold;
}

.status-level-3 {
    color: #FF9800;
    font-weight: bold;
}

.status-level-4 {
    color: #F44336;
    font-weight: bold;
}

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

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

.about-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.about-content li {
    margin: 0.5rem 0;
}

.advisory-info {
    margin: 1.5rem 0;
}

.advisory-info h4 {
    color: #66cc66;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.advisory-info p {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.about-section {
    margin-top: 3rem;
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
}

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

.main-container {
    width: 90%;
    max-width: 1200px;
}

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

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

@media (max-width: 768px) {
    .about-content {
        padding: 0.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}
