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

body {
    font-family: 'Noto Sans', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.2rem;
}

.stat {
    display: flex;
    gap: 10px;
}

.label {
    font-weight: 600;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.gather-section {
    text-align: center;
}

.action-btn {
    background: #2c5f2d;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}

.action-btn:hover {
    background: #3a7a3c;
}

.action-btn:active {
    transform: scale(0.95);
}

.hint {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

.recipes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.recipe-card {
    border: 2px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.recipe-card:hover {
    border-color: #2c5f2d;
}

.recipe-card h3 {
    margin-bottom: 10px;
}

.recipe-card p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.craft-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: #2c5f2d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.craft-btn:hover {
    background: #3a7a3c;
}

.craft-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.inventory-item {
    border: 2px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.inventory-item h4 {
    margin-bottom: 10px;
}

.sell-btn {
    width: 100%;
    padding: 8px;
    background: #2c5f2d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.sell-btn:hover {
    background: #3a7a3c;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2c5f2d;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .recipes {
        grid-template-columns: 1fr;
    }
}

.achievements-section,
.goals-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.achievement-card {
    border: 2px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.achievement-card.locked {
    opacity: 0.4;
    filter: grayscale(100%);
}

.achievement-card.unlocked {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.achievement-emoji {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.achievement-card h4 {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.achievement-card p {
    font-size: 0.85rem;
    color: #666;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.goal-card {
    border: 2px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.goal-card.completed {
    border-color: #2c5f2d;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.goal-card h4 {
    margin: 0;
}

.checkmark {
    color: #2c5f2d;
    font-size: 1.5rem;
    font-weight: bold;
}

.goal-card p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0 5px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5f2d 0%, #3a7a3c 100%);
    transition: width 0.5s ease;
}

.progress-text {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
}

