.particle-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.category-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.category-header {
    background: #4caf50;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
}

.particle-list {
    padding: 1rem;
}

.particle-card {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.particle-info {
    padding: 1rem;
    background: #f1f8e9;
}

.particle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.particle {
    font-size: 1.5rem;
    color: #2e7d32;
}

.level-tag {
    background: #4caf50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.meaning {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.explanation {
    color: #666;
    font-size: 0.9rem;
}

.examples {
    padding: 1rem;
    background: white;
}

.example {
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.example:hover {
    background: #f5f5f5;
}

.sentence {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.example-meaning {
    color: #666;
}

@media (max-width: 768px) {
    .particle-container {
        padding: 1rem;
    }

    .particle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.main-usage {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.usage-pattern {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pattern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.word-category {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.word-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.word-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.word-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}

.word-info {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}

.word-info:hover {
    background-color: #f5f5f5;
}

.word {
    font-size: 1.2rem;
    color: #2e7d32;
    margin-bottom: 0.25rem;
}

.word-meaning {
    color: #666;
    font-size: 0.9rem;
}

.word-example {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.word-example:hover {
    background-color: #f5f5f5;
}

.sentence {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.meaning {
    color: #666;
}

.example-content {
    flex-grow: 1;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.example-content:hover {
    background-color: #f5f5f5;
}

.play-button {
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: 0.5rem;
}

.play-button:hover {
    background: #388e3c;
}

.play-icon {
    font-size: 12px;
    line-height: 1;
}

.grammar-item {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.notes ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.notes li {
    margin-bottom: 0.5rem;
    color: #666;
}

@media (max-width: 768px) {
    .word-list {
        grid-template-columns: 1fr;
    }

    .word-header,
    .word-example {
        flex-direction: row;
        align-items: center;
    }

    .word-info,
    .example-content {
        flex-grow: 1;
    }

    .play-button {
        flex-shrink: 0;
    }
} 